/* /akkreditaciya-i-rejtingi hero: certificate card, guilloche rosette, quick links to the sections. */

.acx-hero {
  --acx-navy-950: #081629;
  --acx-navy-900: #0b1d36;
  --acx-navy-800: #0f2747;
  --acx-ink: #13294b;
  --acx-ink-soft: #4d5d74;
  --acx-gold: #e8a020;
  --acx-gold-soft: #f3c46b;
  --acx-gold-deep: #9c7020;
  --acx-paper: #fbf8f1;
  --acx-paper-line: rgba(156, 112, 32, .34);
  --acx-line: rgba(255, 255, 255, .14);
  --acx-text-soft: rgba(225, 234, 246, .76);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  font-family: inherit;
  background:
    radial-gradient(900px 560px at 80% 30%, rgba(232, 160, 32, .12), transparent 62%),
    radial-gradient(820px 620px at -5% 105%, rgba(38, 112, 196, .30), transparent 62%),
    linear-gradient(160deg, var(--acx-navy-900) 0%, var(--acx-navy-800) 52%, #0b2140 100%);
  border-bottom: 2px solid var(--acx-gold);
}

/* Fine engineering grid, faded toward the edges. */
.acx-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.acx-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 28px 36px 0;
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.acx-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}
.acx-breadcrumb a,
.acx-breadcrumb span { color: rgba(255, 255, 255, .62); text-decoration: none; }
.acx-breadcrumb a:hover { color: #fff; }
.acx-breadcrumb [aria-current] { color: rgba(255, 255, 255, .88); }

/* ── Layout ─────────────────────────────────────────────── */
.acx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  align-items: center;
  gap: 96px;
  padding: 40px 0 52px;
}

/* ── Copy ───────────────────────────────────────────────── */
.acx-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--acx-gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.acx-kicker::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--acx-gold);
}
.acx-hero .acx-title {
  margin: 0;
  max-width: 700px;
  color: #fff;
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.acx-statement {
  margin: 22px 0 0;
  color: var(--acx-gold-soft);
  font-family: 'Literata', Georgia, serif;
  font-size: clamp(19px, 1.7vw, 23px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
}
.acx-lead {
  max-width: 52ch;
  margin: 14px 0 0;
  color: var(--acx-text-soft);
  font-size: 16px;
  line-height: 1.7;
}
.acx-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding: 16px 24px;
  color: var(--acx-navy-950);
  background: var(--acx-gold);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.acx-btn > span { font-size: 18px; line-height: 1; transition: transform .2s ease; }
.acx-btn:hover { color: var(--acx-navy-950); background: var(--acx-gold-soft); }
.acx-btn:hover > span { transform: translateY(3px); }

/* ── Certificate ────────────────────────────────────────── */
.acx-cert-wrap {
  position: relative;
  z-index: 0;
  width: 100%;
}
.acx-guilloche {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 1000px;
  max-width: none;
  height: 1000px;
  max-height: none;
  transform: translate(-50%, -50%);
  fill: none;
  stroke: rgba(243, 196, 107, .42);
  stroke-width: .7;
  -webkit-mask-image: radial-gradient(circle, #000 50%, transparent 70%);
  mask-image: radial-gradient(circle, #000 50%, transparent 70%);
  pointer-events: none;
}
.acx-guilloche .acx-g-outer,
.acx-guilloche .acx-g-middle { transform-origin: 0 0; will-change: transform; }
.acx-guilloche .acx-g-outer { animation: acx-spin 300s linear infinite; }
.acx-guilloche .acx-g-middle { animation: acx-spin 220s linear infinite reverse; }
.acx-guilloche .acx-g-rings { stroke: rgba(243, 196, 107, .5); }
.acx-guilloche .acx-g-inner { stroke: rgba(243, 196, 107, .3); }

.acx-cert {
  width: 100%;
  color: var(--acx-ink);
  background: var(--acx-paper);
  border-radius: 4px;
  box-shadow: 0 44px 80px -36px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  overflow: hidden;
}
.acx-cert-body {
  position: relative;
  padding: 26px 34px 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 160, 32, .08), transparent 60%),
    var(--acx-paper);
}
/* Double engraved frame. */
.acx-cert-body::before,
.acx-cert-body::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border: 1px solid var(--acx-paper-line);
}
.acx-cert-body::before { inset: 10px 10px 10px; }
.acx-cert-body::after { inset: 14px 14px 14px; border-color: rgba(156, 112, 32, .16); }
.acx-cert-band {
  display: block;
  width: 100%;
  height: 26px;
  fill: none;
  stroke: rgba(156, 112, 32, .5);
  stroke-width: .8;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.acx-cert-band path { vector-effect: non-scaling-stroke; }
.acx-cert-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.acx-cert-issuer {
  color: var(--acx-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2em;
}
.acx-cert-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 9px;
  color: #17694a;
  background: #e2f1e9;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.acx-cert-status > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22a06b;
  box-shadow: 0 0 0 3px rgba(34, 160, 107, .2);
}
.acx-cert-seal { width: 76px; margin: 14px auto 12px; }
.acx-cert-seal svg { display: block; width: 100%; stroke: var(--acx-gold-deep); stroke-width: 1.2; }
.acx-cert-seal .acx-cert-check { stroke: var(--acx-gold); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.acx-cert-eyebrow {
  margin: 0;
  color: var(--acx-ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.acx-hero .acx-cert-title {
  margin: 10px 0 0;
  color: var(--acx-ink);
  font-family: 'Literata', Georgia, serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.015em;
  text-align: center;
  text-wrap: balance;
}
.acx-cert-number {
  margin: 10px 0 0;
  color: var(--acx-gold-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.acx-cert-term {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(19, 41, 75, .2);
}
.acx-cert-term-label {
  display: block;
  color: var(--acx-ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.acx-cert-track {
  height: 4px;
  margin: 12px 0 10px;
  background: #e8e1d1;
  border-radius: 2px;
  overflow: hidden;
}
.acx-cert-track > span {
  display: block;
  height: 100%;
  min-width: 6px;
  background: linear-gradient(90deg, var(--acx-gold-deep), var(--acx-gold));
  border-radius: inherit;
}
.acx-cert-dates {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--acx-ink);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.acx-cert-dates > span { font-size: 0; }
.acx-cert-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 34px;
  color: var(--acx-ink);
  background: #f2ecdf;
  border-top: 1px solid rgba(156, 112, 32, .22);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.acx-cert-link > span { color: var(--acx-gold-deep); font-size: 18px; line-height: 1; transition: transform .2s ease, color .2s ease; }
.acx-cert-link:hover { color: #fff; background: var(--acx-ink); }
.acx-cert-link:hover > span { color: var(--acx-gold-soft); transform: translateX(4px); }

/* ── Quick navigation to the four sections ──────────────── */
.acx-quicknav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--acx-line);
}
.acx-quicknav[hidden] { display: none; }
.acx-quicknav a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 20px 24px;
  color: #fff;
  text-decoration: none;
  border-left: 1px solid var(--acx-line);
  transition: background-color .2s ease;
}
.acx-quicknav a:first-child { border-left: 0; padding-left: 0; }
.acx-quicknav a:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent); }
.acx-q-text { display: grid; gap: 6px; }
.acx-q-num {
  color: var(--acx-gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.acx-q-label { font-size: 15px; font-weight: 600; line-height: 1.35; }
.acx-q-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  font-size: 15px;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.acx-quicknav a:hover .acx-q-arrow { color: var(--acx-navy-950); background: var(--acx-gold); border-color: var(--acx-gold); transform: translateY(2px); }
.acx-quicknav a:hover .acx-q-label { color: var(--acx-gold-soft); }

/* ── Focus ──────────────────────────────────────────────── */
.acx-hero a:focus-visible {
  outline: 2px solid var(--acx-gold-soft);
  outline-offset: 3px;
}
.acx-cert-link:focus-visible { outline-offset: -4px; }

/* ── Entrance ───────────────────────────────────────────── */
@keyframes acx-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes acx-spin { to { transform: rotate(360deg); } }
.acx-hero-copy > * { animation: acx-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.acx-hero-copy > :nth-child(2) { animation-delay: .06s; }
.acx-hero-copy > :nth-child(3) { animation-delay: .12s; }
.acx-hero-copy > :nth-child(4) { animation-delay: .18s; }
.acx-hero-copy > :nth-child(5) { animation-delay: .24s; }
.acx-cert { animation: acx-rise .8s .16s cubic-bezier(.2, .7, .2, 1) both; }
.acx-quicknav a { animation: acx-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.acx-quicknav a:nth-child(2) { animation-delay: .05s; }
.acx-quicknav a:nth-child(3) { animation-delay: .1s; }
.acx-quicknav a:nth-child(4) { animation-delay: .15s; }

@media (prefers-reduced-motion: reduce) {
  .acx-hero *, .acx-hero *::before, .acx-hero *::after { animation: none !important; transition: none !important; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1160px) {
  .acx-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 56px; }
  .acx-hero .acx-title { font-size: clamp(38px, 4.4vw, 50px); }
}
@media (max-width: 900px) {
  .acx-hero-inner { padding: 24px 24px 0; }
  .acx-hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 40px 0 48px; }
  .acx-cert-wrap { max-width: 520px; }
  .acx-guilloche { width: 760px; height: 760px; }
  .acx-quicknav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acx-quicknav a:nth-child(odd) { border-left: 0; padding-left: 0; }
  .acx-quicknav a:nth-child(n + 3) { border-top: 1px solid var(--acx-line); }
}
@media (max-width: 600px) {
  .acx-hero-inner { padding: 20px 20px 0; }
  .acx-breadcrumb { font-size: 11px; }
  .acx-hero-grid { padding: 30px 0 40px; gap: 36px; }
  .acx-kicker { margin-bottom: 18px; font-size: 11px; }
  .acx-hero .acx-title { font-size: 34px; line-height: 1.12; }
  .acx-statement { margin-top: 16px; font-size: 19px; }
  .acx-lead { font-size: 15px; }
  .acx-btn { display: flex; justify-content: space-between; margin-top: 26px; }
  .acx-cert-body { padding: 24px 26px 24px; }
  .acx-cert-band { height: 22px; }
  .acx-cert-seal { width: 68px; margin: 16px auto 10px; }
  .acx-hero .acx-cert-title { font-size: 23px; }
  .acx-cert-link { padding: 16px 26px; }
  .acx-quicknav { grid-template-columns: 1fr; }
  .acx-quicknav a,
  .acx-quicknav a:nth-child(odd) { min-height: 0; padding: 16px 0; border-left: 0; }
  .acx-quicknav a + a { border-top: 1px solid var(--acx-line); }
}
