/* =========================================================
   TYPY PODLÁH
========================================================= */

.floor-types-hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6,15,21,.97) 0%, rgba(6,15,21,.88) 42%, rgba(6,15,21,.18) 78%, rgba(6,15,21,.05) 100%),
    url("../assets/typy-podlah-hero.jpg") center right / cover no-repeat;
}

.floor-types-hero-inner {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 38px;
}

.floor-types-hero-copy {
  max-width: 545px;
}

.floor-types-kicker,
.natural-stone-kicker {
  display: block;
  margin-bottom: 9px;
  color: #c59642;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
}

.floor-types-hero h1 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 48px;
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.035em;
}

.floor-types-hero-copy p {
  max-width: 530px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  line-height: 1.55;
}

.floor-types-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 82px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.floor-types-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-right: 1px solid rgba(255,255,255,.12);
}

.floor-types-benefit:first-child {
  padding-left: 0;
}

.floor-types-benefit:last-child {
  border-right: 0;
}

.floor-types-benefit i {
  width: 34px;
  flex-shrink: 0;
  color: #c99b48;
  font-size: 23px;
  text-align: center;
}

.floor-types-benefit span {
  color: rgba(255,255,255,.84);
  font-size: 10px;
  line-height: 1.35;
}


/* =========================================================
   COMMON HEADING
========================================================= */

.floor-types-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 18px;
}

.floor-types-heading h2 {
  margin: 0;
  color: #12181c;
  font-size: 27px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.025em;
}

.floor-types-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4f565b;
  font-size: 9px;
  font-weight: 500;
}

.floor-types-link i {
  color: #b88936;
  font-size: 9px;
}


/* =========================================================
   ALL FLOOR TYPES
========================================================= */

.floor-types-all {
  padding: 28px 0 24px;
  background: #fff;
}

.floor-types-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.floor-type-card {
  overflow: hidden;
  border: 1px solid #dfdfdc;
  background: #fff;
  color: #151a1d;
  box-shadow: 0 3px 10px rgba(0,0,0,.025);
  transition: transform .2s ease, box-shadow .2s ease;
}

.floor-type-image {
  height: 150px;
  overflow: hidden;
}

.floor-type-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.floor-type-content {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 10px 10px;
}

.floor-type-content h3 {
  margin: 0 0 4px;
  color: #161b1f;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 700;
}

.floor-type-content p {
  max-width: 150px;
  margin: 0;
  color: #73777a;
  font-size: 8px;
  line-height: 1.4;
}

.floor-type-content > i {
  flex-shrink: 0;
  color: #252a2d;
  font-size: 9px;
}

.floor-type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 20px rgba(0,0,0,.08);
}

.floor-type-card:hover img {
  transform: scale(1.04);
}


/* =========================================================
   FEATURED
========================================================= */

.floor-types-featured {
  padding: 22px 0 24px;
  background: #f7f4ee;
}

.floor-types-featured-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.floor-featured-card {
  overflow: hidden;
  border: 1px solid #dfded9;
  background: #fff;
  color: #161a1d;
  transition: transform .2s ease, box-shadow .2s ease;
}

.floor-featured-card img {
  width: 100%;
  height: 128px;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.floor-featured-bottom {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
}

.floor-featured-bottom span {
  color: #171c20;
  font-size: 10px;
  font-weight: 700;
}

.floor-featured-bottom i {
  color: #252b2f;
  font-size: 9px;
}

.floor-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(0,0,0,.07);
}

.floor-featured-card:hover img {
  transform: scale(1.04);
}


/* =========================================================
   NATURAL STONE PROMO
========================================================= */

.natural-stone-promo {
  background: #07161f;
  color: #fff;
}

.natural-stone-promo-inner {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 230px;
}

.natural-stone-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 60px 32px 0;
  background:
    radial-gradient(circle at 90% 50%, rgba(184,137,54,.12), transparent 40%),
    #07161f;
}

.natural-stone-copy h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 31px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.03em;
}

.natural-stone-copy p {
  max-width: 510px;
  margin: 0 0 17px;
  color: rgba(255,255,255,.80);
  font-size: 10px;
  line-height: 1.55;
}

.natural-stone-button {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 16px;
  border-radius: 3px;
  background: linear-gradient(135deg, #d3aa5a, #b8842f);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.natural-stone-button:hover {
  color: #fff;
}

.natural-stone-image {
  position: relative;
  min-height: 230px;
  overflow: hidden;
}

.natural-stone-image::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,22,31,.58) 0%, rgba(7,22,31,.05) 32%, rgba(7,22,31,0) 100%);
}

.natural-stone-image img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  object-fit: cover;
}

.natural-stone-arrow {
  position: absolute;
  z-index: 3;
  left: 42px;
  top: 50%;
  width: 43px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  background: rgba(15,20,24,.65);
  color: #fff;
  font-size: 12px;
  transform: translateY(-50%);
}

.natural-stone-arrow:hover {
  color: #fff;
  background: #b88936;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

  .floor-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .floor-types-featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .floor-types-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .floor-types-benefit:nth-child(2) {
    border-right: 0;
  }

  .natural-stone-promo-inner {
    grid-template-columns: 1fr 1fr;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .floor-types-hero {
    background:
      linear-gradient(90deg, rgba(6,15,21,.97) 0%, rgba(6,15,21,.83) 70%, rgba(6,15,21,.45) 100%),
      url("../assets/typy-podlah-hero.jpg") 67% center / cover no-repeat;
  }

  .floor-types-hero-inner {
    min-height: 390px;
    padding-top: 40px;
  }

  .floor-types-hero h1 {
    font-size: 40px;
  }

  .floor-types-benefits {
    grid-template-columns: 1fr 1fr;
  }

  .floor-types-benefit {
    min-height: 68px;
    padding: 10px;
  }

  .floor-types-benefit:first-child {
    padding-left: 10px;
  }

  .floor-types-grid,
  .floor-types-featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .floor-type-image {
    height: 125px;
  }

  .floor-types-heading h2 {
    font-size: 24px;
  }

  .natural-stone-promo-inner {
    grid-template-columns: 1fr;
  }

  .natural-stone-copy {
    padding: 30px 0;
  }

  .natural-stone-image {
    min-height: 260px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

  .floor-types-grid,
  .floor-types-featured-grid {
    grid-template-columns: 1fr 1fr;
  }

  .floor-type-image {
    height: 105px;
  }

  .floor-type-content {
    min-height: 92px;
  }

  .floor-type-content p {
    font-size: 7.5px;
  }

  .floor-featured-card img {
    height: 105px;
  }

}

/* =========================================================
   ČO VIEME NA TÝCHTO POVRCHOCH REALIZOVAŤ
========================================================= */

.floor-capabilities {
  padding: 34px 0 36px;
  background: #fff;
}

.floor-capabilities-head {
  margin-bottom: 26px;
}

.floor-capabilities-head h2 {
  margin: 0 0 6px;
  color: #13191d;
  font-size: 29px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.025em;
}

.floor-capabilities-head p {
  margin: 0;
  color: #666c71;
  font-size: 12px;
  line-height: 1.5;
}

.floor-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.floor-capability {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 5px 19px 0;
  border-right: 1px solid #e1e1de;
  color: #171c20;
  text-align: center;
  transition: color .2s ease, transform .2s ease;
}

.floor-capability:first-child {
  padding-left: 0;
}

.floor-capability:last-child {
  padding-right: 0;
  border-right: 0;
}

.floor-capability-icon {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.floor-capability-icon i {
  color: #26313a;
  font-size: 36px;
  line-height: 1;
  transition: color .2s ease, transform .2s ease;
}

.floor-capability h3 {
  margin: 0 0 8px;
  color: #1b2024;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 700;
}

.floor-capability p {
  max-width: 130px;
  margin: 0;
  color: #74797d;
  font-size: 10px;
  line-height: 1.45;
}

.floor-capability:hover {
  color: #b88936;
  transform: translateY(-2px);
}

.floor-capability:hover .floor-capability-icon i {
  color: #b88936;
  transform: translateY(-2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

  .floor-capabilities-grid {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 24px;
  }

  .floor-capability {
    min-height: 140px;
  }

  .floor-capability:nth-child(4) {
    border-right: 0;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .floor-capabilities {
    padding: 28px 0;
  }

  .floor-capabilities-head h2 {
    font-size: 25px;
  }

  .floor-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

  .floor-capability {
    min-height: 135px;
    padding: 5px 15px 0;
  }

  .floor-capability:nth-child(even) {
    border-right: 0;
  }

  .floor-capability:first-child {
    padding-left: 15px;
  }

  .floor-capability:last-child {
    padding-right: 15px;
  }

  .floor-capability-icon i {
    font-size: 32px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

  .floor-capability {
    padding: 5px 10px 0;
  }

  .floor-capability p {
    font-size: 9px;
  }

}