@import url('home-care-v1.css');

.cqc-banner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(18rem, 1fr) auto;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3rem);
  max-width: 88rem;
  margin: clamp(2rem, 4vw, 4rem) auto;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(239, 184, 16, .62);
  border-radius: 1.6rem 1.6rem 4.5rem 1.6rem;
  background: linear-gradient(115deg, #fff 0%, #fffdf8 62%, #f8edc8 100%);
  box-shadow: 0 18px 55px rgba(49, 38, 12, .11);
}
.cqc-banner::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 2rem;
  width: 7rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gold);
}
.cqc-mark {
  display: grid;
  place-items: center;
  width: 7.3rem;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #28271f, #171713);
  box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px var(--gold), 0 12px 25px rgba(34, 28, 12, .18);
}
.cqc-mark span {
  align-self: end;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}
.cqc-mark small {
  align-self: start;
  margin-top: .35rem;
  color: #ffd75a;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.cqc-copy h2 {
  margin: .4rem 0 .45rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.cqc-copy p {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
}
.cqc-link { white-space: nowrap; }
.footer-cqc {
  display: inline-flex !important;
  align-items: center;
  gap: .65rem;
  margin-top: .35rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(239, 184, 16, .42);
  border-radius: 999px;
}
.footer-cqc strong {
  color: #ffd75a;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
}
.footer-cqc span { font-size: .66rem; }

@media (max-width: 1050px) {
  .cqc-banner {
    grid-template-columns: auto 1fr;
    margin-right: 1.2rem;
    margin-left: 1.2rem;
  }
  .cqc-link {
    grid-column: 2;
    justify-self: start;
    width: auto;
  }
}

@media (max-width: 720px) {
  .cqc-banner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    margin: 1.5rem .9rem 2.4rem;
    padding: 1.4rem 1.25rem 1.5rem;
    border-radius: 1.4rem 1.4rem 3.4rem 1.4rem;
    text-align: center;
  }
  .cqc-banner::before {
    left: 50%;
    width: 5rem;
    transform: translateX(-50%);
  }
  .cqc-mark {
    width: 6.4rem;
    justify-self: center;
  }
  .cqc-mark span { font-size: 1.75rem; }
  .cqc-copy h2 { font-size: 2rem; }
  .cqc-copy p { font-size: .83rem; }
  .cqc-link {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
  }
}
