/* ==========================================================
   RK Natural Exports — Compliance & Certifications Page
   ========================================================== */

/* ── Hero ──────────────────────────────────────────────────── */
.comp-hero {
  position: relative;
  height: 480px;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(170deg, rgba(10,20,10,.72) 0%, rgba(28,44,20,.76) 100%),
    url('https://raw.githubusercontent.com/rknaturalexports-ai/RK-Website-Images/main/Background%20Images/BackgroundImg.webp')
    center / cover no-repeat;
}
@media (max-width: 640px) {
  .comp-hero { height: 380px; }
}

.comp-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(1400px 480px at 50% 90%, rgba(0,0,0,.18), transparent 70%);
  pointer-events: none;
}

.comp-hero__inner {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 96px 24px 60px;
  max-width: 820px;
}

.comp-hero__eyebrow {
  margin: 0 0 12px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(185, 225, 165, .90);
}

.comp-hero h1 {
  margin: 0 0 18px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  font-weight: 700;
  color: #fff !important;
  text-shadow: 0 3px 16px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.3);
  letter-spacing: .02em;
  line-height: 1.2;
}

.comp-hero__sub {
  margin: 0;
  font-size: clamp(.92rem, 1.8vw, 1.05rem);
  color: rgba(242, 245, 235, .90);
  line-height: 1.78;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}

/* ── Trust Badge Strip ─────────────────────────────────────── */
.comp-trust-strip {
  background: #fff;
  border-bottom: 1px solid #ece5d8;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 18px 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 28px;
  white-space: nowrap;
}
.trust-badge i {
  color: var(--accent);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.trust-badge span {
  font-family: "Inter", system-ui, sans-serif;
  font-size: .84rem;
  font-weight: 600;
  color: var(--deep);
  letter-spacing: .01em;
}

.trust-sep {
  width: 1px;
  height: 28px;
  background: #ddd;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .trust-badges { gap: 4px 0; padding: 14px 0; }
  .trust-badge  { padding: 8px 16px; }
  .trust-sep    { display: none; }
}

/* ── Verified Exporter Status ──────────────────────────────── */
.comp-verified {
  padding: 52px 0 60px;
  background: #faf8f4;
  border-bottom: 1px solid #ece5d8;
}

.vex-panel {
  background: #fff;
  border: 1px solid #ddd6c8;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
}

/* Dark green header */
.vex-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 32px;
  background: linear-gradient(135deg, #1a3020 0%, #2c4e30 55%, #1e3825 100%);
  position: relative;
  overflow: hidden;
}
.vex-header::before {
  content: "";
  position: absolute;
  top: -50px; right: -40px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(130,200,100,.10) 0%, transparent 60%);
  pointer-events: none;
}
.vex-header::after {
  content: "";
  position: absolute;
  bottom: -60px; left: 25%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(100,170,80,.08) 0%, transparent 60%);
  pointer-events: none;
}

.vex-header__shield {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(4px);
}
.vex-header__shield i { font-size: 1.5rem; color: rgba(190, 232, 168, .95); }

.vex-header__text { flex: 1; min-width: 0; position: relative; }

.vex-header__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: #fff;
  margin: 0 0 5px;
  line-height: 1.2;
}
.vex-header__sub {
  font-family: "Inter", system-ui, sans-serif;
  font-size: .84rem;
  color: rgba(220, 238, 210, .78);
  margin: 0;
  line-height: 1.5;
}

.vex-header__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  background: rgba(100, 200, 80, .18);
  border: 1px solid rgba(160, 220, 140, .36);
  border-radius: 22px;
  padding: 9px 18px;
  flex-shrink: 0;
  white-space: nowrap;
  position: relative;
}
.vex-header__pill i { font-size: .78rem; color: #90e060; }

/* Badge grid — gap trick: container bg = divider colour */
.vex-badges {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #e8e2d8;
  border-top: 1px solid #e8e2d8;
}

.vex-badge {
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px 20px;
  position: relative;
  transition: background .22s ease;
  cursor: default;
}
.vex-badge:hover { background: #f7f5f0; }

/* Staggered entrance animation */
.vex-badge { animation: vexIn .45s cubic-bezier(.16,1,.3,1) both; }
.vex-badge:nth-child(1) { animation-delay: .04s; }
.vex-badge:nth-child(2) { animation-delay: .09s; }
.vex-badge:nth-child(3) { animation-delay: .14s; }
.vex-badge:nth-child(4) { animation-delay: .19s; }
.vex-badge:nth-child(5) { animation-delay: .24s; }
@keyframes vexIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.vex-badge__check {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #4caf50;
  font-size: .88rem;
}

.vex-badge__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef5ea, #e2eed8);
  border: 1px solid #c8ddb8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .22s ease;
}
.vex-badge:hover .vex-badge__icon { transform: scale(1.07); }
.vex-badge__icon i { color: var(--accent); font-size: 1.1rem; }

.vex-badge__body strong {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .84rem;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.3;
  margin-bottom: 4px;
}
.vex-badge__body span {
  font-family: "Inter", system-ui, sans-serif;
  font-size: .74rem;
  color: var(--muted);
  display: block;
}

/* Recognised By strip */
.vex-recog {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: #f5f1eb;
  border-top: 1px solid #e8e2d8;
  flex-wrap: wrap;
}

.vex-recog__label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: .70rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 12px;
  border-right: 1px solid #d0c8bc;
}

.vex-recog__items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.vex-recog__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 500;
  color: var(--deep);
  white-space: nowrap;
  cursor: default;
  transition: color .18s ease;
}
.vex-recog__item i { color: var(--accent); font-size: .76rem; flex-shrink: 0; }
.vex-recog__item:hover { color: var(--accent); }

.vex-recog__sep {
  width: 1px;
  height: 16px;
  background: #d0c8bc;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .vex-badges { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .vex-badges { grid-template-columns: repeat(2, 1fr); }
  .vex-header { padding: 20px 22px; gap: 14px; }
  .vex-header__pill { display: none; }
  .vex-recog__label { display: none; }
  .vex-recog { padding: 12px 18px; }
}
@media (max-width: 400px) {
  .vex-badges { grid-template-columns: 1fr; }
}

/* ── Shared Layout ─────────────────────────────────────────── */
.comp-container {
  width: 1180px;
  max-width: 100%;
  padding: 0 28px;
  margin: 0 auto;
  box-sizing: border-box;
}

.comp-section-head {
  text-align: center;
  margin-bottom: 56px;
}

.comp-eyebrow {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.comp-eyebrow--light { color: rgba(185, 225, 165, .88); }

.comp-section-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  color: var(--deep);
  margin: 0 0 14px;
}
.comp-h2--light { color: #fff !important; }

.comp-lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.78;
}
.comp-lead--light { color: rgba(238, 244, 230, .88); }

/* ── Certificates Section ──────────────────────────────────── */
.comp-certs {
  padding: 84px 0 92px;
  background: #faf8f4;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}

.cert-card {
  grid-column: span 2;
  background: #fff;
  border: 1px solid #e8e0d0;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05), 0 1px 4px rgba(0,0,0,.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .32s cubic-bezier(.16,1,.3,1),
              box-shadow .32s ease,
              border-color .32s ease;
}
.cert-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 56px rgba(0,0,0,.12), 0 6px 16px rgba(0,0,0,.06);
  border-color: #a8cc8c;
}

/* Centre last 2 of 5 cards */
.cert-card:nth-child(4) { grid-column: 2 / span 2; }
.cert-card:nth-child(5) { grid-column: 4 / span 2; }

/* Verified ribbon — top-right corner */
.cert-card__verified {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: linear-gradient(135deg, #2e7d32, #4caf50);
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 10px 5px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(46,125,50,.36);
}
.cert-card__verified i { font-size: .72rem; }

/* Certificate image */
.cert-card__thumb {
  position: relative;
  overflow: hidden;
  background: #f0e8dc;
  cursor: pointer;
}
.cert-card__thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .42s cubic-bezier(.16,1,.3,1);
}
.cert-card:hover .cert-card__thumb img { transform: scale(1.06); }

.cert-card__hover {
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 20, .52);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .28s ease;
}
.cert-card__hover i {
  font-size: 2.4rem;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.45));
}
.cert-card:hover .cert-card__hover { opacity: 1; }

/* Card body */
.cert-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Top row: badge + active pill */
.cert-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cert-card__badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #385a3a, #5b8a60);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(56,90,58,.28);
  flex-shrink: 0;
}
.cert-card__badge i { color: #fff; font-size: .92rem; }

.cert-card__active {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .74rem;
  font-weight: 600;
  color: #2e7d32;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  border-radius: 20px;
  padding: 4px 10px;
}
.cert-card__active i { font-size: .55rem; }

.cert-card__body h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--deep);
  margin: 0 0 6px;
  line-height: 1.3;
}

/* Issuing authority */
.cert-card__authority {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--brown);
  margin: 0 0 10px;
  line-height: 1.4;
}
.cert-card__authority i { margin-top: 2px; flex-shrink: 0; font-size: .75rem; }

.cert-card__desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 20px;
  flex: 1;
}

.cert-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: 9px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
  align-self: flex-start;
}
.cert-btn:hover {
  background: var(--deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(36,58,42,.30);
}
.cert-btn i { font-size: .82rem; }

/* ── Regulatory Authorities ────────────────────────────────── */
.comp-authorities {
  padding: 72px 0 80px;
  background: #fff;
  border-top: 1px solid #ece5d8;
  border-bottom: 1px solid #ece5d8;
}

.comp-auth__heading {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--deep);
  text-align: center;
  margin: 0 0 48px;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.auth-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px 24px;
  border: 1px solid #ece5d8;
  border-radius: 16px;
  background: #faf8f4;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.auth-item:hover {
  border-color: #c0d8a8;
  box-shadow: 0 8px 28px rgba(0,0,0,.07);
  transform: translateY(-4px);
}

.auth-item__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #f0f0f0;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  /* Grayscale for official/credibility look */
  filter: grayscale(1);
  transition: filter .25s ease;
}
.auth-item:hover .auth-item__icon { filter: grayscale(0); }
.auth-item__icon i {
  font-size: 1.4rem;
  color: var(--accent);
}

.auth-item__name {
  font-family: "Inter", system-ui, sans-serif;
  font-size: .84rem;
  font-weight: 700;
  color: var(--deep);
  margin: 0 0 4px;
  line-height: 1.3;
}

.auth-item__sub {
  font-size: .76rem;
  color: var(--muted);
  margin: 0;
}

/* ── Shipment Documentation Package ───────────────────────── */
.comp-pkg {
  padding: 84px 0 92px;
  background: linear-gradient(135deg, #fffefb 0%, #f5f0e8 50%, #fffefb 100%);
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pkg-item {
  background: #fff;
  border: 1px solid #e8e0d0;
  border-radius: 18px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.05);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.pkg-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
  border-color: #b8d4a0;
}

/* Large background number */
.pkg-item__num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: "Playfair Display", serif;
  font-size: 3.6rem;
  font-weight: 700;
  color: rgba(56,90,58,.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.pkg-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #385a3a, #5b8a60);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 16px rgba(56,90,58,.25);
}
.pkg-item__icon i { color: #fff; font-size: 1.15rem; }

.pkg-item h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  color: var(--deep);
  margin: 0 0 10px;
  line-height: 1.3;
}

.pkg-item p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
  flex: 1;
}

.pkg-item__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .76rem;
  font-weight: 600;
  color: var(--accent);
  background: #eef5ea;
  border: 1px solid #c8ddb8;
  border-radius: 20px;
  padding: 5px 12px;
  align-self: flex-start;
}
.pkg-item__tag i { font-size: .7rem; }

/* ── Export Documentation (Dark) ───────────────────────────── */
.comp-docs {
  padding: 84px 0 92px;
  background:
    linear-gradient(170deg, rgba(14,26,12,.86) 0%, rgba(24,42,18,.92) 100%),
    url('https://raw.githubusercontent.com/rknaturalexports-ai/RK-Website-Images/main/Background%20Images/BackgroundImg.webp')
    center / cover no-repeat fixed;
}
@media (max-width: 960px) {
  .comp-docs { background-attachment: scroll; }
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.doc-item {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 16px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.doc-item:hover {
  background: rgba(255, 255, 255, .10);
  transform: translateY(-4px);
  border-color: rgba(160, 215, 140, .28);
}

.doc-item__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(160, 215, 140, .14);
  border: 1px solid rgba(160, 215, 140, .24);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doc-item__icon i {
  color: rgba(190, 232, 168, .95);
  font-size: 1.15rem;
}

/* "Key Document" label */
.doc-item__label {
  display: inline-block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(190, 232, 168, .90);
  background: rgba(160, 215, 140, .14);
  border: 1px solid rgba(160, 215, 140, .22);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 4px;
  width: fit-content;
}

.doc-item__content h4 {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
}
.doc-item__content p {
  font-size: .88rem;
  color: rgba(225, 236, 218, .78);
  line-height: 1.68;
  margin: 0 0 14px;
}

.comp-docs .pkg-item__tag {
  color: rgba(190, 232, 168, .92);
  background: rgba(160, 215, 140, .12);
  border-color: rgba(160, 215, 140, .28);
}

/* ── Final CTA ─────────────────────────────────────────────── */
.comp-final-cta {
  padding: 96px 0 104px;
  background: linear-gradient(150deg, #1a3020 0%, #243a2a 55%, #1e2e22 100%);
  position: relative;
  overflow: hidden;
}
.comp-final-cta::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(100,160,80,.10) 0%, transparent 65%);
  pointer-events: none;
}
.comp-final-cta::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(80,130,60,.08) 0%, transparent 65%);
  pointer-events: none;
}

.comp-final-cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.comp-final-cta__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  backdrop-filter: blur(4px);
}
.comp-final-cta__icon i {
  font-size: 1.8rem;
  color: rgba(190, 232, 168, .95);
}

.comp-final-cta__inner h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff !important;
  margin: 0 0 24px;
  line-height: 1.2;
}

.comp-final-cta__inner p {
  font-size: clamp(.95rem, 1.8vw, 1.08rem);
  color: rgba(225, 238, 215, .85);
  line-height: 1.78;
  margin: 0 0 52px;
}

.comp-final-cta__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.comp-cta-btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 34px;
  font-size: 1rem;
  background: #fff;
  color: var(--deep) !important;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
  transition: transform .22s ease, box-shadow .22s ease;
  text-decoration: none;
}
.comp-cta-btn--primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(255,255,255,.18), 0 6px 16px rgba(0,0,0,.20);
}

.comp-cta-btn--wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 30px;
  font-size: 1rem;
  background: #25D366;
  color: #fff !important;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(37, 211, 102, .32);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  text-decoration: none;
}
.comp-cta-btn--wa:hover {
  background: #1eb858;
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(37, 211, 102, .48);
}
.comp-cta-btn--wa i { font-size: 1.1rem; }

.comp-cta-trust {
  margin: 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .78rem;
  color: rgba(180, 210, 168, .60);
  letter-spacing: .01em;
}
.comp-cta-trust i { font-size: .72rem; }

/* ── Lightbox ──────────────────────────────────────────────── */
.cert-lb {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-lb[hidden] { display: none; }

.cert-lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 5, .90);
  backdrop-filter: blur(8px);
}

.cert-lb__panel {
  position: relative;
  z-index: 1;
  width: min(780px, 96vw);
  max-height: 94vh;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 48px 120px rgba(0,0,0,.60), 0 8px 24px rgba(0,0,0,.25);
  animation: lbIn .24s cubic-bezier(.16,1,.3,1);
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(.92) translateY(24px); }
  to   { opacity: 1; transform: scale(1)  translateY(0); }
}

/* Header: certificate metadata */
.cert-lb__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #faf7f2;
  border-bottom: 1px solid #ede7dd;
  flex-shrink: 0;
  gap: 12px;
  flex-wrap: wrap;
}

.cert-lb__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cert-lb__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #385a3a, #5b8a60);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(56,90,58,.28);
}
.cert-lb__icon i { color: #fff; font-size: .95rem; }

.cert-lb__info { min-width: 0; }

.cert-lb__title {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep);
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.cert-lb__authority {
  font-family: "Inter", system-ui, sans-serif;
  font-size: .76rem;
  color: var(--brown);
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cert-lb__meta-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cert-lb__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: .73rem;
  font-weight: 700;
  color: #2e7d32;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  border-radius: 20px;
  padding: 4px 10px;
  white-space: nowrap;
}
.cert-lb__status i { font-size: .65rem; }

.cert-lb__counter {
  font-family: "Inter", system-ui, sans-serif;
  font-size: .76rem;
  font-weight: 600;
  color: var(--deep);
  background: #f0ebe3;
  border: 1px solid #e0d8cc;
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* Toolbar: zoom + actions */
.cert-lb__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #ede7dd;
  background: #fff;
  flex-shrink: 0;
  gap: 12px;
}

.cert-lb__zoom-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cert-lb__zoom-track {
  width: 80px;
  height: 4px;
  background: #e0d8cc;
  border-radius: 2px;
  overflow: hidden;
}
.cert-lb__zoom-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 14%;
  transition: width .18s ease;
}

.cert-lb__zoom-pct {
  font-family: "Inter", system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 600;
  color: var(--deep);
  min-width: 38px;
}

.cert-lb__toolbar-actions { display: flex; gap: 6px; }

.lb-tbtn {
  width: 34px;
  height: 34px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep) !important;
  font-size: .86rem;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  text-decoration: none;
  flex-shrink: 0;
}
.lb-tbtn:hover { background: var(--accent); color: #fff !important; border-color: var(--accent); }
.lb-tbtn--close:hover { background: #c0392b; border-color: #c0392b; color: #fff !important; }

/* Document frame */
.cert-lb__doc-wrap {
  overflow: auto;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px;
  background: #ede8e0;
}
.cert-lb__doc-frame {
  background: #fff;
  border-radius: 4px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.08),
    0 8px 32px rgba(0,0,0,.22),
    4px 4px 0 #c8beaf,
    5px 5px 0 rgba(0,0,0,.10);
  line-height: 0;
  flex-shrink: 0;
}
.cert-lb__doc-frame img {
  max-width: min(680px, calc(96vw - 56px));
  height: auto;
  display: block;
  border-radius: 3px;
  transition: transform .22s ease;
  transform-origin: top center;
}

/* Navigation footer */
.cert-lb__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-top: 1px solid #ede7dd;
  background: #faf7f2;
  flex-shrink: 0;
}

.lb-nav-btn {
  width: 38px;
  height: 38px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--deep) !important;
  font-size: .88rem;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.lb-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
  transform: scale(1.08);
}

.lb-dots { display: flex; gap: 8px; align-items: center; }

.lb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .18s ease, transform .18s ease;
}
.lb-dot--active { background: var(--accent); transform: scale(1.4); }
.lb-dot:hover:not(.lb-dot--active) { background: #aaa; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .auth-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .cert-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }
  .cert-card:nth-child(4) { grid-column: span 2; }
  .cert-card:nth-child(5) { grid-column: 2 / span 2; }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .comp-certs, .comp-pkg, .comp-docs, .comp-authorities, .comp-final-cta {
    padding: 64px 0 72px;
  }
}

@media (max-width: 700px) {
  .auth-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .docs-grid { grid-template-columns: 1fr; }
}

/* ── Mobile improvements (≤ 768px only) ───────────────────── */
@media (max-width: 768px) {

  /* 1 ── Hero readability */
  .comp-hero__inner { padding: 84px 20px 52px; }
  .comp-hero__sub {
    font-size: .93rem;
    line-height: 1.9;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  /* 2 ── Trust badges: 2-col visual grid */
  .trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px 16px;
  }
  .trust-badge {
    background: #f5f2ed;
    border: 1px solid #e0d8cc;
    border-radius: 12px;
    padding: 13px 16px;
    justify-content: flex-start;
    gap: 10px;
  }
  .trust-badge i   { font-size: 1.15rem; }
  .trust-badge span { font-size: .82rem; line-height: 1.35; }
  /* 5th badge centered in last row */
  .trust-badge:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 6px);
    margin: 0 auto;
  }
  .trust-sep { display: none; }

  /* 3 ── Certificate cards */
  .cert-card__thumb img { aspect-ratio: 3 / 2; }
  .cert-card__body { padding: 15px 16px 18px; }
  .cert-card__body h3 { font-size: 1.05rem; }
  .cert-btn {
    width: 100%;
    justify-content: center;
    font-size: .88rem;
    padding: 12px 18px;
  }

  /* 4 ── Certificate modal */
  .cert-lb__panel { border-radius: 16px; }
  .cert-lb__doc-wrap { padding: 14px; -webkit-overflow-scrolling: touch; }
  .cert-lb__zoom-track { display: none; }
  .lb-tbtn  { width: 38px; height: 38px; font-size: .9rem; }
  .lb-nav-btn { width: 42px; height: 42px; font-size: .92rem; }

  /* 5 ── Documentation package cards */
  .pkg-item { padding: 26px 22px 24px; }
  .pkg-item p { line-height: 1.78; }
  .doc-item { padding: 22px 20px; gap: 16px; }
  .doc-item__content p { line-height: 1.74; }

  /* 6 ── Larger icons (28–32px visual size) */
  .pkg-item__icon  { width: 54px; height: 54px; }
  .pkg-item__icon i { font-size: 1.25rem; }
  .doc-item__icon  { width: 54px; height: 54px; }
  .doc-item__icon i { font-size: 1.25rem; }
  .vex-badge__icon  { width: 50px; height: 50px; }
  .vex-badge__icon i { font-size: 1.2rem; }
  .cert-card__badge  { width: 44px; height: 44px; }
  .cert-card__badge i { font-size: .96rem; }

  /* 7 ── Section visual separation */
  .comp-verified,
  .comp-certs,
  .comp-authorities,
  .comp-pkg { border-top: 3px solid #f0ebe3; }
  .comp-docs,
  .comp-final-cta { border-top: 3px solid rgba(255,255,255,.06); }

  /* 8 ── CTA buttons: larger & full-width */
  .comp-final-cta__btns {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .comp-cta-btn--primary {
    font-size: 1.05rem;
    padding: 18px 32px;
    justify-content: center;
  }
  .comp-cta-btn--wa {
    font-size: .98rem;
    padding: 16px 28px;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .cert-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .cert-card,
  .cert-card:nth-child(4),
  .cert-card:nth-child(5) { grid-column: 1 / -1; }
  .auth-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .comp-certs, .comp-pkg, .comp-docs, .comp-authorities { padding: 52px 0 60px; }
  .comp-final-cta { padding: 72px 0 80px; }
  .comp-hero__inner { padding: 80px 20px 48px; }
  .cert-lb__header { padding: 12px 14px; }
  .cert-lb__title  { font-size: .9rem; }
  .cert-lb__doc-wrap { padding: 16px; }
  .cert-lb__toolbar { padding: 8px 12px; }
  .cert-lb__zoom-track { width: 56px; }
  .comp-final-cta__btns { flex-direction: column; align-items: stretch; }
  .comp-cta-btn--primary, .comp-cta-btn--wa { justify-content: center; }
}
