/* =========================================================
   BathroomKing About Page
   Scoped to CMS ID 6
   ========================================================= */

body.cms-id-6 {

  --bk-blue: #1d374f;
--bk-bluex: #0b7ea8;
  --bk-text: #0f172a;
  --bk-muted: #4b5563;
  --bk-max: 1240px;

}

/* =========================================================
   HERO SECTION
   ========================================================= */

body.cms-id-6 #hero-section{
  position: relative;
  width: 100%;
  max-height: 460px;
  overflow: hidden;
}

/* Full image background */
body.cms-id-6 #hero-section .rightAboutImage{
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 0;

  background-image: url("https://bathroomking.uk/img/cms/about-us1.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* Teal diagonal overlay */
body.cms-id-6 #hero-section .left-blank{
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  background: var(--bk-blue);
  z-index: 1;

  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

/* Content wrapper */
body.cms-id-6 #hero-section .wrapper{
  max-width: var(--bk-max);
  margin: 0 auto;
  padding: 80px 20px;
  position: relative;
  z-index: 2;
}

body.cms-id-6 #hero-section .col-6{
  max-width: 520px;
}

body.cms-id-6 #hero-section h1{
  margin: 0 0 14px 0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

body.cms-id-6 #hero-section p{
  margin: 0;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

/* Roundel */
body.cms-id-6 #hero-section .exclusive-design-roundel{
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 110px;
  z-index: 3;
}

/* =========================================================
   STORY SECTION
   ========================================================= */

body.cms-id-6 #story-section{
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  background: #ffffff;
}

/* Left image */
body.cms-id-6 #story-section .leftAboutImage{
  position: absolute;
  inset: 0 auto 0 0;
  width: 52%;
  z-index: 0;

  background-image: url("https://bathroomking.uk/img/cms/about-us1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Right white diagonal panel */
body.cms-id-6 #story-section .right-blank{
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  background: #ffffff;
  z-index: 1;

  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  box-shadow: -10px 0 30px rgba(0,0,0,0.06);
}

/* Content */
body.cms-id-6 #story-section .wrapper{
  max-width: var(--bk-max);
  margin: 0 auto;
  padding: 90px 20px;
  position: relative;
  z-index: 2;
}

body.cms-id-6 #story-section .row.end{
  display: flex;
  justify-content: flex-end;
}

body.cms-id-6 #story-section .col-6{
  max-width: 520px;
}

body.cms-id-6 #story-section h2{
  margin: 0 0 14px 0;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.1;
  font-weight: 800;
  color: var(--bk-text);
  letter-spacing: -0.02em;
}

body.cms-id-6 #story-section h2 span{
  color: var(--bk-blue);
}

body.cms-id-6 #story-section p{
  margin: 0 0 14px 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--bk-muted);
}

body.cms-id-6 #story-section .price-mactch-roundel{
  position: absolute;
  left: 30px;
  bottom: 30px;
  width: 120px;
  z-index: 3;
}

/* =========================================================
   VALUE SECTION
   ========================================================= */

body.cms-id-6 .bk-value-section{
  padding: 80px 20px;
  background: #ffffff;
}

body.cms-id-6 .bk-value-wrapper{
  max-width: var(--bk-max);
  margin: 0 auto;
}

body.cms-id-6 .bk-value-wrapper > h2{
  margin-bottom: 30px;
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 800;
}

body.cms-id-6 .bk-value-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 30px 40px;
}

body.cms-id-6 .bk-value-item{
  border-top: 1px solid rgba(15,23,42,0.12);
  padding-top: 18px;
}

body.cms-id-6 .bk-value-item h3{
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--bk-text);
}

body.cms-id-6 .bk-value-item p{
  margin: 0;
  line-height: 1.6;
  color: var(--bk-muted);
}

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

@media (max-width: 992px){

  body.cms-id-6 #hero-section .left-blank{
    width: 70%;
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
  }

  body.cms-id-6 #story-section .leftAboutImage{
    width: 50%;
  }

  body.cms-id-6 #story-section .right-blank{
    width: 70%;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  }

}

@media (max-width: 768px){

  /* Stack hero */
  body.cms-id-6 #hero-section{
    min-height: auto;
  }

  body.cms-id-6 #hero-section .left-blank,
  body.cms-id-6 #hero-section .rightAboutImage{
    display: none;
  }

  body.cms-id-6 #hero-section{
    background: var(--bk-blue);
  }

  body.cms-id-6 #hero-section .wrapper{
    padding: 50px 18px;
  }

  /* Stack story */
  body.cms-id-6 #story-section .leftAboutImage,
  body.cms-id-6 #story-section .right-blank{
    display: none;
  }

  body.cms-id-6 #story-section .wrapper{
    padding: 50px 18px;
  }

  body.cms-id-6 #story-section .row.end{
    justify-content: flex-start;
  }

  body.cms-id-6 .bk-value-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }

}

@media (max-width: 768px){

  /* Remove diagonal + background image */
  body.cms-id-6 .bk-why-image,
  body.cms-id-6 .bk-why-section:before{
    display: none;
  }

  /* Ensure clean white background */
  body.cms-id-6 .bk-why-section{
    background: #ffffff;
    min-height: auto;
  }

  /* Full width wrapper */
  body.cms-id-6 .bk-why-wrapper{
    padding: 50px 18px;
  }

  /* Remove any width restrictions */
  body.cms-id-6 .bk-why-content{
    max-width: 100%;
    width: 100%;
  }

  /* Ensure paragraphs are full width */
  body.cms-id-6 .bk-why-section p{
    max-width: 100%;
  }

}

@media (max-width: 768px){

  /* Remove diagonal panel + background image */
  body.cms-id-6 .bk-evolution-image,
  body.cms-id-6 .bk-evolution-section:before{
    display: none;
  }

  /* Clean stacked layout */
  body.cms-id-6 .bk-evolution-section{
    background: #ffffff;
    min-height: auto;
  }

  /* Full width wrapper */
  body.cms-id-6 .bk-evolution-wrapper{
    padding: 50px 18px;
    display: block;          /* undo flex push-right */
  }

  /* Full width content */
  body.cms-id-6 .bk-evolution-content{
    max-width: 100%;
    width: 100%;
  }

  /* Make sure body copy can span full width */
  body.cms-id-6 .bk-evolution-section p{
    max-width: 100%;
  }

}
