/* ============================================================
   CQC & Governance page - custom polish layer
   ============================================================ */

/* ---------- Hero (photo band) ---------- */
.cqc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 150px 0 122px;
  background-image:
    linear-gradient(100deg, rgba(7, 25, 43, 0.96) 0%, rgba(10, 34, 60, 0.9) 45%, rgba(78, 186, 40, 0.42) 100%),
    linear-gradient(0deg, rgba(7, 25, 43, 0.35), rgba(7, 25, 43, 0.15)),
    url("../images/imagesghft.jfif");
  background-size: cover;
  background-position: center 30%;
}

.cqc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(540px 380px at 88% 8%, rgba(78, 186, 40, 0.22), transparent 64%),
    radial-gradient(480px 360px at 4% 96%, rgba(20, 118, 168, 0.32), transparent 60%);
  pointer-events: none;
}

.cqc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(620px 460px at 78% 26%, #000 0%, transparent 72%);
  mask-image: radial-gradient(620px 460px at 78% 26%, #000 0%, transparent 72%);
  pointer-events: none;
}

.cqc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.cqc-hero-inner h2 {
  text-shadow: 0 2px 30px rgba(4, 18, 32, 0.5);
}

.cqc-hero-inner .grad {
  background: linear-gradient(118deg, #ffffff 8%, #CFE8FF 45%, #9BE7DD 105%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--white);
}

.cqc-hero-inner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.06rem;
  margin-bottom: 34px;
}

.cqc-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.cqc-pill svg {
  width: 17px;
  height: 17px;
  color: #9BE7DD;
  transition: transform 0.3s ease;
}

.cqc-pill:hover svg {
  transform: scale(1.2) rotate(-8deg);
}

.cqc-hero .crumbs {
  color: rgba(255, 255, 255, 0.72);
}

.cqc-hero-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.cqc-hero-btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---------- Split accent ---------- */
.cqc-split h2 .grad {
  background: linear-gradient(120deg, var(--teal) 10%, var(--teal-dark) 55%, var(--green-dark) 105%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--teal);
}

.cqc-split .check-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px 14px 48px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
  font-weight: 600;
  color: var(--navy);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cqc-split .check-list li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}

.cqc-split .check-list li::before {
  left: 12px;
  top: 12px;
}

.cqc-split .image {
  border: 6px solid var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.cqc-split .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cqc-split .image:hover {
  transform: rotate(0deg);
}

.cqc-split .image:hover img {
  transform: scale(1.04);
}

/* ---------- Governance pillar cards ---------- */
.cqc-pillars .card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cqc-pillars .card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 80, 168, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cqc-pillars .card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.cqc-pillars .card:hover::after {
  opacity: 1;
}

.cqc-pillars .card .icon {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--teal-mist);
  color: var(--teal);
  margin-bottom: 20px;
  box-shadow: inset 0 0 0 1px rgba(20, 80, 168, 0.08);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cqc-pillars .card .icon svg {
  width: 28px;
  height: 28px;
  stroke-dasharray: 1 0;
  transition: transform 0.35s ease;
}

.cqc-pillars .card:hover .icon {
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: var(--white);
  transform: translateY(-3px) scale(1.05) rotate(-4deg);
  box-shadow: 0 12px 26px rgba(20, 80, 168, 0.32);
}

.cqc-pillars .card:hover .icon svg {
  transform: scale(1.08);
}

.cqc-pillars .card h3 {
  font-size: 1.1rem;
  position: relative;
}

.cqc-pillars .card p {
  position: relative;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .cqc-hero {
    padding: 130px 0 90px;
  }
}

@media (max-width: 620px) {
  .cqc-hero {
    padding: 130px 0 72px;
  }

  .cqc-split .image {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cqc-hero::after,
  .cqc-split .image,
  .cqc-split .image img,
  .cqc-split .check-list li,
  .cqc-pillars .card,
  .cqc-pillars .card::after,
  .cqc-pillars .card .icon,
  .cqc-pillars .card .icon svg,
  .cqc-pill svg {
    transition: none;
  }
}