
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#07172b;background:#fff;line-height:1.5}
a{color:inherit}
.shell{width:min(1680px,calc(100% - 64px));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #e7edf4}
.nav{height:78px;display:flex;align-items:center;gap:28px}
.brand,.brand:link,.brand:visited,.brand:hover,.brand:active{background:transparent;text-decoration:none}
.brand img{display:block;width:190px;height:58px;object-fit:contain;background:transparent}
.nav nav{display:flex;gap:28px;margin-left:auto}
.nav nav a{font-size:14px;font-weight:800;text-decoration:none;padding:28px 0 24px;border-bottom:3px solid transparent}
.nav nav a:hover,.nav nav a.active{color:#0876ec;border-color:#0876ec}
.top-phone,.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:850;border-radius:9px}
.top-phone{padding:13px 20px;background:#0876ec;color:#fff;white-space:nowrap;box-shadow:0 8px 22px #0876ec2a}
.menu-btn{display:none;border:0;background:transparent;font-size:26px}





.eyebrow{font-size:17px;line-height:1.25;font-weight:900;letter-spacing:.13em;color:#43a3ff}
.hero h1{font-size:clamp(52px,5vw,78px);line-height:.98;margin:15px 0 22px;letter-spacing:-.045em}
.hero h1 span{color:#2182ff}
.lead{font-size:19px;color:#edf6ff;max-width:680px}
.trust{display:flex;gap:32px;flex-wrap:wrap;margin:21px 0 28px;font-weight:750}
.actions{display:flex;gap:14px;flex-wrap:wrap}
.btn{min-height:48px;padding:0 22px;border:1px solid #a7c9ec;color:#fff}
.btn.primary{background:#0876ec;border-color:#0876ec}
.btn.ghost{background:transparent}


.section{padding:74px 0}
.section-head{text-align:center;max-width:800px;margin:0 auto 34px}
.section-head .eyebrow,.why .eyebrow,.area-card .eyebrow,.contact-card .eyebrow{font-size:17px}
.section-head h2{font-size:42px;margin:8px 0 8px;letter-spacing:-.03em}
.section-head p{color:#637184;margin:0}
.blue{color:#0876ec}
.center{text-align:center}

.service-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.service-card{border:1px solid #dce6f0;border-radius:14px;padding:24px 20px;background:#fff;box-shadow:0 8px 24px #001d3d08;display:flex;flex-direction:column;min-height:292px}
.service-card:hover{transform:translateY(-3px);box-shadow:0 15px 35px #001d3d14;transition:.2s}
.ico{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#e9f3ff;margin-bottom:14px}
.ico img{width:31px;height:31px;display:block}
.service-card h3{font-size:18px;line-height:1.15;margin:0 0 10px}
.service-card ul{padding-left:18px;margin:0 0 16px;color:#44546a;font-size:14px}
.service-card a{margin-top:auto;color:#0876ec;font-weight:850;text-decoration:none;font-size:13px}

.why{background:linear-gradient(90deg,#073a70,#031c39 35%,#02162c);color:#fff;padding:50px 0}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:26px}
.why-grid>div{text-align:center;padding:8px 36px;border-right:1px solid #ffffff2d}
.why-grid>div:last-child{border:0}
.why-grid b{font-size:36px;color:#1687ff}
.why-grid h3{font-size:16px;margin:8px 0}
.why-grid p{font-size:13px;color:#c7d7e8;margin:0}

.projects{padding:64px 0 44px}
.project-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.project-grid article{border:1px solid #dfe8f1;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 8px 20px #001d3d0b}
.project-grid img{width:100%;aspect-ratio:16/9;display:block;object-fit:cover}
.project-grid h3{font-size:15px;margin:12px 14px 4px}
.project-grid p{font-size:12px;color:#5e6d7e;margin:0 14px 15px}

.contact-section{padding:0 0 48px}
.contact-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:20px}
.area-card,.contact-card{border-radius:16px;padding:32px 38px}
.area-card{background:#f5f8fc;border:1px solid #e0e7f0}
.area-card h2,.contact-card h2{font-size:30px;line-height:1.05;margin:8px 0}
.area-card p{color:#5c6a7c}
.mini-map{height:190px;border-radius:14px;margin-top:16px;overflow:hidden;background:#edf4fb}
.mini-map img{width:100%;height:100%;display:block;object-fit:cover}
.contact-card{background:linear-gradient(135deg,#06468b,#031d3b);color:#fff;display:grid;grid-template-columns:1.4fr .8fr;gap:30px;align-items:center}
.contact-card a{color:#fff;text-decoration:none}
.contact-card p{margin:9px 0;font-weight:700}
.contact-actions{display:flex;flex-direction:column;gap:12px}
.contact-actions .btn{width:100%}

footer{background:#02162d;color:#e9f2fb;padding:38px 0 18px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.4fr;gap:40px}
.footer-logo{width:180px;height:58px;object-fit:contain}
footer h3{font-size:14px;margin:0 0 10px}
footer a,footer span{display:block;color:#c7d5e4;text-decoration:none;font-size:13px;margin:5px 0}
footer p{color:#b9cadc;font-size:13px;max-width:280px}
.copyright{text-align:center;border-top:1px solid #ffffff1f;margin-top:24px;padding-top:16px;color:#9db2c8;font-size:12px}
.floating-phone{display:none;position:fixed;right:18px;bottom:18px;width:58px;height:58px;border-radius:50%;place-items:center;background:#0876ec;color:#fff;text-decoration:none;font-size:26px;z-index:60;box-shadow:0 10px 30px #0005}

@media(min-width:1500px){.shell{width:min(1760px,calc(100% - 72px))}.hero::before{background-size:60% auto}}
@media(max-width:1180px){.service-grid{grid-template-columns:repeat(3,1fr)}.project-grid{grid-template-columns:repeat(3,1fr)}.hero-grid{grid-template-columns:minmax(520px,48%) 1fr}.hero::before{background-size:68% auto}.nav nav{gap:18px}.top-phone{padding:11px 14px}}
@media(max-width:820px){
.shell{width:min(100% - 32px,720px)}.nav{height:68px}.brand img{width:155px;height:50px}.menu-btn{display:block;margin-left:auto}.nav nav{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;padding:12px 20px 20px;box-shadow:0 16px 30px #001d3d18}.nav nav.open{display:flex;flex-direction:column;gap:0}.nav nav a{padding:12px 4px;border-bottom:1px solid #edf2f7}.top-phone{display:none}
.hero::before{background:rgba(0,22,45,.84)}
.hero-grid{grid-template-columns:1fr;min-height:auto}.hero-copy{padding:46px 0 34px}.hero-visual{display:none}.hero h1{font-size:50px}
.eyebrow,.section-head .eyebrow,.why .eyebrow,.area-card .eyebrow,.contact-card .eyebrow{font-size:13px}
.service-grid{grid-template-columns:repeat(2,1fr)}.why-grid{grid-template-columns:1fr 1fr;gap:20px}.why-grid>div{border:0}.project-grid{grid-template-columns:repeat(2,1fr)}.contact-grid{grid-template-columns:1fr}.contact-card{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.floating-phone{display:grid}
}
@media(max-width:520px){.shell{width:min(100% - 24px,480px)}.hero h1{font-size:43px}.lead{font-size:16px}.trust{gap:14px;font-size:13px}.actions .btn{width:100%}.section{padding:52px 0}.section-head h2{font-size:32px}.service-grid,.project-grid,.why-grid,.footer-grid{grid-template-columns:1fr}.service-card{min-height:auto}.area-card,.contact-card{padding:25px 22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.service-card:hover{transform:none}}


/* FINAL V11 — hero bez nakładek i bez zoomu */
.hero{
  background:#021a34;
  color:#fff;
  overflow:hidden;
}
.hero-grid{
  width:100%;
  max-width:none;
  display:grid;
  grid-template-columns:minmax(560px,40%) 1fr;
  min-height:520px;
  align-items:stretch;
}
.hero-copy{
  width:min(680px,calc(100% - 48px));
  margin-left:auto;
  margin-right:34px;
  padding:56px 0 54px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hero-visual{
  min-width:0;
  min-height:520px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  background:#021a34;
  overflow:hidden;
}
.hero-visual img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:right center;
  background:#021a34;
}
@media(max-width:1180px){
  .hero-grid{grid-template-columns:minmax(500px,46%) 1fr}
  .hero-copy{margin-right:20px}
}
@media(max-width:820px){
  .hero-grid{display:block;min-height:auto}
  .hero-copy{
    width:min(100% - 32px,720px);
    margin:0 auto;
    padding:46px 0 32px;
  }
  .hero-visual{
    min-height:auto;
    width:100%;
  }
  .hero-visual img{
    width:100%;
    height:auto;
    object-fit:contain;
  }
}



/* FINAL V12 — layout zgodny z zaakceptowaną makietą */

/* Większe logo w nagłówku */
.site-header .nav{height:88px}
.brand img{
  width:235px;
  height:70px;
  object-fit:contain;
}
.nav nav a{padding-top:33px;padding-bottom:29px}

/* Sekcja usług — większa czytelność i lepsze wykorzystanie szerokości */
.services .shell{
  width:min(1760px,calc(100% - 56px));
}
.services .section-head{
  margin-bottom:38px;
}
.services .section-head h2{
  font-size:44px;
  margin-top:0;
  margin-bottom:10px;
}
.services .section-head p{
  font-size:17px;
}
.service-grid{
  gap:20px;
}
.service-card{
  min-height:315px;
  padding:27px 24px 24px;
}
.service-card h3{
  font-size:20px;
  line-height:1.18;
  margin-bottom:12px;
}
.service-card ul{
  font-size:15.5px;
  line-height:1.55;
  padding-left:20px;
}
.service-card li{
  margin-bottom:3px;
}
.service-card a{
  font-size:14px;
}
.ico{
  width:56px;
  height:56px;
}
.ico img{
  width:34px;
  height:34px;
}

/* Dlaczego my — większy pasek i wyraźniejsza typografia */
.why{
  padding:54px 0 58px;
}
.why-title{
  text-align:center;
  font-size:42px;
  line-height:1.1;
  margin:0 0 34px;
  letter-spacing:-.03em;
}
.why-grid{
  margin-top:0;
  gap:0;
}
.why-grid>div{
  padding:10px 44px 12px;
}
.why-grid b{
  font-size:42px;
}
.why-grid h3{
  font-size:19px;
  margin:10px 0 8px;
}
.why-grid p{
  font-size:15px;
  line-height:1.5;
  max-width:320px;
  margin:0 auto;
}

/* Realizacje — bez małego niebieskiego nadtytułu */
.projects .section-head h2{
  margin-top:0;
}

/* Nieco mocniejsze wykorzystanie dużych ekranów */
@media(min-width:1500px){
  .shell{width:min(1760px,calc(100% - 64px))}
  .services .shell{width:min(1820px,calc(100% - 64px))}
  .service-card{padding-left:26px;padding-right:26px}
}

/* Responsywność po powiększeniu elementów */
@media(max-width:1180px){
  .site-header .nav{height:78px}
  .brand img{width:205px;height:62px}
  .nav nav a{padding-top:28px;padding-bottom:24px}
  .service-card h3{font-size:18px}
  .service-card ul{font-size:14.5px}
}
@media(max-width:820px){
  .site-header .nav{height:70px}
  .brand img{width:180px;height:54px}
  .services .shell{width:min(100% - 32px,720px)}
  .services .section-head h2{font-size:36px}
  .service-card{min-height:auto}
  .service-card h3{font-size:18px}
  .service-card ul{font-size:14.5px}
  .why-title{font-size:34px}
  .why-grid h3{font-size:18px}
  .why-grid p{font-size:14px}
}
@media(max-width:520px){
  .brand img{width:165px;height:50px}
  .services .section-head h2{font-size:32px}
  .why-title{font-size:31px}
}



/* ==========================================================
   FINAL V14 MOBILE
   Desktop pozostaje bez zmian. Poniższe reguły działają tylko
   na tabletach i telefonach.
   ========================================================== */

@media (max-width: 820px){

  html, body{
    overflow-x:hidden;
  }

  body{
    font-size:16px;
  }

  .shell,
  .services .shell{
    width:min(100% - 28px,720px);
  }

  /* HEADER */
  .site-header{
    position:sticky;
    top:0;
    z-index:100;
    background:#fff;
  }

  .site-header .nav{
    height:72px;
    gap:12px;
  }

  .brand img{
    width:190px;
    height:58px;
  }

  .menu-btn{
    display:block;
    margin-left:auto;
    width:44px;
    height:44px;
    border:1px solid #dce6f0;
    border-radius:10px;
    background:#fff;
    color:#061b34;
    font-size:24px;
    line-height:1;
  }

  .top-phone{
    display:none;
  }

  .nav nav{
    display:none;
    position:absolute;
    top:72px;
    left:0;
    right:0;
    margin:0;
    padding:8px 18px 18px;
    background:#fff;
    box-shadow:0 18px 30px rgba(0,29,61,.16);
    border-top:1px solid #edf2f7;
  }

  .nav nav.open{
    display:flex;
    flex-direction:column;
    gap:0;
  }

  .nav nav a{
    padding:14px 4px;
    font-size:16px;
    border-bottom:1px solid #edf2f7;
  }

  /* HERO */
  .hero{
    min-height:auto;
    background:#021a34;
  }

  .hero-grid{
    width:100%;
    display:flex;
    flex-direction:column;
    min-height:auto;
  }

  .hero-copy{
    order:1;
    width:min(100% - 28px,720px);
    max-width:none;
    margin:0 auto;
    padding:38px 0 28px;
  }

  .hero-visual{
    order:2;
    width:100%;
    min-height:auto;
    background:#021a34;
    overflow:hidden;
  }

  .hero-visual img{
    width:100%;
    height:auto;
    object-fit:contain;
    object-position:center;
    display:block;
  }

  .hero .eyebrow{
    font-size:13px;
    letter-spacing:.11em;
  }

  .hero h1{
    font-size:clamp(42px,12vw,58px);
    line-height:1.00;
    margin:12px 0 18px;
  }

  .hero .lead{
    font-size:17px;
    line-height:1.45;
  }

  .trust{
    gap:12px 18px;
    margin:18px 0 24px;
    font-size:14px;
  }

  .actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }

  .actions .btn{
    width:100%;
    min-height:52px;
    font-size:15px;
    padding:0 16px;
  }

  /* SEKCJE */
  .section{
    padding:52px 0;
  }

  .section-head{
    margin-bottom:28px;
  }

  .services .section-head h2,
  .section-head h2{
    font-size:34px;
    line-height:1.08;
  }

  .services .section-head p,
  .section-head p{
    font-size:16px;
  }

  /* USŁUGI: jedna karta na szerokość telefonu */
  .service-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .service-card{
    min-height:auto;
    padding:22px 20px;
    border-radius:15px;
  }

  .ico{
    width:54px;
    height:54px;
    margin-bottom:12px;
  }

  .ico img{
    width:32px;
    height:32px;
  }

  .service-card h3{
    font-size:20px;
    line-height:1.2;
    margin-bottom:10px;
  }

  .service-card ul{
    font-size:16px;
    line-height:1.55;
    padding-left:20px;
    margin-bottom:18px;
  }

  .service-card a{
    font-size:15px;
  }

  /* DLACZEGO MY */
  .why{
    padding:48px 0;
  }

  .why-title{
    font-size:34px;
    margin-bottom:26px;
  }

  .why-grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .why-grid > div{
    border:0;
    padding:20px 16px;
    background:rgba(255,255,255,.035);
    border-radius:14px;
  }

  .why-grid b{
    font-size:38px;
  }

  .why-grid h3{
    font-size:20px;
    margin:8px 0;
  }

  .why-grid p{
    font-size:16px;
    line-height:1.5;
    max-width:520px;
  }

  /* REALIZACJE - przewijany poziomo carousel */
  .projects{
    padding:52px 0 38px;
  }

  .project-grid{
    display:flex;
    gap:14px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding:0 2px 10px;
    -webkit-overflow-scrolling:touch;
  }

  .project-grid article{
    flex:0 0 84%;
    scroll-snap-align:start;
    border-radius:14px;
  }

  .project-grid img{
    aspect-ratio:16/9;
  }

  .project-grid h3{
    font-size:17px;
  }

  .project-grid p{
    font-size:14px;
    line-height:1.45;
  }

  /* OBSZAR + KONTAKT */
  .contact-grid{
    grid-template-columns:1fr;
    gap:16px;
  }

  .area-card,
  .contact-card{
    padding:24px 20px;
    border-radius:15px;
  }

  .area-card h2,
  .contact-card h2{
    font-size:30px;
  }

  .area-card p,
  .contact-card p{
    font-size:15px;
  }

  .mini-map{
    height:210px;
    margin-top:14px;
  }

  .contact-card{
    display:block;
  }

  .contact-actions{
    margin-top:22px;
    gap:10px;
  }

  .contact-actions .btn{
    min-height:52px;
    font-size:15px;
  }

  /* FOOTER */
  footer{
    padding:34px 0 88px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:26px;
  }

  .footer-logo{
    width:200px;
    height:62px;
  }

  footer h3{
    font-size:16px;
  }

  footer a,
  footer span,
  footer p{
    font-size:14px;
  }

  .copyright{
    font-size:12px;
    margin-top:18px;
  }

  /* stały przycisk połączenia */
  .floating-phone{
    display:grid;
    position:fixed;
    right:16px;
    bottom:16px;
    width:60px;
    height:60px;
    border-radius:50%;
    place-items:center;
    background:#0876ec;
    color:#fff;
    font-size:26px;
    z-index:120;
    box-shadow:0 12px 30px rgba(0,0,0,.28);
  }
}

@media (max-width: 520px){

  .shell,
  .services .shell,
  .hero-copy{
    width:calc(100% - 22px);
  }

  .brand img{
    width:170px;
    height:52px;
  }

  .hero-copy{
    padding-top:30px;
  }

  .hero h1{
    font-size:42px;
  }

  .hero .lead{
    font-size:16px;
  }

  .services .section-head h2,
  .section-head h2{
    font-size:31px;
  }

  .service-card{
    padding:20px 18px;
  }

  .service-card h3{
    font-size:19px;
  }

  .service-card ul{
    font-size:15px;
  }

  .project-grid article{
    flex-basis:90%;
  }

  .why-title{
    font-size:31px;
  }

  .area-card h2,
  .contact-card h2{
    font-size:27px;
  }

  .mini-map{
    height:185px;
  }
}



/* ==========================================================
   V17 — KWALIFIKACJE I CERTYFIKATY
   ========================================================== */

.qualifications{
  background:#f7faff;
  border-top:1px solid #e8eef5;
  border-bottom:1px solid #e8eef5;
}

.qualifications .section-head{
  text-align:center;
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}

.qualifications .section-head h2{
  margin-top:0;
}

.qualification-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:32px;
}

.qualification-card{
  background:#fff;
  border:1px solid #e2eaf2;
  border-radius:16px;
  padding:30px 28px;
  text-align:center;
  box-shadow:0 10px 28px rgba(2,29,61,.06);
}

.qualification-mark{
  width:62px;
  height:62px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#eaf4ff;
  color:#0876ec;
  font-size:22px;
  font-weight:800;
  letter-spacing:.02em;
}

.qualification-card h3{
  margin:0 0 10px;
  font-size:20px;
  color:#082746;
}

.qualification-card p{
  margin:0;
  color:#5f7183;
  font-size:15px;
  line-height:1.55;
}

/* Subtelne wyróżnienie kwalifikacji także w "Dlaczego my?" */
@media(min-width:821px){
  .qualifications{
    padding-top:58px;
    padding-bottom:58px;
  }
}

@media(max-width:820px){
  .qualification-grid{
    grid-template-columns:1fr;
    gap:14px;
    margin-top:24px;
  }

  .qualification-card{
    padding:24px 20px;
    text-align:left;
    display:grid;
    grid-template-columns:58px 1fr;
    column-gap:16px;
    align-items:center;
  }

  .qualification-mark{
    width:54px;
    height:54px;
    margin:0;
    grid-row:1 / span 2;
    font-size:19px;
  }

  .qualification-card h3{
    font-size:19px;
    margin-bottom:5px;
  }

  .qualification-card p{
    font-size:15px;
    line-height:1.45;
  }
}

@media(max-width:520px){
  .qualification-card{
    padding:20px 16px;
    grid-template-columns:52px 1fr;
    column-gap:14px;
  }

  .qualification-mark{
    width:50px;
    height:50px;
    font-size:17px;
  }
}
