/*
Theme Name: AMR Controls
Theme URI: https://amrcontrols.pl
Author: AMR Controls
Description: Produkcyjny motyw AMR Controls — rozbudowana oferta techniczna, maszyny, Siemens PLC/HMI, robotyka, elektryka, bezpieczeństwo i serwis.
Version: 3.3.5
Requires PHP: 7.4
Text Domain: amr-controls
*/


:root{
  --bg-0:#12151A; --bg-1:#181C23; --bg-2:#1F242C;
  --line:rgba(255,255,255,0.09); --line-strong:rgba(255,255,255,0.18);
  --amber:#FFB020; --amber-dim:#8A5F16;
  --blue:#4FA3FF; --blue-dim:#1E3A5C;
  --text-0:#F1F3F6; --text-1:#AEB6C2; --text-2:#8D97A5;
}
*{box-sizing:border-box;margin:0;padding:0;}
body{background:var(--bg-0);color:var(--text-0);font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased;}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px;}
a{color:inherit;text-decoration:none;}
.mono{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;}
img{max-width:100%;display:block;}

header{position:absolute;top:0;left:0;right:0;z-index:30;background:linear-gradient(180deg, rgba(8,10,13,0.6) 0%, rgba(8,10,13,0) 100%);}
header.solid{position:relative;background:var(--bg-0);border-bottom:1px solid var(--line);}
.nav{display:flex;align-items:center;justify-content:space-between;padding:22px 32px;gap:32px;}
.logo img{height:26px;width:auto;}
nav.links{display:flex;gap:34px;font-size:14.5px;color:var(--text-1);}
nav.links a{position:relative;padding-bottom:4px;}
nav.links a:hover{color:var(--text-0);}
nav.links a.active{color:var(--text-0);}
nav.links a.active::after{content:'';position:absolute;left:0;right:0;bottom:-6px;height:2px;background:var(--amber);}
.cta-btn{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;font-weight:500;font-size:14px;padding:10px 22px;border:1px solid var(--amber);color:var(--amber);letter-spacing:0.2px;transition:all .15s ease;white-space:nowrap;display:inline-block;}
.cta-btn:hover{background:var(--amber);color:#241800;}
.cta-btn.solid{background:var(--amber);color:#241800;border-color:var(--amber);}
.cta-btn.solid:hover{background:#ffc247;}
.cta-btn.ghost{border-color:rgba(255,255,255,0.4);color:var(--text-0);}
.cta-btn.ghost.dark{border-color:var(--line-strong);color:var(--text-0);}

/* full hero (index only) */
.hero-full{position:relative;min-height:100vh;display:flex;align-items:flex-end;overflow:hidden;}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center 40%;filter:saturate(0.92) contrast(1.05);}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg, rgba(14,16,20,0.62) 0%, rgba(14,16,20,0.22) 32%, rgba(14,16,20,0.55) 68%, rgba(12,14,18,0.97) 100%);}
.hero-grid-overlay{position:absolute;inset:0;pointer-events:none;opacity:0.5;background-image:linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);background-size:100% 48px, 48px 100%;mask-image:linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 55%);}
.hero-corner{position:absolute;width:26px;height:26px;border:2px solid var(--amber);z-index:5;opacity:0.85;}
.hero-corner.tl{top:96px;left:32px;border-right:none;border-bottom:none;}
.hero-corner.tr{top:96px;right:32px;border-left:none;border-bottom:none;}
.hero-corner.bl{bottom:130px;left:32px;border-right:none;border-top:none;}
.hero-corner.br{bottom:130px;right:32px;border-left:none;border-top:none;}
.hero-content{position:relative;z-index:10;width:100%;padding-top:220px;padding-bottom:56px;}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:12.5px;color:var(--blue);letter-spacing:1px;text-transform:uppercase;margin-bottom:22px;}
.eyebrow::before{content:'';width:7px;height:7px;background:var(--blue);display:inline-block;}
h1{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;font-weight:600;font-size:52px;line-height:1.1;letter-spacing:-0.5px;margin-bottom:22px;max-width:820px;text-shadow:0 2px 24px rgba(0,0,0,0.35);}
h1 .accent{color:var(--amber);}
.hero-sub{font-size:17px;color:var(--text-1);max-width:520px;margin-bottom:34px;}
.hero-actions{display:flex;gap:14px;}
.hero-actions .cta-btn{font-size:15px;padding:13px 26px;}
.hero-stat-bar{position:relative;z-index:12;background:rgba(20,23,29,0.72);backdrop-filter:blur(10px);border-top:1px solid var(--line-strong);}
.hero-stats{display:flex;padding:22px 0;}
.stat{flex:1;padding:0 24px;border-right:1px solid var(--line);}
.stat:first-child{padding-left:0;}
.stat:last-child{border-right:none;}
.stat-num{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:22px;font-weight:500;color:var(--amber);}
.stat-label{font-size:12.5px;color:var(--text-2);margin-top:4px;}

/* page banner (subpages) */
.page-banner{position:relative;min-height:340px;display:flex;align-items:center;overflow:hidden;border-bottom:1px solid var(--line);}
.page-banner .hero-bg{filter:saturate(0.7) contrast(1.05) brightness(0.8);}
.page-banner .hero-overlay{background:linear-gradient(180deg, rgba(14,16,20,0.75) 0%, rgba(12,14,18,0.9) 100%);}
.page-banner-content{position:relative;z-index:10;width:100%;padding-top:110px;padding-bottom:36px;}
.page-banner h1{font-size:38px;margin-bottom:10px;}
.page-banner p{color:var(--text-1);font-size:15px;max-width:560px;}

section{padding:80px 0;}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:48px;gap:24px;flex-wrap:wrap;}
.section-eyebrow{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:12px;color:var(--blue);letter-spacing:1px;text-transform:uppercase;margin-bottom:12px;}
h2{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;font-weight:600;font-size:30px;letter-spacing:-0.3px;max-width:620px;}
h3{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;font-weight:600;font-size:19px;margin-bottom:12px;}
.section-note{font-size:14.5px;color:var(--text-1);max-width:300px;}
.body-text{font-size:15px;color:var(--text-1);max-width:760px;}
.body-text p{margin-bottom:16px;}
.body-text strong{color:var(--text-0);font-weight:600;}

.services{border-bottom:1px solid var(--line);}
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);}
.svc-card{background:var(--bg-0);padding:32px 28px;transition:background .15s ease;position:relative;}
.svc-card:hover{background:var(--bg-1);}
.svc-card:hover::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:var(--amber);}
.svc-num{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:12px;color:var(--text-2);margin-bottom:16px;}
.svc-card h3{font-size:17px;margin-bottom:10px;}
.svc-card p{font-size:14px;color:var(--text-1);}

.process-list{position:relative;margin-top:24px;}
.process-item{display:grid;grid-template-columns:64px 1fr;gap:24px;padding:28px 0;border-top:1px solid var(--line);position:relative;}
.process-item:last-child{border-bottom:1px solid var(--line);}
.p-num{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:14px;color:var(--amber);display:flex;align-items:flex-start;padding-top:2px;}
.p-num::before{content:'';display:inline-block;width:5px;height:5px;background:var(--amber);margin-right:8px;margin-top:7px;flex-shrink:0;}
.p-body h4{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;font-size:17px;font-weight:600;margin-bottom:6px;}
.p-body p{font-size:14px;color:var(--text-1);max-width:640px;}

.band{background:var(--bg-1);border-top:1px solid var(--amber-dim);border-bottom:1px solid var(--line);padding:64px 0;text-align:center;}
.band h2{margin:0 auto 14px;max-width:560px;text-align:center;}
.band p{color:var(--text-1);max-width:440px;margin:0 auto 30px;font-size:15px;}

footer{padding:48px 0 32px;}
.foot-grid{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:32px;margin-bottom:24px;}
.foot-col p, .foot-col a{font-size:13.5px;color:var(--text-1);display:block;margin-bottom:8px;}
.foot-col .foot-title{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:11.5px;color:var(--text-2);text-transform:uppercase;letter-spacing:0.8px;margin-bottom:14px;}
.foot-bottom{display:flex;justify-content:space-between;font-size:12.5px;color:var(--text-2);flex-wrap:wrap;gap:8px;}
/* Footer brand: preserve the original logo proportions. */
.foot-logo{display:flex;align-items:center;min-height:28px;margin-bottom:14px;}
.foot-logo img{display:block!important;height:24px!important;width:auto!important;max-width:180px!important;max-height:24px!important;object-fit:contain!important;margin:0!important;}

/* spec grid (O nas certyfikaty) */
.spec-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line);border:1px solid var(--line);margin-top:8px;}
.spec-card{background:var(--bg-0);padding:26px 28px;}
.spec-card .spec-tag{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:11.5px;color:var(--blue);text-transform:uppercase;letter-spacing:0.6px;margin-bottom:8px;}
.spec-card p{font-size:14px;color:var(--text-1);}

/* oferta grid 12 */
.oferta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);}

/* oferta v2 - stacked service blocks with photos */
.svc-block{display:grid;grid-template-columns:0.85fr 1.15fr;gap:56px;align-items:center;padding:64px 0;border-top:1px solid var(--line);}
.svc-block:last-child{border-bottom:1px solid var(--line);}
.svc-block.rev{grid-template-columns:1.15fr 0.85fr;}
.svc-block.rev .svc-text{order:2;}
.svc-block.rev .svc-photos{order:1;}
.svc-text .svc-index{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:12.5px;color:var(--blue);letter-spacing:1px;text-transform:uppercase;margin-bottom:14px;display:flex;align-items:center;gap:10px;}
.svc-text .svc-index::before{content:'';width:7px;height:7px;background:var(--blue);display:inline-block;}
.svc-text h2{font-size:26px;margin-bottom:14px;max-width:none;}
.svc-text p{font-size:15px;color:var(--text-1);}
.svc-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;}
.svc-tag{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:11.5px;color:var(--amber);border:1px solid var(--amber-dim);padding:5px 11px;letter-spacing:0.2px;}
.svc-photos{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:8px;height:340px;}
.svc-photos img{width:100%;height:100%;object-fit:cover;border:1px solid var(--line);transition:filter .2s ease;}
.svc-photos img:hover{filter:brightness(1.08) saturate(1.05);}
.svc-photos .ph1{grid-row:1/3;}
.ph-slot{position:relative;background:linear-gradient(var(--bg-2) 1px, transparent 1px) 0 0/100% 20px,linear-gradient(90deg, var(--bg-2) 1px, transparent 1px) 0 0/20px 100%,var(--bg-1);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;}
.ph-slot span{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:10.5px;color:var(--text-2);text-align:center;letter-spacing:0.4px;padding:0 8px;}

/* subtle grain for premium, non-flat feel */
.grain{position:absolute;inset:0;pointer-events:none;opacity:0.05;z-index:6;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");}

/* IDE-style code screenshot panel */
.code-panel{border:1px solid var(--line-strong);background:#0D0F13;box-shadow:0 24px 60px -20px rgba(0,0,0,0.55);}
.code-panel-bar{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid var(--line);}
.code-panel-bar .dot{width:11px;height:11px;border-radius:50%;display:inline-block;}
.code-panel-title{margin-left:10px;font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:12px;color:var(--text-2);}
.code-panel img{display:block;width:100%;}

/* subtle depth on cards for a less flat feel */
.svc-card, .spec-card{box-shadow:inset 0 1px 0 rgba(255,255,255,0.03);}
.svc-photos img, .proj-gallery img{box-shadow:0 12px 30px -14px rgba(0,0,0,0.5);}
@media (max-width:860px){
  .svc-block, .svc-block.rev{grid-template-columns:1fr;gap:24px;}
  .svc-block.rev .svc-text, .svc-block.rev .svc-photos{order:0;}
  .svc-photos{height:260px;}
}

/* realizacje */
.proj{border-top:1px solid var(--line);padding:56px 0;}
.proj:first-child{border-top:none;}
.proj-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;flex-wrap:wrap;}
.proj-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.proj-tag{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:11.5px;color:var(--text-1);border:1px solid var(--line-strong);padding:5px 10px;}
.proj-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:26px;}
.proj-gallery img{width:100%;height:150px;object-fit:cover;border:1px solid var(--line);}
.proj-gallery.g3{grid-template-columns:repeat(3,1fr);}
.proj-list{font-size:14px;color:var(--text-1);margin-top:8px;padding-left:18px;}
.proj-list li{margin-bottom:6px;}

/* kontakt */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);}
.contact-panel{background:var(--bg-0);padding:36px;}
.contact-panel .contact-heading{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:12px;color:var(--blue);text-transform:uppercase;letter-spacing:0.8px;margin-bottom:14px;}
.contact-panel .big{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;font-size:22px;font-weight:600;margin-bottom:4px;}
.contact-panel .sub{font-size:13.5px;color:var(--text-1);margin-bottom:22px;}
.field{margin-bottom:16px;}
.field label{display:block;font-size:12.5px;color:var(--text-2);margin-bottom:6px;font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;text-transform:uppercase;letter-spacing:0.5px;}
.field input, .field textarea{width:100%;background:var(--bg-1);border:1px solid var(--line-strong);color:var(--text-0);padding:11px 12px;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;font-size:14px;}
.field textarea{resize:vertical;min-height:90px;}

@media (max-width:860px){
  .svc-grid, .oferta-grid, .spec-grid, .contact-grid{grid-template-columns:1fr;}
  .proj-gallery, .proj-gallery.g3{grid-template-columns:repeat(2,1fr);}
  nav.links{display:none;}
  h1{font-size:32px;}
  .hero-content{padding-top:150px;}
  .page-banner-content{padding-top:110px;}
  .hero-stats{flex-wrap:wrap;gap:16px;}
  .stat{flex:1 1 40%;border-right:none;padding:0;}
  .hero-corner{display:none;}
}

/* =====================================================
   AMR CONTROLS — WEBSITE 2.0 / HOME TEST
   ===================================================== */
:root{--amr-green:#52b934;--amr-green-dark:#2f7f1e;--amr-ink:#081015;--amr-ink-2:#0d171e;--amr-white:#fff;--amr-paper:#f5f6f3;--amr-muted:#667077;--amr-border:#dfe3df;}
body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;background:var(--amr-ink);}
.wrap{max-width:1440px;padding-left:48px;padding-right:48px;}
.amr-header{position:absolute;z-index:100;top:0;left:0;right:0;height:72px;background:linear-gradient(180deg,rgba(3,8,11,.98),rgba(3,8,11,.88) 72%,rgba(3,8,11,0));}
.amr-header-solid{position:relative;background:var(--amr-ink);border-bottom:1px solid rgba(255,255,255,.1);}
.amr-nav{height:72px;display:flex;align-items:center;gap:38px;}
.amr-logo{margin-right:auto;display:flex;align-items:center}.amr-logo img,.amr-logo .custom-logo{height:34px;width:auto;max-width:210px;}
.amr-links{display:flex;align-items:center;gap:34px}.amr-links ul{display:flex;list-style:none;gap:34px}.amr-links a{font-size:13px;font-weight:600;letter-spacing:.045em;text-transform:uppercase;color:rgba(255,255,255,.82);transition:.2s}.amr-links a:hover{color:var(--amr-green)}
.amr-header-cta{border:1px solid var(--amr-green);padding:11px 20px;color:#fff;text-transform:uppercase;font-size:12px;font-weight:700;letter-spacing:.05em;transition:.2s}.amr-header-cta:hover{background:var(--amr-green);color:#071006}
.amr-menu-toggle{display:none;background:none;border:0;padding:8px}.amr-menu-toggle span{display:block;width:25px;height:2px;background:#fff;margin:5px 0}
.amr-hero-v2{position:relative;min-height:100vh;overflow:hidden;background:var(--amr-ink);display:flex;align-items:center;}
.amr-hero-photo{position:absolute;inset:0;background-size:cover;background-position:54% center;transform:scale(1.015);}
.amr-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,8,11,.96) 0%,rgba(3,8,11,.88) 28%,rgba(3,8,11,.4) 58%,rgba(3,8,11,.18) 100%),linear-gradient(180deg,rgba(3,8,11,.15),rgba(3,8,11,.05) 65%,rgba(3,8,11,.9));}
.amr-hero-fade{position:absolute;left:0;right:0;bottom:-1px;height:150px;background:linear-gradient(180deg,rgba(8,16,21,0),var(--amr-ink));}
.amr-hero-inner{position:relative;z-index:2;width:100%;padding-top:130px;padding-bottom:100px;}
.amr-hero-copy{max-width:700px}.amr-kicker,.amr-label{color:var(--amr-green);font-weight:800;letter-spacing:.15em;text-transform:uppercase;font-size:12px;margin-bottom:20px;}
.amr-hero-copy h1{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;font-weight:800;font-size:clamp(54px,6.4vw,102px);line-height:.98;letter-spacing:-.055em;max-width:none;text-shadow:none;margin:0 0 30px}.amr-hero-copy h1 span{color:var(--amr-green)}
.amr-hero-copy p{font-size:clamp(17px,1.45vw,22px);line-height:1.65;color:rgba(255,255,255,.82);max-width:650px;margin-bottom:36px}.amr-hero-actions{display:flex;gap:14px;flex-wrap:wrap}.amr-hero-region{margin-top:16px;color:rgba(255,255,255,.78);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.amr-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 25px;font-size:13px;text-transform:uppercase;letter-spacing:.045em;font-weight:800;transition:.22s}.amr-btn-primary{background:var(--amr-green);color:#071006}.amr-btn-primary:hover{background:#69d247;color:#071006;transform:translateY(-2px)}.amr-btn-line{color:#fff;border:1px solid rgba(255,255,255,.55)}.amr-btn-line:hover{border-color:#fff;background:rgba(255,255,255,.08)}
.amr-scroll{position:absolute;z-index:3;bottom:35px;left:50%;font-size:26px;color:#fff;animation:amrBounce 1.8s infinite}@keyframes amrBounce{50%{transform:translateY(7px)}}
.amr-light{background:var(--amr-paper);color:#111;padding:105px 0}.amr-dark{background:var(--amr-ink);color:#fff;padding:105px 0}
.amr-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(400px,1.15fr);gap:75px;align-items:center}.amr-copy-block h2,.amr-center-head h2,.amr-project-heading h2,.amr-contact-cta h2,.amr-proof-copy h2{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;font-size:clamp(38px,4.2vw,68px);line-height:1.04;letter-spacing:-.045em;margin:0 0 26px;max-width:830px}.amr-copy-block>p{font-size:16px;line-height:1.75;color:#4e585d;margin-bottom:16px;max-width:680px}.amr-photo-card{position:relative;margin:0;min-height:500px;overflow:hidden}.amr-photo-card img{width:100%;height:100%;min-height:500px;object-fit:cover}.amr-photo-fade-top:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,var(--amr-paper) 0%,rgba(245,246,243,.15) 16%,transparent 31%);pointer-events:none}.amr-photo-fade-left:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--amr-ink) 0%,rgba(8,16,21,.2) 18%,transparent 40%);pointer-events:none}
.amr-values{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;border-top:1px solid var(--amr-border);margin-top:34px;padding-top:25px}.amr-values strong{display:block;font-size:14px;margin-bottom:6px}.amr-values span{display:block;color:#667077;font-size:12px;line-height:1.45}
.amr-about-home .wrap{display:block}.amr-center-head-left{text-align:left;max-width:none;margin:0 0 52px}.amr-center-head-left h2{margin-left:0;margin-right:0;max-width:1000px}.amr-center-head-left>p{text-align:left}.amr-about-home-split{grid-template-columns:minmax(0,.95fr) minmax(340px,.95fr);gap:68px;align-items:start}.amr-about-home-copy{max-width:none}.amr-about-home-copy>p{max-width:none}.amr-about-home-photo{min-height:520px;align-self:stretch}.amr-about-home-photo img{min-height:520px;object-position:center}
.amr-center-head{text-align:center;max-width:940px;margin:0 auto 48px}.amr-center-head h2{margin-left:auto;margin-right:auto}.amr-center-head>p{color:#667077;font-size:17px}.amr-process-home{padding-top:30px}.amr-process-cards{display:grid;grid-template-columns:repeat(7,1fr);gap:12px}.amr-process-card{min-width:0}.amr-process-card img{width:100%;height:145px;object-fit:cover;margin:13px 0}.amr-step-top{display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}.amr-step-top span{display:grid;place-items:center;width:26px;height:26px;border:1px solid var(--amr-green);border-radius:50%;color:var(--amr-green);font-weight:800}.amr-step-top b{font-size:12px}.amr-process-card p{font-size:12px;color:#697175;line-height:1.5}
.amr-offer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.amr-offer-card{background:#fff;border:1px solid #e4e7e3;color:#111;transition:.25s;overflow:hidden}.amr-offer-card:hover{transform:translateY(-5px);box-shadow:0 20px 38px rgba(20,35,27,.12);color:#111}.amr-offer-img{height:230px;overflow:hidden}.amr-offer-img img{height:100%;width:100%;object-fit:cover;transition:.45s}.amr-offer-card:hover img{transform:scale(1.035)}.amr-offer-body{padding:25px}.amr-offer-body h3{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;font-size:23px;line-height:1.15;margin:0 0 12px}.amr-offer-body p{font-size:14px;color:#697175;min-height:47px}.amr-offer-body span{color:var(--amr-green-dark);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.amr-proof-grid{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:55px}.amr-proof-copy ul{list-style:none;margin:28px 0 36px}.amr-proof-copy li{border-bottom:1px solid rgba(255,255,255,.11);padding:13px 0;color:rgba(255,255,255,.8);font-size:15px}.amr-proof-copy li:before{content:"✓";color:var(--amr-green);font-weight:900;margin-right:12px}
.amr-project-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:45px}.amr-text-link{color:#171b18;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.045em}.amr-text-link:hover{color:var(--amr-green-dark)}.amr-project-feature{display:grid;grid-template-columns:1.2fr .8fr;gap:65px;align-items:center}.amr-project-feature figure{margin:0;overflow:hidden}.amr-project-feature img{width:100%;height:520px;object-fit:cover}.amr-project-feature h3{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;font-size:clamp(30px,3.5vw,54px);line-height:1.06;letter-spacing:-.04em;margin:0 0 18px}.amr-project-feature p{color:#667077;font-size:16px;line-height:1.7;margin-bottom:28px}
.amr-tech-strip{background:#fff;color:#111;border-top:1px solid #e7e8e5;border-bottom:1px solid #e7e8e5;padding:27px 0}.amr-tech-strip .wrap{display:flex;align-items:center;justify-content:space-between;gap:25px;flex-wrap:wrap}.amr-tech-strip span{color:var(--amr-green-dark);text-transform:uppercase;font-size:12px;letter-spacing:.1em;font-weight:800}.amr-tech-strip b{font-size:19px}
.amr-contact-cta{display:grid;grid-template-columns:1.25fr .75fr;gap:70px;align-items:center}.amr-contact-cta h2{font-size:clamp(36px,4vw,62px)}.amr-contact-cta p{color:#667077;max-width:700px;font-size:16px}.amr-contact-details{display:flex;flex-direction:column;align-items:flex-start;gap:14px}.amr-contact-details>a:not(.amr-btn){font-size:21px;font-weight:700;color:#111}
footer{background:var(--amr-ink);}
@media(max-width:1100px){.wrap{padding-left:28px;padding-right:28px}.amr-process-cards{grid-template-columns:repeat(4,1fr)}.amr-offer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){.amr-header{height:66px}.amr-nav{height:66px}.amr-header-cta{display:none}.amr-menu-toggle{display:block;order:3}.amr-links{display:none;position:absolute;top:66px;left:0;right:0;background:#071015;padding:25px 28px;flex-direction:column;align-items:flex-start}.amr-links.is-open{display:flex}.amr-links ul{flex-direction:column;gap:18px}.amr-hero-v2{min-height:820px}.amr-hero-inner{padding-top:120px}.amr-hero-shade{background:linear-gradient(90deg,rgba(3,8,11,.94),rgba(3,8,11,.48)),linear-gradient(180deg,transparent 45%,rgba(3,8,11,.9))}.amr-split,.amr-proof-grid,.amr-project-feature,.amr-contact-cta,.amr-about-home-split{grid-template-columns:1fr}.amr-photo-card{min-height:360px}.amr-photo-card img{min-height:360px}.amr-about-home-photo{min-height:360px}.amr-about-home-photo img{min-height:360px}.amr-center-head-left{margin-bottom:34px}.amr-values{grid-template-columns:1fr}.amr-process-cards{grid-template-columns:repeat(2,1fr)}.amr-offer-grid{grid-template-columns:1fr}.amr-project-heading{align-items:flex-start;flex-direction:column}.amr-project-feature img{height:360px}}
@media(max-width:520px){.wrap{padding-left:20px;padding-right:20px}.amr-light,.amr-dark{padding:75px 0}.amr-hero-copy h1{font-size:49px}.amr-hero-copy p{font-size:16px}.amr-btn{width:100%}.amr-process-cards{grid-template-columns:1fr}.amr-process-card{display:grid;grid-template-columns:110px 1fr;column-gap:14px}.amr-process-card .amr-step-top{grid-column:1/3}.amr-process-card img{height:90px}.amr-tech-strip .wrap{justify-content:flex-start}.amr-contact-details>a:not(.amr-btn){font-size:17px}}


/* =====================================================
   AMR CONTROLS 2.2 TEST — HEADER + OFFER REBUILD
   ===================================================== */
.amr-header{height:68px;background:#05090c!important;border-bottom:1px solid rgba(255,255,255,.07);box-shadow:0 8px 30px rgba(0,0,0,.18)}
.amr-header-over{position:absolute}.amr-header-solid{position:relative}
.amr-nav{height:68px;gap:30px}.amr-logo img,.amr-logo .custom-logo{height:36px;max-width:235px}
.amr-links{gap:30px}.amr-links ul{gap:30px}.amr-links a{font-size:15px;font-weight:600;letter-spacing:0;text-transform:none;color:rgba(255,255,255,.9);padding:23px 0 20px;position:relative}
.amr-links a:hover{color:#fff}.amr-links .current-menu-item>a:after,.amr-links .current_page_item>a:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--amr-green)}
.amr-header-cta{display:none!important}

/* Offer 2.2: every service owns its space; no overlapping mosaic */
.amr-offer-page{padding:90px 0 125px;background:var(--amr-ink)}
.amr-offer-page .svc-block{display:grid!important;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;gap:78px!important;align-items:center!important;min-height:560px!important;padding:110px 0!important;margin:0!important;border-top:1px solid rgba(255,255,255,.11)!important;position:relative!important;overflow:hidden!important}
.amr-offer-page .svc-block:first-child{border-top:0!important;padding-top:55px!important}
.amr-offer-page .svc-block:last-child{border-bottom:1px solid rgba(255,255,255,.11)!important}
.amr-offer-page .svc-block.rev{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr)!important}
.amr-offer-page .svc-block.rev .svc-text{order:2!important}.amr-offer-page .svc-block.rev .svc-photos{order:1!important}
.amr-offer-page .svc-text{position:relative!important;z-index:3!important;align-self:center!important;min-width:0!important}
.amr-offer-page .svc-text h2{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;font-size:clamp(31px,3vw,48px)!important;line-height:1.08!important;letter-spacing:-.035em!important;margin:0 0 22px!important;color:#fff!important}
.amr-offer-page .svc-text p{font-size:16px!important;line-height:1.75!important;color:rgba(255,255,255,.68)!important;max-width:590px!important}
.amr-offer-page .svc-index{color:var(--amr-green)!important;margin-bottom:20px!important}.amr-offer-page .svc-index:before{background:var(--amr-green)!important}
.amr-offer-page .svc-tags{gap:10px!important;margin-top:27px!important}.amr-offer-page .svc-tag{border-color:rgba(82,185,52,.55)!important;color:#8bdc70!important;padding:7px 12px!important}
.amr-offer-page .svc-photos{display:grid!important;grid-template-columns:1.35fr .85fr!important;grid-template-rows:1fr 1fr!important;gap:12px!important;width:100%!important;height:500px!important;min-height:500px!important;position:relative!important;overflow:hidden!important}
.amr-offer-page .svc-photos img,.amr-offer-page .svc-photos .ph-slot{position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;object-fit:cover!important;inset:auto!important;transform:none!important;margin:0!important;max-width:none!important}
.amr-offer-page .svc-photos .ph1{grid-column:1!important;grid-row:1/3!important}.amr-offer-page .svc-photos .ph2{grid-column:2!important;grid-row:1!important}.amr-offer-page .svc-photos .ph3{grid-column:2!important;grid-row:2!important}
.amr-offer-page .svc-photos:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(8,16,21,.18),transparent 22%)}
@media(max-width:980px){.amr-offer-page .svc-block,.amr-offer-page .svc-block.rev{grid-template-columns:1fr!important;gap:42px!important;min-height:0!important;padding:85px 0!important}.amr-offer-page .svc-block.rev .svc-text,.amr-offer-page .svc-block.rev .svc-photos{order:initial!important}.amr-offer-page .svc-photos{height:440px!important;min-height:440px!important}}
@media(max-width:650px){.amr-header,.amr-nav{height:62px}.amr-logo img,.amr-logo .custom-logo{height:29px}.amr-links{top:62px!important}.amr-offer-page{padding-top:45px}.amr-offer-page .svc-block,.amr-offer-page .svc-block.rev{padding:65px 0!important;gap:30px!important}.amr-offer-page .svc-photos{height:auto!important;min-height:0!important;grid-template-columns:1fr 1fr!important;grid-template-rows:250px 150px!important}.amr-offer-page .svc-photos .ph1{grid-column:1/3!important;grid-row:1!important}.amr-offer-page .svc-photos .ph2{grid-column:1!important;grid-row:2!important}.amr-offer-page .svc-photos .ph3{grid-column:2!important;grid-row:2!important}}

/* =====================================================
   AMR CONTROLS 2.3 — HEADER + REALIZACJE
   ===================================================== */
.amr-header{height:64px!important;background:rgba(4,8,10,.96)!important;border-bottom:1px solid rgba(255,255,255,.08)!important;box-shadow:none!important;overflow:visible!important}
.amr-header-over{position:absolute!important}.amr-header-solid{position:relative!important}
.amr-nav{height:64px!important;display:flex!important;align-items:center!important;gap:42px!important;padding-top:0!important;padding-bottom:0!important}
.amr-brand{margin-right:auto!important;display:flex!important;align-items:center!important;height:64px!important;min-width:180px!important}
.amr-brand .custom-logo-link,.amr-logo-fallback{display:flex!important;align-items:center!important;height:64px!important;line-height:1!important}
.amr-brand .custom-logo,.amr-logo-fallback img{display:block!important;width:auto!important;height:32px!important;max-height:32px!important;max-width:220px!important;object-fit:contain!important;margin:0!important;padding:0!important}
.amr-links{display:flex!important;align-items:center!important;height:64px!important;gap:0!important}
.amr-links .amr-menu,.amr-links ul{display:flex!important;align-items:stretch!important;height:64px!important;gap:0!important;margin:0!important;padding:0!important;list-style:none!important}
.amr-links li{display:flex!important;align-items:stretch!important;margin:0!important;padding:0!important}
.amr-links a{position:relative!important;display:flex!important;align-items:center!important;padding:0 17px!important;height:64px!important;color:rgba(255,255,255,.86)!important;font-size:14px!important;font-weight:600!important;line-height:1!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap!important}
.amr-links a:hover{color:#fff!important}
.amr-links .current-menu-item>a:after,.amr-links .current_page_item>a:after,.amr-links a[aria-current="page"]:after{content:"";position:absolute;left:17px;right:17px;bottom:0;height:2px;background:var(--amr-green)}
.amr-projects-page .project-block{padding-top:115px!important;padding-bottom:115px!important}
.amr-projects-page .project-block:first-child{padding-top:85px!important}
.amr-projects-page .project-block .svc-text p{max-width:620px!important}
@media(max-width:860px){
 .amr-header,.amr-nav,.amr-brand{height:60px!important}.amr-brand .custom-logo-link,.amr-logo-fallback{height:60px!important}.amr-brand .custom-logo,.amr-logo-fallback img{height:28px!important;max-height:28px!important}.amr-menu-toggle{display:block!important;margin-left:auto!important}.amr-links{display:none!important;position:absolute!important;top:60px!important;left:0!important;right:0!important;height:auto!important;background:#05090c!important;padding:16px 24px 24px!important}.amr-links.is-open{display:flex!important}.amr-links .amr-menu,.amr-links ul{height:auto!important;width:100%!important;flex-direction:column!important}.amr-links li,.amr-links a{height:auto!important;width:100%!important}.amr-links a{padding:14px 0!important}.amr-links .current-menu-item>a:after,.amr-links .current_page_item>a:after,.amr-links a[aria-current="page"]:after{left:0;right:auto;width:36px;bottom:4px}
}

/* =====================================================
   AMR CONTROLS 2.5 — O NAS
   ===================================================== */
.amr-about-page{background:var(--bg-0);color:var(--text-0)}
.amr-about-page .wrap{max-width:1240px}
.about-intro{padding:105px 0 110px;border-bottom:1px solid var(--line)}
.about-intro-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:76px;align-items:center}
.about-intro-copy h1{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;font-size:clamp(44px,5.2vw,76px);line-height:.98;letter-spacing:-.055em;margin:0 0 30px;max-width:760px}
.about-intro-copy p{font-size:16px;line-height:1.75;color:var(--text-1);max-width:650px}
.about-intro-copy .about-lead{font-size:20px;line-height:1.55;color:var(--text-0)}
.about-intro-photo{height:610px;position:relative;overflow:hidden;border:1px solid var(--line)}
.about-intro-photo img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.88)}
.about-intro-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 58%,rgba(5,10,13,.72))}
.about-photo-note{position:absolute;z-index:2;left:22px;bottom:20px;font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:11px;letter-spacing:.7px;color:#fff}.about-photo-note span{color:rgba(255,255,255,.58)}
.about-owner,.about-network,.about-competence,.about-training{padding:115px 0;border-bottom:1px solid var(--line)}
.about-owner-grid{display:grid;grid-template-columns:80px minmax(0,1fr) 360px;gap:54px;align-items:start}
.about-number{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;color:var(--amr-green);font-size:13px;padding-top:8px}
.about-owner-copy h2,.about-network-copy h2,.about-section-head h2,.about-training h2,.cmse-copy h2,.about-cta h2{font-size:clamp(32px,3.5vw,52px);line-height:1.06;letter-spacing:-.04em;margin:0 0 25px}
.about-owner-copy p,.about-network-copy p,.cmse-copy p{font-size:16px;line-height:1.78;color:var(--text-1);max-width:720px}.about-owner-copy strong{color:var(--text-0)}
.about-facts{border-left:1px solid var(--line);padding-left:34px}.about-fact{padding:0 0 28px;margin-bottom:28px;border-bottom:1px solid var(--line)}.about-fact:last-child{margin-bottom:0}.about-fact strong{display:block;font-size:24px;letter-spacing:-.03em;margin-bottom:7px}.about-fact span{font-size:13px;line-height:1.5;color:var(--text-2)}
.about-network-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:76px;align-items:center}.about-network-photo{height:520px;overflow:hidden}.about-network-photo img{width:100%;height:100%;object-fit:cover;display:block}.about-network-copy{padding-right:20px}
.about-section-head{display:grid;grid-template-columns:.42fr 1fr;gap:54px;align-items:end;margin-bottom:55px}.about-section-head .svc-index{align-self:start;margin-top:8px}
.about-competence-grid{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.about-skill{min-height:250px;padding:34px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(255,255,255,.012)}.about-skill>span{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;color:var(--amr-green);font-size:11px}.about-skill h3{font-size:25px;margin:46px 0 13px}.about-skill p{font-size:14.5px;line-height:1.7;color:var(--text-1);max-width:510px}
.cmse-feature{padding:90px 0;background:#0d1513;border-bottom:1px solid rgba(82,185,52,.25);border-top:1px solid rgba(82,185,52,.25)}.cmse-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:90px;align-items:center}.cmse-mark{display:flex;flex-direction:column;border-left:3px solid var(--amr-green);padding:10px 0 10px 28px}.cmse-mark small{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;color:var(--amr-green);font-size:10px;letter-spacing:1px}.cmse-mark strong{font-size:70px;line-height:1;margin:12px 0 4px;letter-spacing:-.055em}.cmse-mark sup{font-size:18px;vertical-align:top;margin-left:3px}.cmse-mark span{font-size:14px;color:var(--text-1)}.cmse-copy h2{max-width:720px}.cmse-copy p{max-width:700px}
.about-training-grid{display:grid;grid-template-columns:.75fr 1.25fr;gap:90px}.training-list{border-top:1px solid var(--line)}.training-list div{padding:15px 4px;border-bottom:1px solid var(--line);font-size:14px;color:var(--text-1)}.training-list div:first-child{color:#fff;font-weight:600}
.about-cta{padding:90px 0 100px;background:var(--bg-1)}.about-cta-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:70px;align-items:end}.about-cta h2{max-width:800px;margin-bottom:0}.about-cta-action{text-align:right;padding-bottom:7px}
@media(max-width:980px){.about-intro-grid,.about-network-grid,.cmse-grid,.about-training-grid{grid-template-columns:1fr;gap:42px}.about-owner-grid{grid-template-columns:55px 1fr}.about-facts{grid-column:2;border-left:0;border-top:1px solid var(--line);padding:30px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.about-fact{border-bottom:0;margin:0}.about-section-head{grid-template-columns:1fr;gap:12px}.about-intro-photo{height:500px}.about-network-photo{height:440px}.about-cta-grid{grid-template-columns:1fr}.about-cta-action{text-align:left}}
@media(max-width:650px){.about-intro,.about-owner,.about-network,.about-competence,.about-training{padding:70px 0}.about-intro-grid{gap:32px}.about-intro-photo{height:390px}.about-owner-grid{grid-template-columns:1fr;gap:18px}.about-number{padding:0}.about-facts{grid-column:1;grid-template-columns:1fr;gap:0}.about-fact{padding:18px 0;margin:0;border-bottom:1px solid var(--line)}.about-network-photo{height:330px}.about-competence-grid{grid-template-columns:1fr}.about-skill{min-height:220px}.about-skill h3{margin-top:30px}.cmse-feature{padding:70px 0}.cmse-mark strong{font-size:56px}.about-training-grid{gap:35px}.about-cta{padding:70px 0}.about-photo-note{font-size:9px}}


/* =====================================================
   AMR CONTROLS 2.7 — PHOTO / CONTENT UPDATE
   Layout and header intentionally inherit the stable 2.5 rules.
   ===================================================== */
.amr-about-page .wrap{max-width:1440px!important;}
.amr-about-page .about-owner-copy p,.amr-about-page .about-network-copy p{max-width:780px;}
.project-extra{grid-column:1/-1;margin-top:26px;border-top:1px solid var(--line);padding-top:22px;}
.project-extra summary{cursor:pointer;display:inline-flex;align-items:center;gap:10px;font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--text-1);list-style:none;user-select:none;}
.project-extra summary::-webkit-details-marker{display:none}.project-extra summary:after{content:'+';display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--line-strong);color:var(--amr-green);font-size:17px;line-height:1}.project-extra[open] summary:after{content:'−'}
.project-extra-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.project-extra-grid a{display:block;overflow:hidden;border:1px solid var(--line);background:#0d1115}.project-extra-grid img{display:block;width:100%;height:180px;object-fit:cover;transition:transform .3s ease,filter .3s ease}.project-extra-grid a:hover img{transform:scale(1.025);filter:brightness(1.08)}
.amr-photo-source{font-size:11px;color:var(--text-2);margin-top:10px;}
@media(max-width:980px){.project-extra-grid{grid-template-columns:repeat(2,1fr)}.project-extra-grid img{height:190px}}
@media(max-width:560px){.project-extra-grid{grid-template-columns:1fr}.project-extra-grid img{height:220px}}


/* =====================================================
   AMR CONTROLS 3.0 — EDITABLE CONTENT + RESPONSIVE POLISH
   ===================================================== */
body{overflow-x:hidden}

/* On inner pages green is reserved for buttons/tags/accent lines, not counters. */
.amr-offer-page .svc-index,
.amr-projects-page .svc-index,
.amr-about-page .about-number,
.amr-about-page .about-skill>span{display:none!important}
.amr-about-page .svc-index,
.amr-about-page .section-eyebrow{
  color:var(--text-2)!important;
  letter-spacing:.11em;
}
.amr-about-page .svc-index:before{display:none!important}
.about-owner-grid{grid-template-columns:minmax(0,1fr) 360px!important}
.about-owner-copy{grid-column:1}
.about-facts{grid-column:2}
.about-section-head{grid-template-columns:1fr!important;gap:14px!important}
.about-skill h3{margin-top:12px!important}

/* WordPress content / privacy policy */
.amr-policy-page{background:var(--bg-0);color:var(--text-0)}
.amr-policy-page .page-banner{min-height:310px}
.amr-policy-shell{padding:90px 0 110px}
.amr-policy-grid{display:grid;grid-template-columns:minmax(0,820px) minmax(220px,1fr);gap:90px;align-items:start}
.amr-policy-content{font-size:16px;line-height:1.8;color:var(--text-1)}
.amr-policy-content>*:first-child{margin-top:0}
.amr-policy-content h2,.amr-policy-content h3,.amr-policy-content h4{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;color:var(--text-0);line-height:1.2;letter-spacing:-.025em;margin:42px 0 15px}
.amr-policy-content h2{font-size:32px}.amr-policy-content h3{font-size:23px}.amr-policy-content h4{font-size:18px}
.amr-policy-content p{margin:0 0 17px}.amr-policy-content ul,.amr-policy-content ol{margin:0 0 22px 22px}.amr-policy-content li{margin:8px 0}
.amr-policy-content a{color:var(--amr-green);text-decoration:underline;text-underline-offset:3px}
.amr-policy-content strong{color:var(--text-0)}
.amr-policy-content table{width:100%;border-collapse:collapse;margin:24px 0;font-size:14px;display:block;overflow-x:auto}
.amr-policy-content th,.amr-policy-content td{border:1px solid var(--line);padding:10px 12px;vertical-align:top}
.amr-policy-aside{position:sticky;top:30px;border-left:1px solid var(--line);padding-left:30px}
.amr-policy-aside small{display:block;color:var(--text-2);text-transform:uppercase;letter-spacing:.1em;margin-bottom:13px}
.amr-policy-aside p{color:var(--text-1);font-size:13px;line-height:1.65;margin-bottom:18px}
.amr-policy-aside a{color:var(--text-0);font-weight:700;font-size:13px}

/* Editing-friendly galleries */
.svc-photos img{background:#0b1115}
.svc-tags{display:flex;flex-wrap:wrap;gap:10px}
.svc-tag{max-width:100%;white-space:normal}

/* Fine-grained responsive polish */
@media(max-width:1100px){
  .about-owner-grid{grid-template-columns:minmax(0,1fr) 310px!important;gap:42px!important}
  .amr-policy-grid{grid-template-columns:minmax(0,1fr) 260px;gap:55px}
}
@media(max-width:980px){
  .about-owner-grid{grid-template-columns:1fr!important}
  .about-facts{grid-column:1!important;grid-template-columns:repeat(3,1fr)!important}
  .amr-policy-grid{grid-template-columns:1fr;gap:45px}
  .amr-policy-aside{position:static;border-left:0;border-top:1px solid var(--line);padding:28px 0 0}
}
@media(max-width:760px){
  .page-banner{min-height:270px}
  .page-banner-content{padding-top:84px;padding-bottom:32px}
  .page-banner h1{font-size:clamp(32px,10vw,44px);line-height:1.04}
  .page-banner p{font-size:14px}
  .amr-offer-page .svc-text h2{font-size:clamp(31px,9vw,44px);line-height:1.06}
  .amr-offer-page .svc-text p{font-size:15px;line-height:1.72}
  .amr-policy-shell{padding:65px 0 80px}
  .amr-policy-content{font-size:15px;line-height:1.75}
  .amr-policy-content h2{font-size:28px}
}
@media(max-width:650px){
  .about-facts{grid-template-columns:1fr!important}
  .about-owner-grid{gap:26px!important}
  .amr-about-page .wrap{padding-left:20px!important;padding-right:20px!important}
  .svc-tags{gap:8px}
  .svc-tag{font-size:10px!important;padding:8px 10px!important}
  .amr-policy-page .page-banner{min-height:240px}
}
@media(max-width:420px){
  .amr-hero-copy h1{font-size:43px!important}
  .amr-hero-copy p{font-size:15px!important}
  .amr-offer-page .svc-photos{grid-template-rows:220px 130px!important}
}


/* =====================================================
   AMR CONTROLS 3.0.3 — MOBILE POLISH
   Based on screenshots from a real phone. Desktop layout unchanged.
   ===================================================== */
@media(max-width:760px){
  /* Comfortable reading width on real phones */
  .wrap{padding-left:20px!important;padding-right:20px!important}

  /* Inner-page hero: less vertical bulk, clearer hierarchy */
  .page-banner{min-height:245px!important}
  .page-banner-content{padding-top:82px!important;padding-bottom:30px!important}
  .page-banner h1{font-size:clamp(31px,9.2vw,40px)!important;line-height:1.04!important;letter-spacing:-.035em!important}
  .page-banner p{font-size:14px!important;line-height:1.6!important;max-width:34rem!important}

  /* Offer / projects — preserve the visual language, reduce unnecessary scroll */
  .amr-offer-page{padding-top:28px!important;padding-bottom:72px!important}
  .amr-offer-page .svc-block,
  .amr-offer-page .svc-block.rev{padding:54px 0!important;gap:26px!important}
  .amr-offer-page .svc-block:first-child{padding-top:28px!important}
  .amr-offer-page .svc-text h2{font-size:clamp(29px,8.7vw,38px)!important;margin-bottom:16px!important}
  .amr-offer-page .svc-text p{font-size:15px!important;line-height:1.7!important}
  .amr-offer-page .svc-tags{margin-top:20px!important}

  .amr-projects-page .project-block,
  .amr-projects-page .project-block:first-child{padding-top:58px!important;padding-bottom:58px!important}
  .amr-projects-page .svc-text h2{font-size:clamp(29px,8.6vw,38px)!important;line-height:1.06!important;margin-bottom:15px!important}
  .amr-projects-page .svc-text p{font-size:15px!important;line-height:1.7!important}
  .project-extra{margin-top:18px!important;padding-top:18px!important}
  .project-extra summary{font-size:10.5px!important}

  /* About — screenshot showed this page as the densest one on mobile */
  .about-intro,.about-owner,.about-network,.about-competence,.about-training{padding:58px 0!important}
  .about-intro-grid,.about-network-grid,.cmse-grid,.about-training-grid{gap:28px!important}
  .about-intro-copy h1{font-size:clamp(38px,11vw,50px)!important;line-height:.98!important;margin-bottom:22px!important}
  .about-intro-copy .about-lead{font-size:18px!important;line-height:1.5!important}
  .about-intro-copy p,.about-owner-copy p,.about-network-copy p,.cmse-copy p{font-size:15px!important;line-height:1.72!important}
  .about-intro-photo{height:300px!important}
  .about-network-photo{height:280px!important}
  .about-owner-copy h2,.about-network-copy h2,.about-section-head h2,.about-training h2,.cmse-copy h2,.about-cta h2{font-size:clamp(30px,9vw,39px)!important}
  .about-fact strong{font-size:22px!important}
  .about-competence-grid{border-left:0!important}
  .about-skill{min-height:0!important;padding:26px 0!important;border-left:0!important;border-right:0!important}
  .about-skill h3{font-size:23px!important;margin:0 0 10px!important}
  .about-skill p{font-size:14.5px!important}
  .cmse-feature{padding:58px 0!important}
  .cmse-mark{padding-left:20px!important}
  .cmse-mark strong{font-size:52px!important}
  .about-cta{padding:58px 0!important}

  /* Contact card: more room for the form without changing desktop */
  .contact-panel{padding:26px 20px!important}
  .contact-panel .big{font-size:20px!important}
  .field input,.field textarea{font-size:16px!important} /* prevents iOS input zoom */

  /* CTA bands */
  .band{padding:50px 0!important}
  .band h2{font-size:clamp(27px,8vw,35px)!important;line-height:1.08!important;max-width:520px!important}
  .band p{font-size:14.5px!important;line-height:1.65!important;margin-bottom:24px!important}

  /* Footer is easier to scan as one vertical stack */
  .foot-grid{display:grid!important;grid-template-columns:1fr!important;gap:28px!important}
  .foot-col{width:100%!important}
  .foot-bottom{font-size:11.5px!important}
}

@media(max-width:520px){
  .amr-hero-v2{min-height:720px!important}
  .amr-hero-inner{padding-top:105px!important;padding-bottom:80px!important}
  .amr-hero-copy h1{font-size:clamp(42px,13vw,52px)!important}
  .amr-hero-copy p{font-size:15.5px!important;line-height:1.6!important}
  .amr-scroll{display:none!important}
  .amr-light,.amr-dark{padding:66px 0!important}
  .amr-copy-block h2,.amr-center-head h2,.amr-project-heading h2,.amr-contact-cta h2,.amr-proof-copy h2{font-size:clamp(32px,9.5vw,41px)!important}
  .amr-photo-card,.amr-photo-card img{min-height:300px!important}
  .amr-project-feature img{height:300px!important}
  .amr-process-card{grid-template-columns:96px 1fr!important}
  .amr-process-card img{height:82px!important}
  .amr-offer-page .svc-photos{grid-template-rows:220px 128px!important}
  .proj-gallery,.proj-gallery.g3{grid-template-columns:1fr 1fr!important}
  .proj-gallery img{height:135px!important}
}


/* =====================================================
   AMR CONTROLS 3.0.4 — PROJECT GALLERY ORDER + MEASUREMENTS
   ===================================================== */
/* In alternating project rows .svc-text/.svc-photos use CSS order.
   The details element must always come after both, otherwise on .rev rows
   it is auto-placed above the project content. */
.amr-projects-page .project-extra{
  order:3!important;
  grid-column:1/-1!important;
}

/* The homepage now shows all 7 services; centre the last card on wide screens. */
@media(min-width:1101px){
  .amr-offer-grid>.amr-offer-card:nth-child(7):last-child{grid-column:2}
}
@media(min-width:861px) and (max-width:1100px){
  .amr-offer-grid>.amr-offer-card:nth-child(7):last-child{grid-column:1/-1;width:calc(50% - 9px);justify-self:center}
}


/* =====================================================
   AMR CONTROLS 3.0.5 — SERVICE / PRINT 3D PROJECT SPLIT
   ===================================================== */
/* A project may intentionally contain only two primary photographs.
   Keep them balanced instead of leaving the third collage slot empty. */
.amr-projects-page .svc-photos.photos-count-2{
  grid-template-columns:1fr 1fr!important;
  grid-template-rows:1fr!important;
}
.amr-projects-page .svc-photos.photos-count-2 .ph1,
.amr-projects-page .svc-photos.photos-count-2 .ph2{
  grid-column:auto!important;
  grid-row:1!important;
}
@media(max-width:650px){
  .amr-projects-page .svc-photos.photos-count-2{
    grid-template-columns:1fr 1fr!important;
    grid-template-rows:185px!important;
  }
  .amr-projects-page .svc-photos.photos-count-2 .ph1,
  .amr-projects-page .svc-photos.photos-count-2 .ph2{
    grid-column:auto!important;
    grid-row:1!important;
  }
}


/* =====================================================
   AMR CONTROLS 3.1 — PRODUCTION / SEO / PERFORMANCE
   ===================================================== */
.amr-hero-photo-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:54% center;transform:scale(1.015)}
.amr-offer-page .svc-block{content-visibility:auto;contain-intrinsic-size:560px}
.amr-process-card,.amr-offer-card,.about-skill{content-visibility:auto;contain-intrinsic-size:300px}
.amr-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.amr-form-note{font-size:12px;line-height:1.55;color:var(--text-2);margin:12px 0 18px}.amr-form-note a{text-decoration:underline;text-underline-offset:2px}
.amr-form-check{display:flex;align-items:flex-start;gap:10px;margin:14px 0 18px;color:var(--text-1);font-size:12px;line-height:1.5}.amr-form-check input{margin-top:3px;accent-color:var(--amr-green)}
.amr-404{min-height:calc(100vh - 68px);display:flex;align-items:center;padding:135px 0 90px;background:radial-gradient(circle at 75% 25%,rgba(82,185,52,.08),transparent 34%),var(--amr-ink)}
.amr-404-inner{max-width:760px}.amr-404-code{font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;color:var(--amr-green);font-size:13px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:18px}.amr-404 h1{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;font-size:clamp(42px,7vw,82px);line-height:1;letter-spacing:-.045em;margin:0 0 22px}.amr-404 p{max-width:650px;color:var(--text-1);font-size:17px;margin-bottom:30px}.amr-404-actions{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:650px){.amr-hero-photo-img{object-position:58% center}.amr-404{padding:105px 0 70px}.amr-404 p{font-size:15px}.amr-404-actions .amr-btn{width:100%;text-align:center}}


/* AMR Controls 3.1.1 — footer logo production fix */
@media(max-width:650px){
  .foot-logo img{height:22px!important;max-height:22px!important;max-width:165px!important;}
}

/* =====================================================
   AMR 3.1.3 — richer technical content
   ===================================================== */
.amr-offer-page .svc-block,
.amr-offer-page .svc-block.rev{align-items:start!important}
.amr-offer-page .svc-text{padding-top:4px}
.amr-offer-page .svc-desc p{margin:0 0 15px!important}
.amr-offer-page .svc-desc strong{color:#fff;font-weight:700}
.amr-offer-page .svc-desc ul{list-style:none;margin:18px 0 22px;padding:0;max-width:610px}
.amr-offer-page .svc-desc li{position:relative;margin:0;padding:7px 0 7px 23px;color:rgba(255,255,255,.72);font-size:15px;line-height:1.58;border-bottom:1px solid rgba(255,255,255,.055)}
.amr-offer-page .svc-desc li:before{content:"";position:absolute;left:0;top:17px;width:7px;height:7px;border:1px solid var(--amr-green);transform:rotate(45deg)}
.amr-offer-page .svc-desc li:last-child{border-bottom:0}
.amr-offer-page .svc-photos{margin-top:6px}
.amr-offer-body p{min-height:72px;line-height:1.55}
.about-competence-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.about-skill{min-height:220px}
.about-skill h3{margin-top:12px!important}
.about-skill p{max-width:560px}
@media(max-width:980px){.amr-offer-page .svc-desc ul{max-width:none}.amr-offer-page .svc-text{padding-top:0}}
@media(max-width:650px){.amr-offer-page .svc-desc li{font-size:14px;padding-left:20px}.amr-offer-body p{min-height:0}.about-competence-grid{grid-template-columns:1fr}}


/* =========================================================
   AMR 3.1.4 — OFFER LAYOUT ONLY
   Long editable descriptions are split visually into:
   1) title + introduction next to photos,
   2) full-width scope list,
   3) full-width technical / standards / closing text,
   4) tags.
   No service content is changed by this patch.
   ========================================================= */
.amr-offer-page:not(.amr-projects-page) .svc-block,
.amr-offer-page:not(.amr-projects-page) .svc-block.rev{
  display:block!important;
  grid-template-columns:none!important;
  min-height:0!important;
  overflow:visible!important;
  padding:100px 0!important;
}
.amr-offer-page:not(.amr-projects-page) .svc-block:first-child{padding-top:55px!important}

.amr-offer-page:not(.amr-projects-page) .svc-top{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  gap:78px;
  align-items:start;
  width:100%;
}
.amr-offer-page:not(.amr-projects-page) .svc-block.rev .svc-top{
  grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);
}
.amr-offer-page:not(.amr-projects-page) .svc-block.rev .svc-top .svc-text{order:2!important}
.amr-offer-page:not(.amr-projects-page) .svc-block.rev .svc-top .svc-photos{order:1!important}

.amr-offer-page:not(.amr-projects-page) .svc-intro p{
  font-size:16px!important;
  line-height:1.75!important;
  color:rgba(255,255,255,.70)!important;
  max-width:610px!important;
  margin:0 0 16px!important;
}
.amr-offer-page:not(.amr-projects-page) .svc-intro strong{color:#fff;font-weight:700}

.amr-offer-page:not(.amr-projects-page) .svc-detail{
  width:100%;
  margin-top:46px;
  padding-top:34px;
  border-top:1px solid rgba(255,255,255,.075);
}
.amr-offer-page:not(.amr-projects-page) .svc-scope-head{
  margin:0 0 12px;
}
.amr-offer-page:not(.amr-projects-page) .svc-scope-head p{
  margin:0!important;
  max-width:none!important;
  color:#fff!important;
  font-size:16px!important;
  line-height:1.55!important;
}
.amr-offer-page:not(.amr-projects-page) .svc-scope-head strong{color:#fff;font-weight:700}

.amr-offer-page:not(.amr-projects-page) .svc-scope ul,
.amr-offer-page:not(.amr-projects-page) .svc-scope ol{
  list-style:none;
  margin:0;
  padding:0;
  max-width:none!important;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:58px;
  align-items:start;
}
.amr-offer-page:not(.amr-projects-page) .svc-scope li{
  position:relative;
  margin:0;
  padding:10px 0 10px 24px;
  color:rgba(255,255,255,.73);
  font-size:15px;
  line-height:1.58;
  border-bottom:1px solid rgba(255,255,255,.06);
  break-inside:avoid;
}
.amr-offer-page:not(.amr-projects-page) .svc-scope li:before{
  content:"";
  position:absolute;
  left:1px;
  top:18px;
  width:7px;
  height:7px;
  border:1px solid var(--amr-green);
  transform:rotate(45deg);
}

.amr-offer-page:not(.amr-projects-page) .svc-outro{
  width:100%;
  max-width:1180px;
  margin-top:30px;
  color:rgba(255,255,255,.70);
}
.amr-offer-page:not(.amr-projects-page) .svc-outro p{
  max-width:1120px!important;
  margin:0 0 17px!important;
  font-size:16px!important;
  line-height:1.75!important;
  color:rgba(255,255,255,.70)!important;
}
.amr-offer-page:not(.amr-projects-page) .svc-outro p:last-child{margin-bottom:0!important}
.amr-offer-page:not(.amr-projects-page) .svc-outro strong{color:#fff;font-weight:700}
.amr-offer-page:not(.amr-projects-page) .svc-outro h3,
.amr-offer-page:not(.amr-projects-page) .svc-outro h4{
  color:#fff;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;
  line-height:1.2;
  margin:30px 0 12px;
}
.amr-offer-page:not(.amr-projects-page) .svc-outro h3{font-size:23px}
.amr-offer-page:not(.amr-projects-page) .svc-outro h4{font-size:19px}

.amr-offer-page:not(.amr-projects-page) .svc-detail>.svc-tags{
  margin-top:30px!important;
}
.amr-offer-page:not(.amr-projects-page) .svc-top + .svc-tags{
  margin-top:30px!important;
}

@media(max-width:980px){
  .amr-offer-page:not(.amr-projects-page) .svc-block,
  .amr-offer-page:not(.amr-projects-page) .svc-block.rev{
    padding:78px 0!important;
  }
  .amr-offer-page:not(.amr-projects-page) .svc-top,
  .amr-offer-page:not(.amr-projects-page) .svc-block.rev .svc-top{
    grid-template-columns:1fr;
    gap:36px;
  }
  .amr-offer-page:not(.amr-projects-page) .svc-block.rev .svc-top .svc-text,
  .amr-offer-page:not(.amr-projects-page) .svc-block.rev .svc-top .svc-photos{
    order:initial!important;
  }
  .amr-offer-page:not(.amr-projects-page) .svc-intro p{max-width:none!important}
  .amr-offer-page:not(.amr-projects-page) .svc-detail{margin-top:36px;padding-top:30px}
  .amr-offer-page:not(.amr-projects-page) .svc-scope ul,
  .amr-offer-page:not(.amr-projects-page) .svc-scope ol{column-gap:34px}
}

@media(max-width:720px){
  .amr-offer-page:not(.amr-projects-page) .svc-block,
  .amr-offer-page:not(.amr-projects-page) .svc-block.rev{
    padding:58px 0!important;
  }
  .amr-offer-page:not(.amr-projects-page) .svc-block:first-child{padding-top:30px!important}
  .amr-offer-page:not(.amr-projects-page) .svc-top{gap:28px}
  .amr-offer-page:not(.amr-projects-page) .svc-detail{margin-top:28px;padding-top:24px}
  .amr-offer-page:not(.amr-projects-page) .svc-scope ul,
  .amr-offer-page:not(.amr-projects-page) .svc-scope ol{
    grid-template-columns:1fr;
    column-gap:0;
  }
  .amr-offer-page:not(.amr-projects-page) .svc-scope li{font-size:14px;padding:9px 0 9px 21px}
  .amr-offer-page:not(.amr-projects-page) .svc-scope li:before{top:16px}
  .amr-offer-page:not(.amr-projects-page) .svc-outro{margin-top:24px}
  .amr-offer-page:not(.amr-projects-page) .svc-outro p,
  .amr-offer-page:not(.amr-projects-page) .svc-intro p{font-size:15px!important;line-height:1.7!important}
}


/* =========================================================
   AMR 3.1.6 — OFFER INTRO + PROCESS IMAGE FIX
   - Only the first paragraph stays next to the photo collage.
   - Remaining lead text uses the full content width below photos.
   - Scope list remains full-width / two-column on desktop.
   - No service content is modified in the database.
   ========================================================= */
.amr-offer-page:not(.amr-projects-page) .svc-pre-scope{
  width:100%;
  max-width:1180px;
  margin:0 0 28px;
}
.amr-offer-page:not(.amr-projects-page) .svc-pre-scope p{
  max-width:1120px!important;
  margin:0 0 17px!important;
  font-size:16px!important;
  line-height:1.75!important;
  color:rgba(255,255,255,.70)!important;
}
.amr-offer-page:not(.amr-projects-page) .svc-pre-scope p:last-child{margin-bottom:0!important}
.amr-offer-page:not(.amr-projects-page) .svc-pre-scope strong{color:#fff;font-weight:700}
.amr-offer-page:not(.amr-projects-page) .svc-intro p:first-child{margin-top:0!important}
.amr-offer-page:not(.amr-projects-page) .svc-intro p:last-child{margin-bottom:0!important}

@media(max-width:720px){
  .amr-offer-page:not(.amr-projects-page) .svc-pre-scope{margin-bottom:24px}
  .amr-offer-page:not(.amr-projects-page) .svc-pre-scope p{font-size:15px!important;line-height:1.7!important}
}


/* =========================================================
   AMR 3.1.7 — OFFER TOP ALIGNMENT / PROJECTS RESTORE
   - Oferta only: title and first paragraph start flush with photo collage.
   - Realizacje are intentionally excluded from all 3.1.4+ offer layout rules.
   ========================================================= */
.amr-offer-page:not(.amr-projects-page) .svc-top .svc-text{
  padding-top:0!important;
  align-self:start!important;
}
.amr-offer-page:not(.amr-projects-page) .svc-top .svc-photos{
  margin-top:0!important;
  align-self:start!important;
}
.amr-offer-page:not(.amr-projects-page) .svc-top .svc-text h2{
  margin-top:0!important;
}


/* =========================================================
   AMR 3.1.8 — OFFER INTRO + POLISH TYPOGRAPHY
   - WordPress/Gutenberg paragraphs are rendered correctly, so the first
     paragraph stays under the service title beside the photo collage.
   - Better line wrapping across the site; single-letter Polish words are
     protected by JS with a non-breaking space.
   ========================================================= */
body p,
body li,
body h1,
body h2,
body h3,
body h4,
body .eyebrow,
body .svc-tag,
body .amr-btn,
body .cta-btn{
  text-wrap:pretty;
}

.amr-offer-page:not(.amr-projects-page) .svc-top{
  align-items:start!important;
}
.amr-offer-page:not(.amr-projects-page) .svc-top .svc-text,
.amr-offer-page:not(.amr-projects-page) .svc-top .svc-photos{
  align-self:start!important;
}
.amr-offer-page:not(.amr-projects-page) .svc-top .svc-text h2{
  margin:0 0 22px!important;
}
.amr-offer-page:not(.amr-projects-page) .svc-top .svc-intro{
  display:block!important;
  margin:0!important;
}
.amr-offer-page:not(.amr-projects-page) .svc-top .svc-intro p{
  display:block!important;
  margin:0!important;
}

@media(max-width:980px){
  .amr-offer-page:not(.amr-projects-page) .svc-top .svc-text h2{
    margin-bottom:18px!important;
  }
}


/* =========================================================
   AMR 3.1.9 — OFFER INTRO FINAL FALLBACK
   The first lead paragraph is kept next to the photo collage.
   The rest of the editable description stays full width below.
   ========================================================= */
.amr-offer-page:not(.amr-projects-page) .svc-top .svc-text{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
}
.amr-offer-page:not(.amr-projects-page) .svc-top .svc-intro:empty{
  display:none!important;
}
.amr-offer-page:not(.amr-projects-page) .svc-top .svc-intro p,
.amr-offer-page:not(.amr-projects-page) .svc-top .svc-intro > *{
  margin-top:0!important;
}


/* =====================================================
   AMR CONTROLS 3.2.1 — PROJECT GALLERY LIGHTBOX
   Extra realization photos open inside the current page.
   The displayed image never exceeds 800 × 600 px.
   ===================================================== */
.project-extra-grid .amr-lightbox-trigger{
  display:block;
  width:100%;
  padding:0;
  margin:0;
  border:1px solid var(--line);
  background:#0d1115;
  overflow:hidden;
  cursor:zoom-in;
  font:inherit;
  color:inherit;
}
.project-extra-grid .amr-lightbox-trigger img{
  display:block;
  width:100%;
  height:180px;
  object-fit:cover;
  transition:transform .3s ease,filter .3s ease;
}
.project-extra-grid .amr-lightbox-trigger:hover img,
.project-extra-grid .amr-lightbox-trigger:focus-visible img{
  transform:scale(1.025);
  filter:brightness(1.08);
}
.project-extra-grid .amr-lightbox-trigger:focus-visible{
  outline:2px solid var(--amr-green);
  outline-offset:3px;
}

.amr-lightbox{
  position:fixed;
  inset:0;
  z-index:10000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:34px 74px;
  background:rgba(2,6,9,.92);
  backdrop-filter:blur(5px);
}
.amr-lightbox.is-open{display:flex}
body.amr-lightbox-open{overflow:hidden}
.amr-lightbox-dialog{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:min(900px,100%);
  max-height:calc(100vh - 68px);
}
.amr-lightbox-image{
  display:block;
  width:auto;
  height:auto;
  max-width:min(800px,calc(100vw - 148px));
  max-height:min(600px,calc(100vh - 150px));
  object-fit:contain;
  background:#0a0e11;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 26px 80px rgba(0,0,0,.48);
}
.amr-lightbox-caption{
  max-width:800px;
  margin-top:12px;
  color:rgba(255,255,255,.72);
  font-size:13px;
  line-height:1.5;
  text-align:center;
}
.amr-lightbox-close,
.amr-lightbox-prev,
.amr-lightbox-next{
  position:absolute;
  z-index:2;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(5,10,13,.86);
  color:#fff;
  cursor:pointer;
  transition:background .2s ease,border-color .2s ease;
}
.amr-lightbox-close:hover,
.amr-lightbox-prev:hover,
.amr-lightbox-next:hover,
.amr-lightbox-close:focus-visible,
.amr-lightbox-prev:focus-visible,
.amr-lightbox-next:focus-visible{
  background:#10181d;
  border-color:var(--amr-green);
  outline:none;
}
.amr-lightbox-close{
  top:-8px;
  right:0;
  width:42px;
  height:42px;
  font-size:25px;
  line-height:1;
}
.amr-lightbox-prev,
.amr-lightbox-next{
  top:50%;
  width:46px;
  height:58px;
  transform:translateY(-50%);
  font-size:25px;
}
.amr-lightbox-prev{left:-62px}
.amr-lightbox-next{right:-62px}
.amr-lightbox-counter{
  margin-top:8px;
  font-family:ui-monospace,"Cascadia Mono",Consolas,"Liberation Mono",monospace;
  color:rgba(255,255,255,.48);
  font-size:11px;
  letter-spacing:.06em;
}
@media(max-width:980px){
  .project-extra-grid .amr-lightbox-trigger img{height:190px}
}
@media(max-width:700px){
  .amr-lightbox{padding:58px 14px 24px}
  .amr-lightbox-dialog{width:100%;max-height:calc(100vh - 82px)}
  .amr-lightbox-image{
    max-width:calc(100vw - 28px);
    max-height:calc(100vh - 170px);
  }
  .amr-lightbox-close{top:-48px;right:0}
  .amr-lightbox-prev,
  .amr-lightbox-next{
    top:auto;
    bottom:-55px;
    width:48px;
    height:42px;
    transform:none;
  }
  .amr-lightbox-prev{left:calc(50% - 58px)}
  .amr-lightbox-next{right:calc(50% - 58px)}
}
@media(max-width:560px){
  .project-extra-grid .amr-lightbox-trigger img{height:220px}
}


/* AMR 3.2.3 — contextual internal links for crawlability / SEO */
.amr-context-link{display:inline-block;margin-top:12px;font-weight:600;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.amr-context-link:hover{opacity:.82}


/* =====================================================
   AMR CONTROLS 3.2.12 — editable contact + privacy-safe fonts + desktop proof image 700px
   ===================================================== */
/* The image keeps the same grid width. Desktop height is set to 700px. Tablet and mobile heights remain unchanged. */
.amr-proof-home .amr-photo-card{height:700px;min-height:700px;align-self:center}
.amr-proof-home .amr-photo-card img{width:100%;height:100%;min-height:0;object-fit:cover;object-position:center 50%}
@media(max-width:860px){
  .amr-proof-home .amr-photo-card{height:340px;min-height:340px}
  .amr-proof-home .amr-photo-card img{min-height:0}
}
@media(max-width:520px){
  .amr-proof-home .amr-photo-card{height:280px;min-height:280px}
}

/* =====================================================
   AMR CONTROLS 3.2.13 — EPM / digitalizacja procesów
   ===================================================== */
.amr-digital-home-card{
  margin-top:34px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);
  min-height:360px;background:#071015;border:1px solid rgba(0,0,0,.08);overflow:hidden;
  color:#fff;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease
}
.amr-digital-home-card:hover{transform:translateY(-2px);box-shadow:0 18px 45px rgba(4,12,16,.18);border-color:rgba(66,200,50,.5)}
.amr-digital-home-copy{padding:54px 48px;display:flex;flex-direction:column;justify-content:center}
.amr-digital-home-copy h3{font-size:clamp(30px,3vw,48px);line-height:1.04;letter-spacing:-.035em;margin:10px 0 18px}
.amr-digital-home-copy p{color:rgba(255,255,255,.72);font-size:16px;line-height:1.7;max-width:650px}
.amr-digital-home-copy>span{margin-top:26px;color:var(--amr-green);font-weight:700;font-size:13px;letter-spacing:.03em;text-transform:uppercase}
.amr-digital-home-image{min-height:100%;background:#071015;display:flex;align-items:stretch}
.amr-digital-home-image img{width:100%;height:100%;object-fit:cover}

.amr-project-case-link{margin-top:22px}
.amr-project-case-link .amr-btn{display:inline-block}

.epm-case-page{background:#f5f6f3;color:#0b1114}
.epm-case-hero{background:#071015;color:#fff;padding:145px 0 74px;overflow:hidden}
.epm-case-hero-grid{display:grid;grid-template-columns:minmax(0,.86fr) minmax(520px,1.14fr);gap:58px;align-items:center}
.epm-case-hero-copy h1{font-size:clamp(46px,5.1vw,78px);line-height:.98;letter-spacing:-.05em;margin:16px 0 22px;max-width:750px}
.epm-case-hero-copy>p{font-size:20px;line-height:1.55;color:rgba(255,255,255,.72);max-width:680px}
.epm-case-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}
.epm-case-tags span{border:1px solid rgba(66,200,50,.38);color:#dce7e1;padding:7px 11px;font-size:12px;background:rgba(66,200,50,.06)}
.epm-case-hero-art{margin:0;box-shadow:0 28px 80px rgba(0,0,0,.26);border:1px solid rgba(255,255,255,.08)}
.epm-case-hero-art img{width:100%;height:auto}

.epm-case-body{padding:90px 0 110px}
.epm-case-content{max-width:980px}
.epm-case-content>.epm-case-lead{font-size:25px;line-height:1.55;color:#1a252a;margin:0 0 72px;max-width:900px}
.epm-case-content h2{font-size:clamp(34px,3.5vw,50px);line-height:1.05;letter-spacing:-.035em;margin:78px 0 22px;color:#081116}
.epm-case-content h2:first-of-type{margin-top:0}
.epm-case-content p{font-size:18px;line-height:1.75;color:#36464e;max-width:860px;margin:0 0 22px}
.epm-case-content .wp-block-quote{margin:66px 0;padding:34px 38px;border-left:4px solid var(--amr-green);background:#0a1419;color:#fff}
.epm-case-content .wp-block-quote p{margin:0;color:#fff;font-size:24px;line-height:1.55}
.epm-case-visual{margin:42px 0 66px;background:#071015;border:1px solid #d7ddda}
.epm-case-visual img{width:100%;height:auto;display:block}
.epm-case-visual figcaption{padding:12px 16px;background:#fff;color:#68777d;font-size:13px;line-height:1.45}

.epm-case-links{padding:78px 0}
.epm-case-links-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:70px;align-items:center}
.epm-case-links h2{font-size:clamp(34px,3.8vw,56px);line-height:1.04;letter-spacing:-.04em;max-width:760px;margin:12px 0 16px}
.epm-case-links p{color:rgba(255,255,255,.7);font-size:17px;max-width:700px}
.epm-case-actions{display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:270px}

@media(max-width:980px){
  .amr-digital-home-card{grid-template-columns:1fr;min-height:0}
  .amr-digital-home-copy{padding:42px 34px}
  .amr-digital-home-image{min-height:260px}
  .epm-case-hero{padding:125px 0 60px}
  .epm-case-hero-grid{grid-template-columns:1fr;gap:38px}
  .epm-case-hero-art{max-width:820px}
  .epm-case-links-grid{grid-template-columns:1fr;gap:36px}
}
@media(max-width:640px){
  .amr-digital-home-card{margin-top:24px}
  .amr-digital-home-copy{padding:34px 24px}
  .amr-digital-home-copy h3{font-size:31px}
  .amr-digital-home-image{min-height:190px}
  .epm-case-hero{padding:108px 0 46px}
  .epm-case-hero-copy h1{font-size:44px}
  .epm-case-hero-copy>p{font-size:17px}
  .epm-case-body{padding:64px 0 78px}
  .epm-case-content>.epm-case-lead{font-size:21px;margin-bottom:54px}
  .epm-case-content h2{margin-top:56px;font-size:35px}
  .epm-case-content p{font-size:16px}
  .epm-case-content .wp-block-quote{padding:26px 24px;margin:50px 0}
  .epm-case-content .wp-block-quote p{font-size:20px}
  .epm-case-visual{margin:30px 0 50px}
}
/* EPM starter graphics are diagrams, not photos — keep the complete frame visible. */
.amr-projects-page .svc-photos img[src*="/epm/"]{object-fit:contain!important;background:#071015!important}

/* =====================================================
   AMR CONTROLS 3.2.14 — EPM STORY CASE STUDY
   ===================================================== */
.epm-case-page-3214{background:var(--bg-0);color:var(--text-0)}
.epm-case-page-3214 .epm-case-hero{position:relative;background:#080d11;padding:150px 0 92px;border-bottom:1px solid var(--line)}
.epm-case-grid-bg{position:absolute;inset:0;opacity:.32;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:54px 54px;mask-image:linear-gradient(90deg,#000 0%,rgba(0,0,0,.7) 55%,transparent 100%)}
.epm-case-page-3214 .epm-case-hero-grid{position:relative;z-index:2;grid-template-columns:minmax(0,.92fr) minmax(460px,1.08fr);gap:70px}
.epm-case-page-3214 .epm-case-hero-copy h1{font-size:clamp(48px,5.4vw,82px);max-width:820px}
.epm-case-page-3214 .epm-case-hero-copy>p{max-width:720px}
.epm-case-page-3214 .epm-case-hero-art{background:#0d1419;border-color:rgba(255,255,255,.1);box-shadow:0 30px 90px rgba(0,0,0,.34)}
.epm-case-page-3214 .epm-case-tags span{border-color:rgba(82,185,52,.32);background:rgba(82,185,52,.055)}
.epm-case-body{padding:0!important;background:var(--bg-0)}
.epm-story-intro{padding:110px 0;background:#f3f5f2;color:#0b1114}
.epm-story-intro-grid{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:90px;align-items:start}
.epm-story-intro .amr-label{color:#4d6354}
.epm-story-intro h2,.epm-story-summary h2{font-size:clamp(38px,4.2vw,62px);line-height:1.03;letter-spacing:-.045em;margin:14px 0 0}
.epm-story-intro p{font-size:17px;line-height:1.8;color:#425159;margin:0 0 20px}
.epm-story-intro .epm-case-lead{font-size:23px;line-height:1.58;color:#18262c}
.epm-story-section{padding:105px 0 115px;background:#101419;border-top:1px solid var(--line)}
.epm-story-section-alt{background:#171c22}
.epm-story-head{display:grid;grid-template-columns:90px minmax(0,1fr);gap:34px;align-items:start;margin-bottom:34px}
.epm-story-head>span{font-family:ui-monospace,"Cascadia Mono",Consolas,monospace;font-size:14px;letter-spacing:.1em;color:var(--amr-green);padding-top:10px}
.epm-story-head h2{font-size:clamp(36px,4.1vw,60px);line-height:1.03;letter-spacing:-.045em;margin:8px 0 0;max-width:930px;color:#fff}
.epm-story-section .amr-label{color:rgba(255,255,255,.48)}
.epm-story-copy{max-width:910px;margin-left:124px}
.epm-story-copy p{font-size:17px;line-height:1.82;color:rgba(255,255,255,.68);margin:0 0 20px}
.epm-story-copy strong{color:#fff;font-weight:600}
.epm-story-copy blockquote{margin:42px 0 0;padding:24px 28px;border-left:3px solid var(--amr-green);background:rgba(255,255,255,.035)}
.epm-story-copy blockquote p{margin:0;color:#fff;font-size:21px;line-height:1.55}
.epm-shot-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:48px 0 0 124px;max-width:1040px}
.epm-shot-gallery.count-1{grid-template-columns:minmax(0,900px)}
.epm-shot-gallery.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.epm-shot{appearance:none;border:1px solid rgba(255,255,255,.1);background:#090d11;padding:0;overflow:hidden;cursor:zoom-in;min-height:250px}
.epm-shot img{width:100%;height:100%;max-height:520px;min-height:250px;object-fit:cover;object-position:center;transition:transform .28s ease,filter .28s ease}
.epm-shot:hover img,.epm-shot:focus-visible img{transform:scale(1.018);filter:brightness(1.07)}
.epm-shot:focus-visible{outline:2px solid var(--amr-green);outline-offset:3px}
.epm-story-summary{padding:110px 0;background:#f3f5f2;color:#0b1114}
.epm-story-summary-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:90px;align-items:start}
.epm-story-summary .amr-label{color:#4d6354}
.epm-story-summary p{font-size:17px;line-height:1.82;color:#425159;margin:0 0 20px}
.epm-case-page-3214 .epm-case-links{border-top:1px solid var(--line)}
@media(max-width:980px){
  .epm-case-page-3214 .epm-case-hero-grid,.epm-story-intro-grid,.epm-story-summary-grid{grid-template-columns:1fr;gap:44px}
  .epm-case-page-3214 .epm-case-hero-art{max-width:820px}
  .epm-story-head{grid-template-columns:58px 1fr;gap:20px}
  .epm-story-copy,.epm-shot-gallery{margin-left:78px}
  .epm-shot-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .epm-shot-gallery.count-1{grid-template-columns:1fr}
}
@media(max-width:650px){
  .epm-case-page-3214 .epm-case-hero{padding:108px 0 52px}
  .epm-case-page-3214 .epm-case-hero-copy h1{font-size:42px}
  .epm-story-intro,.epm-story-summary{padding:70px 0}
  .epm-story-section{padding:72px 0 78px}
  .epm-story-head{grid-template-columns:1fr;gap:8px;margin-bottom:24px}
  .epm-story-head>span{padding-top:0}
  .epm-story-head h2{font-size:36px}
  .epm-story-copy,.epm-shot-gallery{margin-left:0}
  .epm-story-copy p,.epm-story-summary p,.epm-story-intro p{font-size:16px}
  .epm-story-copy blockquote{padding:20px;margin-top:30px}
  .epm-story-copy blockquote p{font-size:18px}
  .epm-shot-gallery,.epm-shot-gallery.count-2{grid-template-columns:1fr;gap:10px;margin-top:34px}
  .epm-shot{min-height:200px}
  .epm-shot img{min-height:200px;max-height:440px}
}


/* =====================================================
   AMR CONTROLS 3.2.15 — EPM CASE STUDY DESIGN REFINEMENT
   Wider story headings, calmer rhythm and screenshot-first galleries.
   ===================================================== */
.epm-case-page-3215{background:#0b1014;color:var(--text-0)}
.epm-case-page-3215 .epm-case-hero{position:relative;background:#080d11;padding:142px 0 84px;border-bottom:1px solid rgba(255,255,255,.08)}
.epm-case-page-3215 .epm-case-hero-grid{position:relative;z-index:2;grid-template-columns:minmax(0,.98fr) minmax(460px,1.02fr);gap:76px;align-items:center}
.epm-case-page-3215 .epm-case-hero-copy h1{font-size:clamp(48px,5vw,78px);line-height:.99;letter-spacing:-.047em;max-width:790px;margin:16px 0 22px}
.epm-case-page-3215 .epm-case-hero-copy>p{font-size:19px;line-height:1.6;max-width:690px;color:rgba(255,255,255,.72)}
.epm-case-page-3215 .epm-case-hero-art{position:relative;background:#0d1419;border:1px solid rgba(255,255,255,.11);box-shadow:0 30px 84px rgba(0,0,0,.32);overflow:hidden}
.epm-case-page-3215 .epm-case-hero-art:before{content:"";position:absolute;inset:0;border-top:2px solid var(--amr-green);opacity:.78;pointer-events:none;z-index:1}
.epm-case-page-3215 .epm-case-tags{gap:7px;margin-top:26px}
.epm-case-page-3215 .epm-case-tags span{font-size:11px;letter-spacing:.02em;padding:7px 10px;border-color:rgba(82,185,52,.3);background:rgba(82,185,52,.05)}

/* opening statement */
.epm-case-page-3215 .epm-story-intro{padding:96px 0 100px;background:#f3f5f2;color:#0b1114}
.epm-case-page-3215 .epm-story-intro-grid{grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr);gap:96px;align-items:start}
.epm-case-page-3215 .epm-story-intro h2{font-size:clamp(40px,4vw,60px);line-height:1.02;max-width:580px}
.epm-case-page-3215 .epm-story-intro .epm-case-lead{font-size:22px;line-height:1.58;color:#15242a;margin-bottom:22px}
.epm-case-page-3215 .epm-story-intro p{font-size:17px;line-height:1.78;color:#46545b}

/* chapters — true two-column editorial layout */
.epm-case-page-3215 .epm-story-section{position:relative;padding:84px 0 92px;background:#0d1217;border-top:1px solid rgba(255,255,255,.075);overflow:hidden}
.epm-case-page-3215 .epm-story-section-alt{background:#12181e}
.epm-case-page-3215 .epm-story-section>.wrap{position:relative;display:grid;grid-template-columns:minmax(320px,390px) minmax(0,1fr);column-gap:88px;row-gap:0;align-items:start}
.epm-case-page-3215 .epm-story-section>.wrap:before{content:"";position:absolute;width:1px;background:linear-gradient(180deg,var(--amr-green),rgba(82,185,52,.05));top:0;bottom:0;left:434px;opacity:.32;pointer-events:none}
.epm-case-page-3215 .epm-story-head{grid-column:1;display:block;margin:0;position:relative;padding-right:8px}
.epm-case-page-3215 .epm-story-head>span{display:block;font-size:48px;line-height:1;font-weight:700;letter-spacing:-.04em;color:rgba(82,185,52,.22);padding:0 0 24px;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.epm-case-page-3215 .epm-story-head .amr-label{color:#63d84d;margin-bottom:12px}
.epm-case-page-3215 .epm-story-head h2{font-size:clamp(34px,2.8vw,48px);line-height:1.06;letter-spacing:-.04em;margin:0;max-width:390px;color:#fff;text-wrap:balance}
.epm-case-page-3215 .epm-story-copy{grid-column:2;max-width:790px;margin:0;padding-top:72px}
.epm-case-page-3215 .epm-story-copy p{font-size:17px;line-height:1.78;color:rgba(255,255,255,.71);margin:0 0 20px}
.epm-case-page-3215 .epm-story-copy strong{color:#fff;font-weight:650}
.epm-case-page-3215 .epm-story-copy blockquote{margin:34px 0 0;padding:22px 26px;border-left:3px solid var(--amr-green);background:rgba(255,255,255,.035)}
.epm-case-page-3215 .epm-story-copy blockquote p{font-size:20px;line-height:1.5;color:#fff;margin:0}

/* screenshot galleries — show software UI without destructive cropping */
.epm-case-page-3215 .epm-shot-gallery{grid-column:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:36px 0 0;max-width:none;width:100%}
.epm-case-page-3215 .epm-shot-gallery.count-1{grid-template-columns:1fr}
.epm-case-page-3215 .epm-shot-gallery.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.epm-case-page-3215 .epm-shot{min-height:0;background:#070b0e;border:1px solid rgba(255,255,255,.11);box-shadow:0 14px 40px rgba(0,0,0,.18)}
.epm-case-page-3215 .epm-shot img{width:100%;height:auto;min-height:0;max-height:600px;object-fit:contain;object-position:center;background:#070b0e}
.epm-case-page-3215 .epm-shot-gallery.count-1 .epm-shot img{max-height:640px}
.epm-case-page-3215 .epm-shot:hover img,.epm-case-page-3215 .epm-shot:focus-visible img{transform:none;filter:brightness(1.045)}

/* summary + CTA */
.epm-case-page-3215 .epm-story-summary{padding:96px 0 102px;background:#f3f5f2;color:#0b1114}
.epm-case-page-3215 .epm-story-summary-grid{grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr);gap:96px;align-items:start}
.epm-case-page-3215 .epm-story-summary h2{font-size:clamp(40px,4vw,60px);max-width:600px}
.epm-case-page-3215 .epm-story-summary p{font-size:17px;line-height:1.78;color:#46545b}
.epm-case-page-3215 .epm-case-links{padding:82px 0;border-top:1px solid rgba(255,255,255,.08)}

@media(max-width:1100px){
  .epm-case-page-3215 .epm-case-hero-grid{grid-template-columns:1fr;gap:42px}
  .epm-case-page-3215 .epm-case-hero-art{max-width:900px}
  .epm-case-page-3215 .epm-story-section>.wrap{grid-template-columns:minmax(260px,320px) minmax(0,1fr);column-gap:56px}
  .epm-case-page-3215 .epm-story-section>.wrap:before{display:none}
  .epm-case-page-3215 .epm-story-copy{padding-top:58px}
}
@media(max-width:820px){
  .epm-case-page-3215 .epm-story-intro-grid,.epm-case-page-3215 .epm-story-summary-grid{grid-template-columns:1fr;gap:38px}
  .epm-case-page-3215 .epm-story-section>.wrap{display:block}
  .epm-case-page-3215 .epm-story-head{max-width:640px;margin-bottom:28px}
  .epm-case-page-3215 .epm-story-head>span{font-size:36px;padding-bottom:16px}
  .epm-case-page-3215 .epm-story-copy{padding-top:0;max-width:760px}
  .epm-case-page-3215 .epm-shot-gallery{margin-top:30px;grid-template-columns:repeat(2,minmax(0,1fr))}
  .epm-case-page-3215 .epm-shot-gallery.count-1{grid-template-columns:1fr}
}
@media(max-width:650px){
  .epm-case-page-3215 .epm-case-hero{padding:106px 0 50px}
  .epm-case-page-3215 .epm-case-hero-copy h1{font-size:42px}
  .epm-case-page-3215 .epm-story-intro,.epm-case-page-3215 .epm-story-summary{padding:68px 0 72px}
  .epm-case-page-3215 .epm-story-section{padding:66px 0 72px}
  .epm-case-page-3215 .epm-story-head h2{font-size:35px}
  .epm-case-page-3215 .epm-story-copy p{font-size:16px;line-height:1.72}
  .epm-case-page-3215 .epm-story-copy blockquote{padding:19px 20px;margin-top:28px}
  .epm-case-page-3215 .epm-story-copy blockquote p{font-size:18px}
  .epm-case-page-3215 .epm-shot-gallery,.epm-case-page-3215 .epm-shot-gallery.count-2{grid-template-columns:1fr;gap:10px}
}


/* ==========================================================
   AMR Controls 3.2.16 — unified page heroes + structured EPM
   ========================================================== */
.about-page-banner,.epm-page-banner{min-height:430px}
.about-page-banner .hero-bg,.epm-page-banner .hero-bg{background-position:center 48%;filter:saturate(.72) contrast(1.06) brightness(.78)}
.about-page-banner .hero-overlay,.epm-page-banner .hero-overlay{background:linear-gradient(90deg,rgba(8,13,17,.94) 0%,rgba(8,13,17,.78) 42%,rgba(8,13,17,.43) 72%,rgba(8,13,17,.67) 100%)}
.about-page-banner .page-banner-content,.epm-page-banner .page-banner-content{padding-top:138px;padding-bottom:56px}
.about-page-banner h1,.epm-page-banner h1{font-size:clamp(42px,4.8vw,68px);line-height:1;letter-spacing:-.045em;max-width:850px;margin:10px 0 18px}
.about-page-banner p,.epm-page-banner p{font-size:17px;line-height:1.65;max-width:700px;color:rgba(255,255,255,.78)}
.about-intro-after-banner{padding-top:88px}
.about-intro-after-banner .about-intro-copy{align-self:center}
.about-intro-after-banner .about-intro-copy p{font-size:18px;line-height:1.75;max-width:690px}
.about-intro-after-banner .section-eyebrow{margin-bottom:22px}

.epm-case-page-3216{background:#0b1014;color:var(--text-0)}
.epm-case-page-3216 .epm-story-intro{padding:92px 0 96px;background:#f3f5f2;color:#0b1114}
.epm-case-page-3216 .epm-story-intro-grid{display:grid;grid-template-columns:minmax(360px,.88fr) minmax(0,1.12fr);gap:92px;align-items:start}
.epm-case-page-3216 .epm-story-intro h2{font-size:clamp(40px,4vw,60px);line-height:1.02;letter-spacing:-.04em;margin-top:12px;max-width:610px}
.epm-case-page-3216 .epm-story-intro-copy p{font-size:17px;line-height:1.78;color:#46545b;margin:0 0 18px}

.epm-case-page-3216 .epm-story-section{position:relative;padding:82px 0 90px;background:#0d1217;border-top:1px solid rgba(255,255,255,.075);overflow:hidden}
.epm-case-page-3216 .epm-story-section-alt{background:#12181e}
.epm-case-page-3216 .epm-story-section>.wrap{position:relative;display:grid;grid-template-columns:minmax(320px,390px) minmax(0,1fr);column-gap:88px;row-gap:0;align-items:start}
.epm-case-page-3216 .epm-story-section>.wrap:before{content:"";position:absolute;width:1px;background:linear-gradient(180deg,var(--amr-green),rgba(82,185,52,.05));top:0;bottom:0;left:434px;opacity:.32;pointer-events:none}
.epm-case-page-3216 .epm-story-head{grid-column:1;display:block;margin:0;position:relative;padding-right:8px}
.epm-case-page-3216 .epm-story-head>span{display:block;font-size:48px;line-height:1;font-weight:700;letter-spacing:-.04em;color:rgba(82,185,52,.22);padding:0 0 24px}
.epm-case-page-3216 .epm-story-head .amr-label{color:#63d84d;margin-bottom:12px}
.epm-case-page-3216 .epm-story-head h2{font-size:clamp(34px,2.8vw,48px);line-height:1.06;letter-spacing:-.04em;margin:0;max-width:390px;color:#fff;text-wrap:balance}
.epm-case-page-3216 .epm-story-copy{grid-column:2;max-width:820px;margin:0;padding-top:72px}
.epm-case-page-3216 .epm-story-copy p{font-size:17px;line-height:1.78;color:rgba(255,255,255,.73);margin:0 0 20px}
.epm-case-page-3216 .epm-story-copy strong{color:#fff;font-weight:650}
.epm-case-page-3216 .epm-story-copy blockquote{margin:34px 0 0;padding:22px 26px;border-left:3px solid var(--amr-green);background:rgba(255,255,255,.035)}
.epm-case-page-3216 .epm-story-copy blockquote p{font-size:20px;line-height:1.5;color:#fff;margin:0}
.epm-case-page-3216 .epm-shot-gallery{grid-column:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:36px 0 0;width:100%}
.epm-case-page-3216 .epm-shot-gallery.count-1{grid-template-columns:1fr}
.epm-case-page-3216 .epm-shot-gallery.count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.epm-case-page-3216 .epm-shot{min-height:0;background:#070b0e;border:1px solid rgba(255,255,255,.11);box-shadow:0 14px 40px rgba(0,0,0,.18)}
.epm-case-page-3216 .epm-shot img{width:100%;height:auto;min-height:0;max-height:620px;object-fit:contain;object-position:center;background:#070b0e}
.epm-case-page-3216 .epm-shot-gallery.count-1 .epm-shot img{max-height:690px}

.epm-case-page-3216 .epm-story-summary{padding:92px 0 98px;background:#f3f5f2;color:#0b1114}
.epm-case-page-3216 .epm-story-summary-grid{display:grid;grid-template-columns:minmax(360px,.88fr) minmax(0,1.12fr);gap:36px 92px;align-items:start}
.epm-case-page-3216 .epm-story-summary h2{font-size:clamp(40px,4vw,60px);line-height:1.02;letter-spacing:-.04em;max-width:610px;margin-top:12px}
.epm-case-page-3216 .epm-story-summary-copy p{font-size:17px;line-height:1.78;color:#46545b;margin:0 0 18px}
.epm-case-page-3216 .epm-story-summary-copy blockquote{margin:30px 0 0;padding:22px 26px;border-left:3px solid var(--amr-green);background:#e8ece7}
.epm-case-page-3216 .epm-story-summary-copy blockquote p{font-size:20px;line-height:1.5;color:#10191d;margin:0}
.epm-case-page-3216 .epm-story-summary .epm-shot-gallery{grid-column:1/-1;margin-top:14px}
.epm-case-page-3216 .epm-case-links{padding:82px 0;border-top:1px solid rgba(255,255,255,.08)}

@media(max-width:1050px){
  .about-page-banner,.epm-page-banner{min-height:390px}
  .epm-case-page-3216 .epm-story-intro-grid,.epm-case-page-3216 .epm-story-summary-grid{grid-template-columns:1fr;gap:38px}
  .epm-case-page-3216 .epm-story-section>.wrap{grid-template-columns:minmax(260px,320px) minmax(0,1fr);column-gap:56px}
  .epm-case-page-3216 .epm-story-section>.wrap:before{display:none}
  .epm-case-page-3216 .epm-story-copy{padding-top:58px}
}
@media(max-width:760px){
  .about-page-banner,.epm-page-banner{min-height:330px!important}
  .about-page-banner .page-banner-content,.epm-page-banner .page-banner-content{padding-top:102px!important;padding-bottom:42px!important}
  .about-page-banner h1,.epm-page-banner h1{font-size:clamp(36px,10.5vw,48px)!important}
  .about-intro-after-banner{padding-top:66px!important}
  .epm-case-page-3216 .epm-story-intro,.epm-case-page-3216 .epm-story-summary{padding:68px 0 72px}
  .epm-case-page-3216 .epm-story-section{padding:64px 0 70px}
  .epm-case-page-3216 .epm-story-section>.wrap{display:block}
  .epm-case-page-3216 .epm-story-head{max-width:640px;margin-bottom:28px}
  .epm-case-page-3216 .epm-story-head>span{font-size:36px;padding-bottom:16px}
  .epm-case-page-3216 .epm-story-head h2{font-size:35px}
  .epm-case-page-3216 .epm-story-copy{padding-top:0;max-width:760px}
  .epm-case-page-3216 .epm-story-copy p{font-size:16px;line-height:1.72}
  .epm-case-page-3216 .epm-story-copy blockquote{padding:19px 20px;margin-top:28px}
  .epm-case-page-3216 .epm-story-copy blockquote p{font-size:18px}
  .epm-case-page-3216 .epm-shot-gallery,.epm-case-page-3216 .epm-shot-gallery.count-2{grid-template-columns:1fr;gap:10px;margin-top:28px}
}


/* ==========================================================
   AMR Controls 3.2.17 — unified subpage hero height
   O nas / Oferta / Realizacje / Kontakt / EPM
   ========================================================== */
.amr-subpage-hero{
  min-height:430px!important;
}
.amr-subpage-hero .page-banner-content{
  padding-top:138px!important;
  padding-bottom:56px!important;
}
@media(max-width:1050px){
  .amr-subpage-hero{min-height:390px!important;}
}
@media(max-width:760px){
  .amr-subpage-hero{min-height:330px!important;}
  .amr-subpage-hero .page-banner-content{
    padding-top:102px!important;
    padding-bottom:42px!important;
  }
}


/* 3.3.1 — accessibility */
.amr-skip{position:absolute;left:-9999px;top:8px;z-index:10000;background:var(--amber);color:#12151A;padding:10px 16px;font-weight:600}
.amr-skip:focus{left:8px}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--amber);outline-offset:3px}
.amr-form-next{color:var(--text-1);font-size:14px;margin:0 0 16px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}


/* AMR Controls 3.3.3 — contact attachments + strengthened local anti-spam */
.field input[type="file"]{padding:9px 10px;cursor:pointer}
.field input[type="file"]::file-selector-button{margin-right:12px;border:1px solid var(--line-strong);background:#20252c;color:var(--text-0);padding:8px 11px;font-weight:700;cursor:pointer}
.amr-file-note{margin-top:7px;color:var(--text-2);font-size:12px;line-height:1.5}
.amr-file-note strong{color:var(--text-1)}
