:root{
  --navy:#2b3446;
  --blue:#009fe3;
  --blue-btn:#0e9ae5;
  --dark:#42464d;
  --red:#da1212;
  --grey:#efefef;
  --grey2:#e3e3e3;
  --font:"Raleway",Arial,sans-serif;
  --w:960px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);color:#000;background:#fff;font-size:16px;line-height:1.5;border-top:11px solid var(--navy)}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:100%;max-width:var(--w);margin:0 auto}
.ico{width:1em;height:1em;vertical-align:-.12em}
.line{display:block;width:44px;height:3px;background:var(--blue);margin:14px auto}
.line--white{background:#fff}
.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--blue-btn);color:#fff;font-weight:700;font-size:20px;line-height:26px;padding:12px 24px;transition:background .2s}
.btn:hover{background:#0a7fbd}

/* ---------- Hero ---------- */
.hero{height:646px;background:#e8e8e8 url("img/background_desktop.png") center/cover no-repeat}
.hero__text{width:470px;text-align:center;padding-top:124px;margin-left:51px}
.hero h1{font-size:48px;line-height:52.8px;font-weight:700;color:var(--dark)}
.hero h1 span{color:var(--blue)}
.hero .line{width:70px;margin:22px auto 20px}
.hero__text > p{font-size:20px;line-height:24px;font-weight:700;color:var(--dark)}

/* ---------- Pasek kontaktu ---------- */
.contactbar{background:var(--navy);height:287px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;color:#fff;text-align:center}
.contactbar h2{font-size:30px;line-height:39px;font-weight:700}
.contactbar .btn{width:280px;height:50px;font-size:16px;padding:0}
.contactbar__tel{font-family:Arial,sans-serif;font-size:30px;line-height:39px;font-weight:700}

/* ---------- Zalety ---------- */
.benefits{height:496px;background:#fff url("img/background_3.png") center/cover no-repeat;display:flex;align-items:center}
.benefits__text{width:322px;margin-left:auto;margin-right:42px;text-align:center}
.benefits h2{font-size:24px;line-height:31.2px;font-weight:700}
.benefits ul{list-style:none;font-size:18px;line-height:30.6px;color:var(--dark);margin:12px 0 34px}
.pdf{display:inline-flex;align-items:center;gap:10px;color:var(--red);font-size:21px;line-height:27.3px;font-weight:700}
.pdf .ico{font-size:30px}
.pdf:hover{text-decoration:underline}

/* ---------- Kafelki ---------- */
.tiles{background:var(--grey);padding:71px 0 68px}
.tiles__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;max-width:776px}
.tile{background:#fff;text-align:center;padding:40px 22px 34px;border-bottom:6px solid var(--blue);min-height:310px}
.tile--dark{border-bottom-color:var(--dark)}
.tile img{margin:0 auto 28px;height:56px;width:auto}
.tile p{font-size:15px;line-height:27px;color:#000}

/* ---------- Oferta maszyn ---------- */
.machines{padding:40px 0 20px}
.title{text-align:center;font-size:26px;line-height:33.8px;font-weight:700;color:var(--dark)}
.machines .line{margin:14px auto 32px}
.machines__grid{display:flex;justify-content:center;gap:14px}
.machine{width:307px;background:var(--grey);text-align:center;padding-bottom:20px}
.machine img{width:307px;height:203px;object-fit:cover;margin-bottom:16px}
.machine h3{font-size:18px;line-height:23.4px;font-weight:700;margin-bottom:16px}
.machine p{font-size:14px;line-height:18.2px;padding:0 17px}

/* ---------- Narzędzia ---------- */
.tools{background:var(--grey2);padding:0 0 60px;margin-top:40px}
.tool{display:flex;align-items:flex-start;position:relative;min-height:430px}
.tool__box{width:470px;background:var(--dark);color:#fff;text-align:center;padding:60px 42px 56px;min-height:380px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;z-index:1}
.tool__kicker{font-size:15px;line-height:19.5px;font-weight:300}
.tool__box h3{font-size:36px;line-height:39.6px;font-weight:700;margin-bottom:16px}
.tool__box > p:last-child{font-size:16px;line-height:28.8px}
.tool__video{position:absolute;right:0;top:63px;width:490px;height:280px;z-index:2}
.tool--rev{justify-content:flex-end}
.tool--rev .tool__video{right:auto;left:0}
.tool:not(:first-child) .tool__box{margin-top:-20px}

/* YouTube */
iframe{display:block;width:100%;height:100%;border:0}

/* ---------- Filmy ---------- */
.videos{padding:40px 0 60px}
.videos .line{margin:0 auto 46px}
.videos__grid{display:flex;justify-content:space-between}
.vcard{width:316px;background:var(--grey)}
.vcard__video{height:216px}
.vcard figcaption{text-align:center;font-size:20px;line-height:26px;font-weight:700;color:var(--dark);padding:20px 10px 30px}

/* ---------- Formularz ---------- */
.apply{height:687px;background:#fff url("img/background_gadzety.png") center/cover no-repeat;padding-top:22px}
.apply__panel{width:390px;margin-left:auto;margin-right:-5px;background:var(--dark);color:#fff;text-align:center;padding:12px 32px 30px}
.apply__panel .line{margin:0 auto 6px}
.apply h2{font-size:36px;line-height:39.6px;font-weight:700;margin-bottom:12px}
.apply__panel > p{font-size:15px;line-height:19.5px;margin-bottom:20px}
.form{background:#fff;color:#000;text-align:left;padding:12px 22px 20px;display:flex;flex-direction:column;gap:10px;width:321px;margin:0 auto}
.form label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700}
.form input[type=text],.form input[type=email],.form input[type=tel]{height:40px;border:1px solid #ddd;padding:0 10px;font-family:var(--font);font-size:14px}
.form input::placeholder{color:#bbb}
.form input:focus{outline:2px solid var(--blue-btn);outline-offset:1px}
.form__check{flex-direction:row!important;align-items:center;font-weight:400!important;font-size:12px!important}
.form button{height:55px;border:0;background:var(--blue-btn);color:#f2f9ff;font-family:var(--font);font-size:20px;font-weight:700;cursor:pointer;margin-top:6px;transition:background .2s}
.form button:hover{background:#0a7fbd}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- Stopka ---------- */
.footer{background:var(--navy);color:#fff;text-align:center;font-size:15px;line-height:19.5px;height:110px;display:flex;align-items:center;justify-content:center;padding:0 20px}
.footer--thin{height:63px}

/* ---------- Dziękujemy / błąd ---------- */
.hero--thanks{height:800px;background-image:url("img/background_desktop.png")}
.hero--thanks .hero__text{padding-top:113px;width:404px;margin-left:7px}
.hero--thanks h1{font-size:50px;line-height:55px}
.thanks__sub{font-size:20px;line-height:26px;font-weight:700;color:var(--dark);margin-top:14px}
.thanks__q{font-size:20px;line-height:26px;font-weight:700;color:var(--dark);margin:58px 0 28px}
.thanks__tel{font-family:Arial,sans-serif;font-size:30px;line-height:39px;font-weight:700;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.35)}

/* ---------- RWD ---------- */
@media (max-width:1000px){
  .container{padding:0 20px}
  .hero,.hero--thanks{height:auto;padding-bottom:60px;background-position:70% center}
  .hero__text{margin:0 auto;padding:40px 20px 30px;background:rgba(255,255,255,.8);width:100%;max-width:470px}
  .hero h1{font-size:36px;line-height:42px}
  .benefits{height:auto;padding:40px 0;background-position:left center}
  .benefits__text{margin:0 auto;background:rgba(255,255,255,.9);padding:20px}
  .tiles__grid{grid-template-columns:1fr 1fr}
  .machines__grid,.videos__grid{flex-direction:column;align-items:center;gap:20px}
  .tool,.tool--rev{flex-direction:column;align-items:center;min-height:0;margin-bottom:30px}
  .tool__box{width:100%;min-height:0;margin:0!important}
  .tool__video,.tool--rev .tool__video{position:static;width:100%;height:auto;aspect-ratio:16/9;max-width:490px}
  .tools{padding-top:30px}
  .apply{height:auto;padding:30px 0}
  .apply__panel{margin:0 auto;width:100%;max-width:420px}
  .form{width:100%}
}
@media (max-width:480px){
  .tiles__grid{grid-template-columns:1fr}
  .tool__box h3{font-size:28px;line-height:32px}
}

/* Filmy YouTube */
.tool__video iframe,.vcard__video iframe{display:block;width:100%;height:100%;border:0;background:#000}
