
/* =========================================================
   CarpetCare.pro
   styles-modals.css
   Reusable modal styling
   ========================================================= */

/* =========================================================
   01. Shared modal shell
   ========================================================= */

.ccp-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 5;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 0.75rem;
}

/* =========================================================
   02. Homepage standards modal
   ========================================================= */

.ccp-standards-modal {
  border: 0;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(13, 39, 66, 0.35);
}

.ccp-standards-modal-side {
  min-height: 100%;
  padding: 3rem;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(13, 39, 66, 0.96), rgba(20, 58, 90, 0.88)),
    url('../_images/hero-home.jpg') center center / cover no-repeat;
}

.ccp-standards-modal-side h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.ccp-standards-modal-side p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.7;
}

.ccp-standards-modal-main {
  padding: 3rem;
  background: #fff;
}

.ccp-standards-modal-main .lead {
  color: var(--ccp-muted);
  line-height: 1.65;
}

.ccp-standard-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(13, 39, 66, 0.10);
}

.ccp-standard-item span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ccp-gold-soft);
  color: var(--ccp-navy);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
}

.ccp-standard-item h3 {
  color: var(--ccp-navy);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.ccp-standard-item p {
  color: var(--ccp-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.ccp-modal-note {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--ccp-cream);
  color: var(--ccp-navy);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* =========================================================
   03. Responsive modal adjustments
   ========================================================= */

@media (max-width: 991.98px) {
  .ccp-standards-modal-side,
  .ccp-standards-modal-main {
    padding: 2rem;
  }
}