/* Static conversion layer for Mastercare. Keeps WordPress export styling intact while replacing runtime-only pieces. */
.mc-hero {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  min-height: clamp(520px, 62vw, 766px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f4f0e6;
}

.mc-hero__media {
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/2025/10/mastercare_revslider-banner_05.jpg');
  background-position: center;
  background-size: cover;
}

.mc-hero__inner {
  position: relative;
  width: min(1230px, calc(100% - 40px));
  margin: 0 auto;
}

.mc-hero__panel {
  max-width: 620px;
  padding: 20px 30px;
  background: rgba(255, 255, 255, 0.82);
  
      position: relative;
    width: min(1230px, calc(100% - 40px));
    /* margin: 0 auto; */
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.05);
}

.mc-hero h1 {
  margin: 0 0 18px;
  color: #000;
  font-family: Poppins, Arial, sans-serif;
  font-size: clamp(33px, 4vw, 40px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
}

.mc-hero h1 span {
  color: #7e1618;
}

.mc-hero p {
  margin: 0 0 26px;
  max-width: 590px;
  color: #000;
  font-family: Poppins, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
}

.mc-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  background: #7e1618;
  color: #fff;
  font-weight: 700;
}

.mc-hero__button:hover,
.mc-hero__button:focus {
  color: #fff;
  background: #000;
}

.mc-contact-form .mc-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.mc-contact-form button.btn {
  border: 0;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .mc-hero {
    min-height: 560px;
  }

  .mc-hero__inner {
    width: calc(100% - 30px);
  }

  .mc-hero__panel {
    padding: 34px 28px;
  }

  .mc-hero p {
    font-size: 17px;
  }
}
