/* =====================================
   CHEMICAL CLEANING HERO SECTION
   (SAME AS SCREENSHOT STYLE)
===================================== */
/* HERO IMAGE */
.page-id-19 .industry-hero{
  background-image: url("/wp-content/themes/chemtromech/assets/assets/chemical-cleaning-hero");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* DARK OVERLAY */
.cleaning-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.40);     /* readability */
  z-index: 1;
}

/* CENTER CONTENT */
.cleaning-hero__content{
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 0 16px;
  z-index: 2;
}

.cleaning-hero__content h1{
  margin: 0;
  color: #ffffff;

  font-weight: 900;
  line-height: 1.12;
  letter-spacing: .3px;

  /* responsive big heading */
  font-size: clamp(28px, 4vw, 60px);

  text-shadow: 0 12px 32px rgba(0,0,0,.55);
}

/* RESPONSIVE HEIGHT */
@media (max-width: 768px){
  .cleaning-hero{
    height: 420px;
  }
}

@media (max-width: 480px){
  .cleaning-hero{
    height: 360px;
  }
}


/* =====================================
   CHEMICAL CLEANING HERO SECTION
   (SAME AS SCREENSHOT STYLE)
===================================== */

.cleaning-hero{
  position: relative;
  width: 100%;
  height: 520px;                    /* desktop look */
  min-height: 360px;

  background: url("assets/descalingservices.png") center/cover no-repeat;
}

/* DARK OVERLAY */
.cleaning-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.40);     /* readability */
  z-index: 1;
}

/* CENTER CONTENT */
.cleaning-hero__content{
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 0 16px;
  z-index: 2;
}

.cleaning-hero__content h1{
  margin: 0;
  color: #ffffff;

  font-weight: 900;
  line-height: 1.12;
  letter-spacing: .3px;

  /* responsive big heading */
  font-size: clamp(28px, 4vw, 60px);

  text-shadow: 0 12px 32px rgba(0,0,0,.55);
}

/* RESPONSIVE HEIGHT */
@media (max-width: 768px){
  .cleaning-hero{
    height: 420px;
  }
}

@media (max-width: 480px){
  .cleaning-hero{
    height: 360px;
  }
}



/* =================================
   DESCALING SIMPLE TEXT SECTION
================================= */

.descaling-text{
  width: 100%;
  padding: 26px 0 10px;
}

.descaling-wrap{
  width: min(980px, 92%);
  margin: 0 auto;
}

.descaling-wrap p{
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: #1f2f3b;
}

.descaling-wrap p:last-child{
  margin-bottom: 0;
}

/* RESPONSIVE */
@media (max-width: 600px){
  .descaling-text{
    padding: 18px 0 6px;
  }

  .descaling-wrap p{
    font-size: 14px;
    line-height: 1.7;
  }
}



/* =========================================
   OUR CLEANING APPROACH (IMAGE + TEXT)
========================================= */

.clean-approach-section{
  width: 100%;
  padding: 52px 0;
}

.clean-approach-wrap{
  width: min(1200px, 92%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

/* IMAGE */
.clean-approach-image img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(0,0,0,.08);
}

/* TEXT */
.clean-approach-content h2{
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  color: #0b1b2b;
  line-height: 1.25;
}

.clean-approach-lead{
  margin: 0 0 10px;
  font-weight: 800;
  color: #2f4556;
  font-size: 15px;
  line-height: 1.7;
}

.clean-approach-content p{
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.75;
  color: #2f4556;
}

.clean-approach-content p:last-child{
  margin-bottom: 0;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .clean-approach-wrap{
    grid-template-columns: 1fr;
  }

  .clean-approach-section{
    padding: 42px 0;
  }
}


/* =========================================
   INTEGRATION (TEXT LEFT, IMAGE RIGHT)
========================================= */

.integration-section{
  width: 100%;
  padding: 52px 0;
}

.integration-wrap{
  width: min(1200px, 92%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr; /* text a bit wider */
  gap: 36px;
  align-items: center;
}

/* TEXT */
.integration-content h2{
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  color: #0b1b2b;
  line-height: 1.25;
}

.integration-content p{
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.75;
  color: #2f4556;
}

.integration-content p:last-child{
  margin-bottom: 0;
}

/* IMAGE */
.integration-image img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(0,0,0,.08);
}

/* RESPONSIVE */
@media (max-width: 900px){
  .integration-wrap{
    grid-template-columns: 1fr;
  }

  .integration-section{
    padding: 42px 0;
  }
}


/* =========================================
   WHO SHOULD USE – IMAGE LEFT / TEXT RIGHT
========================================= */

.who-use-section{
  width: 100%;
  padding: 52px 0;
}

.who-use-wrap{
  width: min(1200px, 92%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

/* IMAGE */
.who-use-image img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(0,0,0,.08);
}

/* TEXT */
.who-use-content h2{
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  color: #0b1b2b;
  line-height: 1.25;
}

.who-use-content p{
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #2f4556;
}

/* RESPONSIVE */
@media (max-width: 900px){
  .who-use-wrap{
    grid-template-columns: 1fr;
  }

  .who-use-section{
    padding: 42px 0;
  }
}



/* ======================================
   4 CARDS (LIGHT BLUE + HOVER TRIGGER)
====================================== */

.chem-4cards{
  width: 100%;
  padding: 52px 0;
}

.chem-4wrap{
  width: min(1200px, 92%);
  margin: 0 auto;
}

.chem-4grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

/* CARD */
.chem-card{
  background: #eef7ff;              /* very light blue */
  border: 1px solid #d7ecff;
  border-radius: 18px;
  padding: 18px 18px 16px;

  box-shadow: 0 10px 26px rgba(11, 27, 43, 0.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;

  position: relative;
  overflow: hidden;
  min-height: 290px;
}

/* top highlight */
.chem-card::before{
  content:"";
  position:absolute;
  left:0; top:0;
  width:100%;
  height:4px;
  background: linear-gradient(90deg, rgba(0,102,204,.22), rgba(0,102,204,0));
}

/* header row */
.chem-card-top{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom: 10px;
}

.chem-icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:grid;
  place-items:center;

  background: #dff1ff;
  border: 1px solid #cbe7ff;
  font-size: 16px;

  transition: transform .25s ease;
  flex: 0 0 auto;
}

.chem-card h3{
  margin: 0;
  color: #0b1b2b;
  font-weight: 900;
  font-size: 16.5px;
  line-height: 1.25;
}

.chem-text{
  margin: 8px 0 10px;
  color: #2f4556;
  font-size: 14.5px;
  line-height: 1.7;
}

.chem-text.strong{
  font-weight: 800;
  margin-top: 10px;
}

.chem-list{
  margin: 0;
  padding-left: 18px;
  color: #1d3242;
}

.chem-list li{
  margin: 6px 0;
  font-size: 13.8px;
  line-height: 1.55;
}

.chem-note{
  margin: 10px 0 0;
  color: #4a5b6b;
  font-size: 13.3px;
  line-height: 1.6;
}

/* HOVER TRIGGER (only hovered card) */
.chem-card:hover{
  transform: translateY(-8px);
  border-color: #9dd6ff;
  box-shadow: 0 18px 40px rgba(11, 27, 43, 0.13);
}

.chem-card:hover .chem-icon{
  transform: scale(1.08) rotate(-2deg);
}

/* Animation trigger class via JS */
.chem-card.is-hovered{
  animation: chemPulse .35s ease;
}

@keyframes chemPulse{
  0%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
  100%{ transform: translateY(-8px); }
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .chem-4grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px){
  .chem-4grid{
    grid-template-columns: 1fr;
  }
  .chem-card{
    min-height: auto;
  }
}



/* ==============================
   RESTORE PERFORMANCE CTA
============================== */

.restore-cta{
  width: 100%;
  padding: 50px 0;
}

.restore-wrap{
  width: min(1000px, 92%);
  margin: 0 auto;
}

.restore-title{
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  color: #0b1b2b;
  line-height: 1.2;
}

.restore-text{
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.75;
  color: #2f4556;
  max-width: 900px;
}

.restore-strong{
  font-weight: 800;
  margin-top: 8px;
}

/* CONTACT LINK */
.restore-link{
  display: inline-block;
  margin-left: 6px;
  color: #0066cc;
  text-decoration: none;
  font-weight: 900;
  transition: transform .2s ease, text-decoration .2s ease;
}

.restore-link:hover{
  text-decoration: underline;
  transform: translateX(4px);
}

/* RESPONSIVE */
@media (max-width: 600px){
  .restore-cta{
    padding: 36px 0;
  }

  .restore-text{
    font-size: 14px;
    line-height: 1.7;
  }
}
/* FORCE HERO BG - Operation & Maintenance */
.page-id-17 .industry-hero{
  background: url("/wp-content/themes/chemtromech/assets/service-1.png") center/cover no-repeat !important;
}
