/* ============================================================
   Edu2Future LLC — Accreditations & Credentials
   Extends "Editorial Prestige" (study-usa.css).
   Concept: "the record" — credentials as verifiable documents.
   Page-specific components, .cr- prefixed.
   ============================================================ */

/* ============================================================
   HERO — centered page header with gold seal
   ============================================================ */
.cr-hero {
  position: relative;
  isolation: isolate;
  text-align: center;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(212,175,55,.20), transparent 60%),
    linear-gradient(160deg, #0e2950 0%, #0b1f3a 54%, #071528 100%);
}
.cr-hero-aura {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(520px 520px at 50% 40%, rgba(120,170,235,.12), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000, #000 70%, transparent);
}
.cr-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
}
.cr-hero-inner .su-eyebrow { justify-content: center; }
.cr-hero-inner .su-display {
  color: #fff;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  margin: 20px 0 0;
}

/* wax-seal style emblem */
.cr-seal {
  width: 82px; height: 82px;
  margin-bottom: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--su-gold);
  background: radial-gradient(circle at 50% 38%, rgba(212,175,55,.22), rgba(212,175,55,.06));
  border: 1.5px solid rgba(212,175,55,.5);
  box-shadow: 0 0 0 6px rgba(212,175,55,.08), 0 20px 44px -20px rgba(212,175,55,.5);
  position: relative;
}
.cr-seal::before {
  content: "";
  position: absolute; inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(212,175,55,.4);
}
.cr-seal svg { width: 36px; height: 36px; }

.cr-hero-lede {
  margin-top: 24px;
  color: #C9D6E5;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.8;
  max-width: 40em;
}

/* ============================================================
   PROFESSIONAL CREDENTIALS — certificate records
   ============================================================ */
.cr-certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cr-cert {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--su-line);
  border-radius: 22px;
  padding: 40px 38px 34px;
  overflow: hidden;
  box-shadow: 0 30px 70px -46px rgba(11,31,58,.5);
}
/* gold top rule — like a certificate border */
.cr-cert::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--su-gold), rgba(212,175,55,.35));
}
/* faint watermark seal in the corner */
.cr-cert::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 170px; height: 170px;
  border-radius: 50%;
  border: 2px solid rgba(212,175,55,.08);
  box-shadow: inset 0 0 0 10px rgba(212,175,55,.04);
  pointer-events: none;
}
.cr-cert-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.cr-cert-emblem {
  flex: none;
  width: 58px; height: 58px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #0d2444, var(--su-ink));
  color: var(--su-gold);
  box-shadow: 0 12px 26px -14px rgba(11,31,58,.6);
}
.cr-cert-emblem svg { width: 27px; height: 27px; }
.cr-cert-org {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--su-gold);
}
.cr-cert-head h3 {
  font-family: var(--su-serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--su-ink);
  margin-top: 4px;
}
.cr-cert-body {
  color: var(--color-paragraph);
  font-size: .98rem;
  line-height: 1.72;
}
.cr-cert-note {
  margin-top: 16px;
  font-family: var(--su-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--su-ink);
}

/* verification record strip */
.cr-record {
  margin-top: auto;
  padding-top: 24px;
}
.cr-record-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--su-line);
}
.cr-record-row dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.cr-record-row dd {
  font-weight: 600;
  color: var(--su-ink);
  text-align: right;
}
.cr-mono {
  font-family: 'DejaVu Sans Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  letter-spacing: .02em;
  color: var(--su-gold) !important;
}

/* ============================================================
   CORPORATE INFORMATION — registry sheet on navy
   ============================================================ */
.su-section.is-deep .cr-corp .su-head .su-display { color: var(--su-ink); }
.cr-registry {
  border: 1px solid var(--su-line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px -50px rgba(11,31,58,.5);
}
.cr-registry-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  padding: 24px clamp(24px, 4vw, 40px);
  align-items: baseline;
}
.cr-registry-row + .cr-registry-row { border-top: 1px solid var(--su-line); }
.cr-registry-row dt {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--su-gold);
}
.cr-registry-row dd {
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--su-ink);
  font-weight: 500;
}

/* ============================================================
   PROFESSIONAL ENGAGEMENT — two-column layout
   ============================================================ */
.cr-engage-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
.cr-engage-head { margin-bottom: 0; }
.cr-engage {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.cr-engage-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--su-line);
  font-size: 1.04rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--su-ink);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.cr-engage-item:hover {
  transform: translateX(4px);
  border-color: rgba(212,175,55,.45);
  box-shadow: 0 22px 46px -30px rgba(11,31,58,.4);
}
.cr-engage-mark {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(212,175,55,.14);
  border: 1px solid rgba(212,175,55,.45);
  color: var(--su-gold);
}
.cr-engage-mark svg { width: 15px; height: 15px; }

/* ============================================================
   COMMITMENT TO BEST PRACTICES — navy statement band
   ============================================================ */
.cr-commit {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 120px) 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(700px 420px at 50% 0%, rgba(212,175,55,.12), transparent 60%),
    linear-gradient(160deg, #0d2444, #071528);
}
.cr-commit-inner { max-width: 820px; margin: 0 auto; }
.cr-commit-statement {
  font-family: var(--su-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.34;
  color: #fff;
  margin: 26px auto 0;
  max-width: 20em;
}
.cr-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  max-width: 40em;
  margin: 40px auto 0;
  padding: 24px 28px;
  border-radius: 16px;
  background: rgba(212,175,55,.08);
  border: 1px solid rgba(212,175,55,.28);
}
.cr-disclaimer-ico {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--su-gold);
  background: rgba(212,175,55,.14);
  border: 1px solid rgba(212,175,55,.4);
}
.cr-disclaimer-ico svg { width: 21px; height: 21px; }
.cr-disclaimer p {
  color: #DCE5F0;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ============================================================
   EDUCATIONAL PARTNERSHIPS — logo grid (placeholder)
   ============================================================ */
.cr-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cr-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 130px;
  padding: 26px;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed rgba(11,31,58,.16);
  color: var(--color-muted);
  transition: border-color .3s ease, color .3s ease, transform .3s ease;
}
.cr-logo:hover { border-color: rgba(212,175,55,.5); color: var(--su-navy); transform: translateY(-4px); }
.cr-logo svg { width: 40px; height: 40px; opacity: .55; }
.cr-logo span {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.cr-logos-note {
  margin-top: 26px;
  text-align: center;
  font-size: .88rem;
  font-style: italic;
  color: var(--color-muted);
}

/* ============================================================
   CLOSING CTA
   ============================================================ */
.cr-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .cr-certs { grid-template-columns: 1fr; }
  .cr-engage-grid { grid-template-columns: 1fr; gap: 36px; }
  .cr-registry-row { grid-template-columns: 1fr; gap: 6px; }
  .cr-logos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cr-cert { padding: 32px 26px 28px; }
  .cr-logos { grid-template-columns: 1fr; }
  .cr-record-row { flex-direction: column; gap: 4px; align-items: flex-start; }
  .cr-record-row dd { text-align: left; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .cr-engage-item, .cr-logo { transition: none; }
}
