/* CSS Document */

/* =========================
   SAFETY PAGE
========================= */

.safety-intro,
.safety-pillars,
.safety-gear,
.safety-practices,
.safety-closing {
  position: relative;
}

.safety-intro {
  padding: 110px 0 70px;
  background:
    linear-gradient(to bottom, #f7f4ec 0%, #f3efe5 100%);
}

.safety-intro .section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #929521;
  font-weight: 600;
}

.safety-intro h2 {
  margin: 0 0 22px;
  max-width: 820px;
  font-size: clamp(2.6rem, 4.2vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: #171712;
}

.safety-intro .intro-lead {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: 1.1rem;
  line-height: 1.95;
  color: #5b594f;
}

.safety-intro .intro-text {
  margin: 0;
  max-width: 740px;
  font-size: 1rem;
  line-height: 1.9;
  color: #66645b;
}

/* VISUAL STRIP */

.safety-visual {
  padding: 0 0 90px;
  background:
    linear-gradient(to bottom, #f3efe5 0%, #f7f4ec 100%);
}

.visual-grid {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.visual-grid:hover .visual-item {
  filter: brightness(0.92);
}

.visual-item:hover {
  filter: brightness(1);
  transform: scale(1.02);
  z-index: 2;
}

.visual-item {
  min-height: 460px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  background-color: #d8d2c5;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
  transition: transform 0.7s ease, filter 0.5s ease;
}

.visual-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.04) 45%, rgba(0, 0, 0, 0.02));
  pointer-events: none;
}

.visual-item:nth-child(1) {
  background-image: url("../img/safety-2.jpg");
}

.visual-item:nth-child(2) {
  background-image: url("../img/safety-3.jpg");
}

.visual-item:nth-child(3) {
  background-image: url("../img/safety-1.jpg");
}

.visual-caption {
  width: min(920px, calc(100% - 48px));
  margin: 28px auto 0;
  text-align: center;
}

.visual-caption p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.9;
  color: #5f5d54;
}

/* PILLARS */

.safety-pillars {
  padding: 28px 0 100px;
  background: #ffffff;
}

.safety-pillars .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.safety-pillars article {
  padding: 34px 28px 30px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(23, 23, 18, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.safety-pillars article:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.07);
  border-color: rgba(146, 149, 33, 0.18);
}

.safety-pillars h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #171712;
}

.safety-pillars p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.85;
  color: #626057;
}

/* GEAR */

.safety-gear {
  padding: 105px 0 110px;
  background:
    linear-gradient(to bottom, #f7f4ec 0%, #f2eee4 100%);
}

.safety-gear h2,
.safety-practices h2 {
  margin: 0 0 36px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: #171712;
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.gear-grid article {
  padding: 28px 22px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 23, 18, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.035);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.gear-grid article:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.gear-grid h4 {
  margin: 0 0 12px;

  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 500;
  color: #1c1c17;
}

.gear-grid p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.8;
  color: #636159;
}

/* PRACTICES */

.safety-practices {
  padding: 105px 0 110px;
  background: #ffffff;
}

.practices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.practices-grid article {
  padding: 32px 28px 28px;
  border-top: 1px solid rgba(146, 149, 33, 0.35);
  border-bottom: 1px solid rgba(23, 23, 18, 0.08);
  background: #fff;
}

.practices-grid h4 {
  margin: 0 0 16px;
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 500;
  color: #171712;
}

.practices-grid ul {
  margin: 0;
  padding-left: 18px;
}

.practices-grid li {
  margin-bottom: 10px;
  font-size: 0.97rem;
  line-height: 1.8;
  color: #626057;
}

.practices-grid li:last-child {
  margin-bottom: 0;
}

/* CLOSING */

.safety-closing {
  padding: 90px 0 110px;
  background:
    linear-gradient(to bottom, #ffffff 0%, #f7f4ec 100%);
}

.closing-text {
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: #171712;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {
  .gear-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .visual-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .visual-item {
    min-height: 380px;
  }
}

@media (max-width: 980px) {
  .safety-pillars .container {
    grid-template-columns: 1fr;
  }

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

  .practices-grid {
    grid-template-columns: 1fr;
  }

  .visual-grid {
    grid-template-columns: 1fr;
  }

  .visual-item {
    min-height: 360px;
  }
}

@media (max-width: 768px) {
  .safety-intro {
    padding: 86px 0 54px;
  }

  .safety-intro h2 {
    font-size: clamp(2.1rem, 9vw, 3.2rem);
  }

  .safety-intro .intro-lead,
  .safety-intro .intro-text,
  .visual-caption p,
  .safety-pillars p,
  .gear-grid p,
  .practices-grid li {
    font-size: 1rem;
    line-height: 1.8;
  }

  .safety-visual {
    padding: 0 0 72px;
  }

  .visual-grid {
    width: min(100%, calc(100% - 28px));
    gap: 14px;
  }

  .visual-item {
    min-height: 280px;
    border-radius: 20px;
  }

  .visual-caption {
    width: min(100%, calc(100% - 28px));
    margin-top: 22px;
  }

  .safety-pillars {
    padding: 18px 0 84px;
  }

  .safety-pillars article,
  .gear-grid article {
    padding: 26px 22px 22px;
    border-radius: 20px;
  }

  .safety-gear,
  .safety-practices {
    padding: 86px 0 90px;
  }

  .gear-grid {
    grid-template-columns: 1fr;
  }

  .safety-gear h2,
  .safety-practices h2 {
    margin-bottom: 28px;
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .practices-grid article {
    padding: 24px 0 22px;
  }

  .safety-closing {
    padding: 74px 0 90px;
  }

  .closing-text {
    font-size: clamp(1.25rem, 6vw, 1.8rem);
    line-height: 1.42;
  }
}