/* Intermeble — wizytówka. Projekt graficzny: 1366 px szerokości.
   1rem = 10 px projektu; całość skaluje się z szerokością okna (jak w oryginale),
   poniżej 820 px układ przechodzi w jedną kolumnę. */
@font-face{font-family:"Poppins";font-weight:200;font-display:swap;src:url(assets/poppins-200.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-weight:400;font-display:swap;src:url(assets/poppins-400.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-weight:700;font-display:swap;src:url(assets/poppins-700.woff2) format("woff2")}
@font-face{font-family:"IM Serif";font-weight:200;font-display:swap;src:url(assets/serif-200.woff2) format("woff2")}
@font-face{font-family:"IM Serif";font-weight:700;font-display:swap;src:url(assets/serif-700.woff2) format("woff2")}

:root{--ink:#2e2521;--navy:#000d25;--paper:#f7f7f7;--green:#92a79b;--serif:"IM Serif","Source Serif 4",Georgia,serif;--sans:"Poppins",system-ui,sans-serif}
*{box-sizing:border-box}
html{font-size:clamp(8.2px,.73206vw,14px);scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:200 1.2rem/1.6rem var(--sans);-webkit-font-smoothing:antialiased}
b{font-weight:700}
p{margin:0}
ul{list-style:none;margin:0;padding:0}
img,video{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
.title{margin:0;font:200 2.667rem/2.8rem var(--serif)}
h3{margin:0;font:200 1.467rem/1.5rem var(--serif)}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:1px solid var(--navy);color:var(--navy);
  font-size:1.2rem;line-height:1.3rem;letter-spacing:.12em;padding:0 1.6rem;height:3.33rem;transition:background .2s,color .2s}
.btn:hover,.btn:focus-visible{background:var(--navy);color:#fff}
.btn--light{border-color:#fff;color:#fff;font-size:1.467rem;letter-spacing:-.03em;height:3.86rem;min-width:13.1rem}
.btn--light img{width:.93rem;height:auto;margin-top:.2rem}
.btn--light:hover,.btn--light:focus-visible{background:rgba(255,255,255,.18);color:#fff}

/* HERO */
.hero{position:relative;height:63rem;min-height:420px;background:#252627;color:#fff;overflow:hidden}
.hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero__shade{position:absolute;left:0;right:0;bottom:0;height:8rem;background:linear-gradient(rgba(19,22,32,0),rgba(19,22,32,.45))}
.hero__logo{position:absolute;left:1.2rem;top:.85rem;width:18.7rem;height:auto}
.hero__content{position:relative;height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:21.2rem}
.hero h1{margin:0;font:200 6.933rem/7.4rem var(--serif);letter-spacing:-.05em;color:#fcfcfc}
.hero p{margin-top:2.9rem;font-size:1.467rem;line-height:2rem;letter-spacing:-.03em}
.hero .btn{margin-top:8.3rem}

/* ABOUT */
.about{display:grid;grid-template-columns:29.5fr 34.7fr 35.2fr 27.1fr;padding:3.75rem 3.7rem 4.1rem 6.4rem}
.about .title{align-self:center;margin-top:-.4rem}
.about__col{border-left:1px solid #000;padding:2.5rem 2.4rem 1.7rem 3rem;min-height:19rem}
.about__col h3{margin-bottom:2rem}
.about__col--narrow{padding-left:3.5rem;padding-right:5.4rem}

/* STATS */
.stats{display:flex;justify-content:center;gap:0;padding:1.4rem 0 6.2rem;margin-left:4.4rem}
.stat{width:18.1rem;text-align:center;line-height:1.2rem;display:flex;flex-direction:column;align-items:center}
.stat img{width:calc(var(--w)*1rem);height:6.4rem;object-fit:contain;margin-bottom:1.5rem}

/* CATEGORIES */
.cats{background:#fff;padding:5.3rem 3.8rem 6.5rem 3rem;text-align:center}
.cats ul{display:grid;grid-template-columns:repeat(5,1fr);gap:2.23rem;margin-top:5.8rem}
.cats li img{width:100%;aspect-ratio:241.7/234.4;object-fit:cover;transition:transform .5s}
.cats li{overflow:hidden}
.cats li:hover img{transform:scale(1.03)}
.cats li span{display:block;margin-top:.9rem;line-height:1.2rem}

/* TRUSTED */
.trust{display:grid;grid-template-columns:32.5rem 1fr;align-items:center;padding:5.6rem 8.6rem 0 8.9rem}
.trust p{border-left:1px solid #000;padding:2.2rem 0 2.2rem 6rem;line-height:2rem}

/* CERTIFIED */
.cert{text-align:center;padding:5.9rem 8.65rem 0}
.cert>p{margin:2.9rem auto 0;max-width:120rem}
.badges{display:flex;flex-wrap:wrap;justify-content:center;gap:1.5rem 2.44rem;margin-top:4.5rem}
.badges li{border:1px solid var(--navy);color:var(--navy);width:13.1rem;height:3.86rem;display:flex;align-items:center;justify-content:center;letter-spacing:.12em;line-height:1.3rem}
.badges .wide{width:17.2rem}
.badges .green{background:var(--green);border-color:var(--green);color:#fcfcfc;font-weight:700}
.cert__video{width:100%;aspect-ratio:1193/350.7;object-fit:cover;margin-top:5.5rem;background:#ddd}

/* CONTACT */
.contact{text-align:center;padding:3.9rem 3.7rem 0}
.contact__lead{margin-top:1.8rem;font-size:1.333rem;line-height:1.8rem}
.people{display:flex;justify-content:center;gap:3.9rem;margin-top:3.1rem}
.people li{width:31rem;display:flex;flex-direction:column;align-items:center;font-size:1.333rem;line-height:1.8rem}
.avatar{width:12.9rem;height:12.9rem;border-radius:50%;overflow:hidden;margin-bottom:.7rem;
  background:radial-gradient(circle at 50% 35%,#d12022,#991f20 95%);background:linear-gradient(135deg,#d12022,#991f20 55%,#d12022)}
.avatar img{width:100%;height:100%;object-fit:cover}
.people .btn{margin-top:1.6rem;min-width:30.45rem;padding:0 1rem;white-space:nowrap}

/* FOOTER */
.footer{text-align:center;padding:4.3rem 2rem 5rem;color:var(--navy)}
.footer__mark{width:7rem;height:7rem;margin:0 auto 1.3rem}
.footer address{font-style:normal;font-size:1.333rem;line-height:2.1rem;letter-spacing:.12em}
.footer address a:hover{text-decoration:underline}
.social{display:flex;justify-content:center;gap:1.8rem;margin-top:4.1rem}
.social a{display:block;transition:opacity .2s}
.social a:hover{opacity:.65}
.social img{width:7.25rem;height:7.25rem}
.social .ico{width:1rem;height:1rem;margin:.2rem auto 0;object-fit:contain}

/* TELEFON / TABLET PIONOWO */
@media (max-width:820px){
  html{font-size:12.5px}
  body{font-size:1.2rem;line-height:1.75rem}
  .title{font-size:2.5rem;line-height:2.8rem}
  h3{font-size:1.6rem;line-height:1.8rem}
  .hero{height:auto;min-height:max(78vh,460px);display:flex}
  .hero__logo{left:1.6rem;top:1.4rem;width:15rem}
  .hero__content{padding:10rem 2rem 5rem;justify-content:center;width:100%}
  .hero h1{font-size:clamp(3.2rem,11.2vw,5.6rem);line-height:1.08}
  .hero p{font-size:1.2rem;line-height:1.8rem;margin-top:2.4rem}
  .hero .btn{margin-top:3.6rem}
  .about{grid-template-columns:1fr;padding:4rem 2.4rem 2rem;gap:0}
  .about .title{margin:0 0 2.6rem}
  .about__col,.about__col--narrow{border-left:0;border-top:1px solid rgba(0,0,0,.35);padding:2.2rem 0;min-height:0}
  .about__col h3{margin-bottom:1.2rem}
  .about__col p+p{margin-top:.8rem}
  .stats{flex-wrap:wrap;gap:3rem 0;padding:2rem 1.6rem 4.5rem;margin:0}
  .stat{width:50%;line-height:1.5rem}
  .cats{padding:4.5rem 2.4rem}
  .cats ul{grid-template-columns:1fr 1fr;gap:2.2rem 1.4rem;margin-top:3.2rem}
  .cats li:last-child{grid-column:1/-1}
  .cats li:last-child img{aspect-ratio:2/1}
  .trust{grid-template-columns:1fr;padding:4.5rem 2.4rem 0}
  .trust p{border-left:0;padding:2rem 0 0;line-height:1.9rem}
  .cert{padding:4.5rem 2.4rem 0}
  .cert>p{margin-top:2rem}
  .badges{gap:1rem;margin-top:3rem}
  .badges li,.badges .wide{width:calc(50% - .5rem);height:4rem;font-size:1.05rem}
  .cert__video{aspect-ratio:16/9;margin-top:3.5rem}
  .contact{padding:4.5rem 2.4rem 0}
  .people{flex-direction:column;align-items:center;gap:3.6rem}
  .people li{width:100%}
  .avatar{width:13rem;height:13rem}
  .people .btn{min-width:0;width:100%;max-width:34rem;height:4rem;font-size:1.05rem;letter-spacing:.06em}
  .footer address{font-size:1.15rem;letter-spacing:.06em;line-height:2.1rem}
  .footer .fax{display:block}
  .social img{width:6.4rem;height:6.4rem}
  .social .ico{width:1.1rem;height:1.1rem}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.cats li img{transition:none}}
