/* =====================================================
   ALKONIC CERTIFICATES PAGE — certificates.css
   All selectors scoped under .ct-page
   Prefix: ct-
===================================================== */

/* ── RESET & BASE ── */
.ct-page {
    font-family: 'DM Sans', sans-serif;
    background: #080808;
    color: #fff;
    overflow-x: hidden;
    padding-top: 80px;
}
.ct-page *, .ct-page *::before, .ct-page *::after { box-sizing: border-box; }
.ct-page h1, .ct-page h2, .ct-page h3 { font-family: 'Playfair Display', serif; margin: 0; }
.ct-page h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.12; color: #fff; }
.ct-page h2 { font-size: clamp(1.55rem, 2.6vw, 2.3rem); font-weight: 600; line-height: 1.22; color: #fff; }
.ct-page h3 { font-size: 1rem; font-weight: 700; color: #fff; }
.ct-page p { color: rgba(255,255,255,0.6); line-height: 1.68; margin: 0; }
.ct-page a { text-decoration: none; }

/* ── LAYOUT ── */
.ct-container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.ct-section { padding: 88px 0; }

/* ── TOKENS ── */
.ct-gold-text {
    background: linear-gradient(135deg, #E4C97A, #C9A84C, #8B6F32);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ct-section-tag {
    display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: 3px;
    text-transform: uppercase; color: #C9A84C;
    border: 1px solid rgba(201,168,76,0.3); padding: 6px 16px;
    border-radius: 100px; margin-bottom: 18px;
}
.ct-divider { width: 50px; height: 2px; background: linear-gradient(90deg, #C9A84C, transparent); margin: 16px 0 32px; }
.ct-divider.center { margin-left: auto; margin-right: auto; }

/* ── REVEAL ── */
.ct-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.ct-reveal.ct-visible { opacity: 1; transform: translateY(0); }

/* ── BUTTONS ── */
.ct-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 8px;
    font-family: 'DM Sans', sans-serif; font-size: 0.87rem; font-weight: 600;
    cursor: pointer; transition: 0.3s ease; border: none; letter-spacing: 0.3px;
}
.ct-btn-primary { background: linear-gradient(135deg, #E4C97A, #C9A84C); color: #000; box-shadow: 0 4px 28px rgba(201,168,76,0.25); }
.ct-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(201,168,76,0.38); }
.ct-btn-secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.ct-btn-secondary:hover { border-color: #C9A84C; color: #C9A84C; transform: translateY(-2px); }

/* ══ HERO ══ */
.ct-hero {
    min-height: 58vh; display: flex; align-items: center;
    position: relative; overflow: hidden; background: #080808;
}
.ct-hero-bg {
    position: absolute; inset: 0;
    background-image: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=1400&q=70&auto=format&fit=crop');
    background-size: cover; background-position: center;
    opacity: 0.08;
}
.ct-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(8,8,8,0.98) 0%, rgba(8,8,8,0.85) 55%, rgba(8,8,8,0.6) 100%);
}
.ct-hero-inner {
    position: relative; z-index: 2; padding: 80px 0 60px; max-width: 680px;
}
.ct-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.22);
    border-radius: 100px; padding: 7px 18px; margin-bottom: 22px;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #C9A84C;
}
.ct-eyebrow-dot {
    width: 6px; height: 6px; background: #C9A84C; border-radius: 50%;
    animation: ct-pulse 2s infinite;
}
@keyframes ct-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.75)} }
.ct-hero-sub { font-size: 0.95rem; color: rgba(255,255,255,0.5); margin: 18px 0 28px; line-height: 1.65; max-width: 540px; }
.ct-hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-pill {
    background: rgba(255,255,255,0.04); border: 1px solid #1e1e1e;
    border-radius: 8px; padding: 8px 14px;
    font-size: 0.77rem; font-weight: 500; color: rgba(255,255,255,0.6);
    transition: 0.2s ease;
}
.ct-pill:hover { border-color: rgba(201,168,76,0.25); }

/* ══ TRUST STRIP ══ */
.ct-trust-strip {
    background: #111; border-top: 1px solid #1e1e1e; border-bottom: 1px solid #1e1e1e;
    padding: 28px 0;
}
.ct-trust-inner {
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: wrap;
}
.ct-ts-item { text-align: center; padding: 12px 40px; }
.ct-ts-val { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; display: block; line-height: 1; }
.ct-ts-label { font-size: 0.65rem; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; display: block; }
.ct-ts-divider { width: 1px; height: 44px; background: #1e1e1e; flex-shrink: 0; }

/* ══ SECTION HEAD ══ */
.ct-section-head { margin-bottom: 52px; }
.ct-section-head p { max-width: 540px; margin: 0 auto; text-align: center; font-size: 0.88rem; }

/* ══ CERTS GRID ══ */
.ct-certs-section { background: #080808; }
.ct-certs-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── Single cert card ── */
.ct-cert-card {
    background: #141414; border: 1px solid #1e1e1e; border-radius: 18px;
    overflow: hidden; transition: 0.35s ease; position: relative;
    display: flex; flex-direction: column;
}
.ct-cert-card:hover { border-color: rgba(201,168,76,0.28); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.55); }
.ct-cert-featured { border-color: rgba(201,168,76,0.22) !important; background: linear-gradient(160deg, #1a1510, #141414); }

.ct-cert-ribbon {
    position: absolute; top: 16px; left: 16px; z-index: 3;
    background: linear-gradient(135deg, #E4C97A, #C9A84C);
    color: #000; font-size: 0.58rem; font-weight: 700;
    letter-spacing: 0.8px; text-transform: uppercase;
    padding: 3px 10px; border-radius: 5px;
}

.ct-cert-img-wrap {
    position: relative; overflow: hidden; height: 180px;
}
.ct-cert-img-wrap img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    filter: brightness(0.55) saturate(0.5);
    transition: transform 0.5s ease, filter 0.4s ease;
}
.ct-cert-card:hover .ct-cert-img-wrap img { transform: scale(1.06); filter: brightness(0.65) saturate(0.7); }
.ct-cert-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8,8,8,0.85) 100%);
}
.ct-cert-badge-float {
    position: absolute; bottom: 12px; right: 14px; z-index: 2;
}
.ct-cbf-num {
    font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700;
    color: rgba(201,168,76,0.22); line-height: 1; letter-spacing: -1px;
}

/* card body */
.ct-cert-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.ct-cert-org { font-size: 0.62rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #C9A84C; margin-bottom: 8px; }
.ct-cert-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.ct-cert-desc { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.65; margin-bottom: 18px; flex: 1; }

.ct-cert-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 18px; }
.ct-cm-item {
    background: rgba(255,255,255,0.03); border: 1px solid #1e1e1e;
    border-radius: 8px; padding: 9px 10px; text-align: center;
}
.ct-cm-label { display: block; font-size: 0.58rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }
.ct-cm-val { display: block; font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.75); }

.ct-cert-link {
    font-size: 0.75rem; font-weight: 600; color: #C9A84C;
    display: inline-flex; align-items: center; gap: 5px;
    transition: gap 0.2s ease;
}
.ct-cert-link:hover { gap: 9px; }

/* ══ AWARDS ══ */
.ct-awards { background: #111; border-top: 1px solid #1e1e1e; }
.ct-awards-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.ct-award-card {
    background: #141414; border: 1px solid #1e1e1e; border-radius: 16px;
    padding: 28px 20px; text-align: center; transition: 0.3s ease;
}
.ct-award-card:hover { border-color: rgba(201,168,76,0.22); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.ct-award-icon { font-size: 2rem; margin-bottom: 14px; }
.ct-award-name { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.35; }
.ct-award-body { font-size: 0.72rem; color: rgba(255,255,255,0.38); margin-bottom: 12px; }
.ct-award-year {
    display: inline-block; font-size: 0.62rem; font-weight: 700; letter-spacing: 1px;
    color: #C9A84C; border: 1px solid rgba(201,168,76,0.25);
    border-radius: 100px; padding: 3px 12px;
}

/* ══ CTA ══ */
.ct-cta {
    background: linear-gradient(135deg, #1a1508 0%, #0e0c06 50%, #0a1420 100%);
    border-top: 1px solid rgba(201,168,76,0.15);
    padding: 80px 0;
}
.ct-cta-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.ct-cta-inner h2 { margin-bottom: 14px; }
.ct-cta-inner p { margin-bottom: 32px; font-size: 0.88rem; }
.ct-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
    .ct-certs-grid { grid-template-columns: repeat(2,1fr); }
    .ct-awards-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    .ct-container { padding: 0 24px; }
    .ct-certs-grid { grid-template-columns: 1fr; }
    .ct-awards-grid { grid-template-columns: 1fr 1fr; }
    .ct-trust-inner { gap: 0; }
    .ct-ts-item { padding: 12px 20px; }
    .ct-ts-divider { display: none; }
}
@media (max-width: 480px) {
    .ct-awards-grid { grid-template-columns: 1fr; }
    .ct-hero-inner { padding: 60px 0 40px; }
}