* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #e30613;
  --red-dark: #b0000a;
  --dark: #11171d;
  --dark-2: #1b232b;
  --text: #171b1f;
  --muted: #697078;
  --border: #e4e6e8;
  --white: #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17, 23, 29, .98);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.logo {
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: .9;
  white-space: nowrap;
}

.logo span {
  color: var(--red);
}

.logo small {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 8px;
  letter-spacing: .6px;
  margin-top: 6px;
  font-weight: 700;
}

.logo img {
    width: 250px;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-left: auto;
}

.menu a {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  transition: color .2s;
}

.menu a:hover {
  color: var(--red);
}

.header-phone {
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
}

.header-phone span {
  color: #fff;
  margin-left: 6px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 27px;
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 570px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12,17,21,.96) 0%, rgba(12,17,21,.82) 42%, rgba(12,17,21,.25) 75%, rgba(12,17,21,.15) 100%),
    url("https://images.unsplash.com/photo-1586864387967-d02ef85d93e8?auto=format&fit=crop&w=2000&q=85")
    center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 0;
  color: #fff;
}

.eyebrow {
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.eyebrow.red {
  color: var(--red);
}

.hero h1 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: clamp(45px, 6vw, 78px);
  line-height: .92;
  font-weight: 700;
  max-width: 760px;
}

.hero h1 strong {
  color: var(--red);
  font-weight: 700;
}

.hero-text {
  max-width: 570px;
  margin: 28px 0;
  font-size: 17px;
  color: #e1e5e8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 52px;
  padding: 0 25px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: .2s;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.7);
}

.btn-outline:hover {
  background: #fff;
  color: var(--dark);
}

/* SECTIONS */

.section {
  padding: 90px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 45px;
}

.section-heading h2,
.why-us h2,
.contact-info h2,
.business-section h2 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: clamp(38px, 5vw, 58px);
  line-height: .95;
  font-weight: 700;
}

.section-heading > p:last-child {
  color: var(--muted);
  margin-top: 12px;
}

/* PRODUCTS */

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.product-card {
  position: relative;
  border: 1px solid var(--border);
  background: #fff;
  text-align: center;
  min-height: 245px;
  overflow: hidden;
  transition: .25s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0,0,0,.12);
}

.product-image {
  height: 155px;
  background-size: cover;
  background-position: center;
  filter: grayscale(20%);
}

.img-metal { background-image: url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=700&q=80"); }
.img-bolts { background-image: url("https://images.unsplash.com/photo-1530124566582-a618bc2615dc?auto=format&fit=crop&w=700&q=80"); }
.img-nails { background-image: url("https://images.unsplash.com/photo-1504148455328-c376907d081c?auto=format&fit=crop&w=700&q=80"); }
.img-stainless { background-image: url("https://images.unsplash.com/photo-1530124566582-a618bc2615dc?auto=format&fit=crop&w=700&q=80"); }
.img-shackles { background-image: url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=700&q=80"); }
.img-brackets { background-image: url("https://images.unsplash.com/photo-1504148455328-c376907d081c?auto=format&fit=crop&w=700&q=80"); }
.img-chem { background-image: url("https://images.unsplash.com/photo-1586864387967-d02ef85d93e8?auto=format&fit=crop&w=700&q=80"); }
.img-rope { background-image: url("https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=700&q=80"); }
.img-batteries { background-image: url("https://images.unsplash.com/photo-1609592424208-6a8e5f5bdb7a?auto=format&fit=crop&w=700&q=80"); }
.img-workwear { background-image: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=700&q=80"); }
.img-gloves { background-image: url("https://images.unsplash.com/photo-1586038771984-5b7d6bfa5b0a?auto=format&fit=crop&w=700&q=80"); }

.product-icon {
  width: 42px;
  height: 42px;
  margin: -21px auto 10px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: 3px solid #fff;
  font-size: 18px;
}

.product-card h3 {
  padding: 0 10px 15px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 20px;
  line-height: 1.05;
}

/* WHY */

.why-us {
  padding: 85px 0;
  background:
    linear-gradient(rgba(17,23,29,.95), rgba(17,23,29,.95)),
    url("https://images.unsplash.com/photo-1530124566582-a618bc2615dc?auto=format&fit=crop&w=2000&q=80")
    center/cover;
  color: #fff;
}

.section-heading.light h2 {
  color: #fff;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 45px;
}

.advantage {
  text-align: center;
  padding: 10px 30px;
  border-right: 1px solid rgba(255,255,255,.2);
}

.advantage:last-child {
  border-right: 0;
}

.adv-icon {
  color: var(--red);
  font-size: 38px;
  margin-bottom: 12px;
}

.advantage h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  line-height: 1;
}

.advantage p {
  color: #cbd1d5;
  font-size: 14px;
  margin-top: 10px;
}

/* BUSINESS */

.business-section {
  padding: 80px 0;
  background: #f5f5f4;
}

.business-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.business-section h2 {
  max-width: 620px;
}

.business-section > .container > div:first-child p:not(.eyebrow) {
  max-width: 590px;
  color: var(--muted);
  margin: 18px 0 25px;
}

.business-box {
  min-height: 190px;
  background: var(--dark);
  color: #fff;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 5px solid var(--red);
}

.business-box span {
  color: var(--red);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 20px;
}

.business-box strong {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 25px;
  line-height: .95;
}

/* CONTACT */

.contact-section {
  padding: 90px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: start;
}

.contact-info h2 {
  font-size: 50px;
}

.contact-info > p:not(.eyebrow) {
  color: var(--muted);
  margin: 20px 0 25px;
}

.contact-items {
  display: grid;
  gap: 13px;
  font-weight: 600;
}

.contact-items a,
.contact-items div {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.contact-items span {
  color: var(--red);
  font-size: 20px;
  min-width: 20px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #d8dbdd;
  font: inherit;
  outline: none;
  resize: vertical;
  transition: border .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
}

.contact-form .btn {
  border: 0;
  margin-top: 3px;
}

.warehouse-photo {
  min-height: 400px;
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.15)),
    url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1000&q=85")
    center/cover;
}

.warehouse-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: var(--red);
  color: #fff;
  padding: 10px 15px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 18px;
}

/* FOOTER */

.footer {
  background: var(--dark);
  color: #fff;
  padding: 55px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.5fr 1fr;
  gap: 40px;
  padding-bottom: 45px;
}

.footer h4 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 19px;
  margin-bottom: 15px;
}

.footer-grid > div:not(:first-child) a,
.footer-grid p {
  display: block;
  color: #bfc6ca;
  font-size: 14px;
  margin-bottom: 5px;
}

.footer-grid a:hover {
  color: var(--red);
}

.social {
  display: grid !important;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #60676c;
  border-radius: 50%;
  font-weight: 800;
  font-size: 18px !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #80898f;
  font-size: 12px;
}

/* MOBILE */

@media (max-width: 1050px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .menu {
    gap: 18px;
  }

  .business-inner {
    grid-template-columns: 1fr 1fr;
  }

  .business-inner > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .nav {
    min-height: 65px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .menu {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 20px;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid #30383e;
  }

  .menu.open {
    display: flex;
  }

  .header-phone {
    display: none;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages {
    grid-template-columns: 1fr 1fr;
  }

  .advantage {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
    padding: 25px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .warehouse-photo {
    grid-column: 1 / -1;
    min-height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .logo {
    font-size: 23px;
  }

  .hero {
    min-height: 620px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section,
  .why-us,
  .contact-section {
    padding: 65px 0;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .product-card {
    min-height: 215px;
  }

  .product-image {
    height: 130px;
  }

  .product-card h3 {
    font-size: 18px;
  }

  .advantages {
    grid-template-columns: 1fr;
  }

  .business-inner,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .business-inner > div:first-child {
    grid-column: auto;
  }

  .contact-info h2 {
    font-size: 42px;
  }

  .warehouse-photo {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    text-align: center;
    padding: 15px 0;
  }

}

/* ===== LOKALIZACJE ===== */

.locations{
    padding:90px 0;
    background:#f7f7f7;
}

.locations-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
    margin-top:40px;
}

.location-card{
    background:#fff;
    border:1px solid #e5e5e5;
    transition:.25s;
}

.location-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.location-header{
    background:#171d23;
    color:#fff;
    padding:25px;
    border-left:6px solid #e30613;
}

.location-header h3{
    font-family:"Barlow Condensed",sans-serif;
    font-size:34px;
    margin-bottom:4px;
}

.location-header span{
    color:#c7ced3;
}

.location-body{
    padding:25px;
}

.location-body p{
    margin-bottom:18px;
    color:#555;
    line-height:1.7;
}

.location-body strong{
    color:#111;
}

.contact-map {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.map-btn{
    display:block;
    background:#e30613;
    color:#fff;
    text-align:center;
    padding:16px;
    font-weight:700;
    transition:.2s;
}

.map-btn:hover{
    background:#e87700;
}

@media(max-width:768px){
    .locations-grid{
        grid-template-columns:1fr;
    }
}
.location-card:first-child .contact-map iframe {
    position: static !important;
    width: 100% !important;
    height: 300px !important;
    display: block !important;
}

.realizacja-logo {
    height: 75px;
    width: auto;
    vertical-align: middle;
    display: inline-block;
}