/* ==========================================================
   Secret Academy V2 — style.css
   Palette: primary #0F172A · secondary #1E293B · accent #F97316
   Font: Inter
   ========================================================== */

:root {
    --ink: #0f172a;
    --ink-2: #1e293b;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --accent-tint: #fff7ed;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --line: #e2e8f0;
    --text: #334155;
    --muted: #64748b;
    --radius: 14px;
    --shadow: 0 4px 16px -4px rgba(15, 23, 42, 0.08);
    --shadow-lift: 0 12px 28px -8px rgba(15, 23, 42, 0.16);
    --container: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 72px; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-dark); }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.container { width: 90%; max-width: var(--container); margin: 0 auto; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--accent); color: var(--ink);
    padding: 0.6rem 1.2rem; font-weight: 700; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 700; }

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 0.6rem;
}
.eyebrow-light { color: var(--accent); }

.section-lead { margin-bottom: 2.5rem; color: var(--muted); }

/* ---------- Header / Nav ---------- */
.site-header {
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(8px);
    color: #fff;
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 0; }
.logo {
    font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px;
    color: #fff; text-decoration: none;
    user-select: none; -webkit-user-select: none;
}
.logo span { color: var(--accent); }

.nav-toggle {
    display: none;
    background: none; border: 0; color: #fff; cursor: pointer;
    padding: 0.4rem;
}
.nav-menu { display: flex; align-items: center; list-style: none; gap: 1.8rem; }
.nav-menu a {
    color: #e2e8f0; text-decoration: none; font-weight: 600; font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-menu a:hover { color: var(--accent); }
.nav-cta {
    background: var(--accent); color: var(--ink) !important;
    padding: 0.5rem 1.2rem; border-radius: 999px;
}
.nav-cta:hover { background: var(--accent-dark); color: var(--ink) !important; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(ellipse 70% 55% at 78% 12%, rgba(249, 115, 22, 0.16), transparent 62%),
        radial-gradient(ellipse 50% 45% at 12% 90%, rgba(249, 115, 22, 0.07), transparent 65%),
        linear-gradient(150deg, var(--ink) 0%, var(--ink-2) 100%);
    color: #fff;
    padding: 6rem 0 5.5rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 70%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.hero-eyebrow {
    font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: #94a3b8; margin-bottom: 1rem;
}
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: 1.15rem; color: #cbd5e1; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Floating glass card */
.glass {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 20px;
    box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.45);
}
.hero-card { padding: 1.8rem; }
.hero-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.3rem; }
.hero-card-head img {
    width: 56px; height: 56px; object-fit: contain;
    background: #fff; border-radius: 12px; padding: 4px;
}
.hero-card-title { font-weight: 700; color: #fff; }
.hero-card-sub { font-size: 0.85rem; color: #94a3b8; }
.hero-card-list { list-style: none; display: grid; gap: 0.55rem; margin-bottom: 1.3rem; }
.hero-card-list li {
    display: flex; align-items: center; gap: 0.6rem;
    color: #e2e8f0; font-size: 0.95rem; font-weight: 500;
}
.hero-card-list li::before {
    content: '';
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent); flex-shrink: 0;
}
.hero-card-foot {
    font-size: 0.85rem; color: #94a3b8;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 1rem;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.22s; }
.d3 { animation-delay: 0.34s; }

.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary {
    background: var(--accent); color: var(--ink);
    box-shadow: 0 8px 20px -6px rgba(249, 115, 22, 0.5);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { border: 1.5px solid #475569; color: #e2e8f0; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Trust strip ---------- */
.trust { background: var(--accent-tint); border-bottom: 1px solid var(--line); }
.trust-inner {
    display: flex; align-items: center; gap: 1.2rem;
    padding: 1.4rem 0;
}
.trust img { width: 72px; height: 72px; object-fit: contain; }
.trust-title { font-weight: 700; color: var(--ink); }
.trust-sub { font-size: 0.9rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(150deg, var(--ink) 0%, var(--ink-2) 100%); color: #cbd5e1; }
.section-dark h2 { color: #fff; }

/* ---------- About ---------- */
.about-grid {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem;
    margin-top: 1.5rem; align-items: start;
}
.about-text p { margin-bottom: 1rem; }
.about-cards { display: grid; gap: 1.2rem; }
.mini-card {
    background: var(--bg); border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius); padding: 1.4rem;
    box-shadow: var(--shadow);
}
.mini-card h3 { margin-bottom: 0.4rem; }
.mini-card p { font-size: 0.95rem; }

/* ---------- Why choose us ---------- */
.why-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem; margin-top: 2rem;
}
.why-card {
    background: var(--bg); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.8rem 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.icon-badge {
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--accent-tint); color: var(--accent-dark);
    display: grid; place-items: center; margin-bottom: 1rem;
}
.icon-badge svg { width: 24px; height: 24px; }
.why-card h3 { margin-bottom: 0.5rem; }
.why-card p { font-size: 0.95rem; }

/* ---------- Categories ---------- */
.category-row {
    display: flex; flex-wrap: wrap; gap: 0.8rem;
    list-style: none; margin-top: 1.5rem;
}
.category-row li {
    background: var(--ink); color: #fff;
    padding: 0.6rem 1.4rem; border-radius: 999px;
    font-weight: 600; font-size: 0.95rem;
}

/* ---------- Courses ---------- */
.courses-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; margin-top: 2rem;
}
.course-card {
    background: var(--bg); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.6rem;
    box-shadow: var(--shadow); display: flex; flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.course-tag {
    align-self: flex-start;
    background: var(--accent-tint); color: var(--accent-dark);
    border: 1px solid #fed7aa;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; padding: 0.25rem 0.8rem; border-radius: 999px;
    margin-bottom: 0.9rem;
}
.course-card h3 { margin-bottom: 0.4rem; }
.course-card > p { font-size: 0.95rem; margin-bottom: 1rem; flex-grow: 1; }
.course-meta { display: grid; gap: 0.35rem; margin-bottom: 1.1rem; }
.course-meta div { display: flex; gap: 0.5rem; font-size: 0.88rem; }
.course-meta dt { font-weight: 700; color: var(--ink); min-width: 66px; }
.course-meta dd { color: var(--muted); }
.course-link {
    font-weight: 700; font-size: 0.92rem; text-decoration: none;
    color: var(--accent-dark);
}
.course-link:hover { text-decoration: underline; }
.courses-note { margin-top: 2rem; color: var(--muted); }

/* ---------- HRDF claim steps ---------- */
.steps {
    list-style: none; counter-reset: none;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1.4rem; margin-top: 2rem;
}
.step {
    background: var(--bg); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.5rem 1.3rem;
    box-shadow: var(--shadow); position: relative;
}
.step-num {
    display: grid; place-items: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--accent); color: var(--ink);
    font-weight: 800; margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; }

/* ---------- Trainers ---------- */
.trainers-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem; margin-top: 2rem;
}
.trainer-card {
    background: var(--bg); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 2rem 1.5rem;
    text-align: center; box-shadow: var(--shadow);
}
.trainer-avatar {
    width: 84px; height: 84px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    color: var(--accent); font-weight: 800; font-size: 1.5rem;
    display: grid; place-items: center;
    margin: 0 auto 1rem; border: 3px solid var(--accent);
}
.trainer-card h3 { margin-bottom: 0.15rem; }
.trainer-title { color: var(--accent-dark); font-weight: 700; font-size: 0.92rem; margin-bottom: 0.6rem; }
.trainer-card p:not(.trainer-title) { font-size: 0.92rem; margin-bottom: 0.9rem; }
.trainer-card a { font-weight: 600; font-size: 0.9rem; }

/* ---------- FAQ ---------- */
/* FAQ items span the full container width, aligned with other sections */
.faq-item {
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--bg); margin-top: 0.9rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer; font-weight: 700; color: var(--ink);
    padding: 1.1rem 1.3rem; list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--accent-dark);
    flex-shrink: 0; transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 1.3rem 1.2rem; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
    margin-top: 2rem; align-items: stretch;
}
.contact-info address { font-style: normal; margin-bottom: 1.6rem; }
.contact-line {
    display: flex; align-items: flex-start; gap: 0.8rem;
    margin-bottom: 1rem;
}
.contact-line svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.contact-line a { color: #e2e8f0; text-decoration: none; }
.contact-line a:hover { color: var(--accent); }
.contact-hours { margin: 1.2rem 0 0.6rem; }
.contact-hours strong { color: #fff; }
.contact-social a { color: #e2e8f0; }
.contact-social a:hover { color: var(--accent); }
.map {
    border-radius: var(--radius); overflow: hidden; min-height: 320px;
    border: 1px solid rgba(255,255,255,0.12);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink); color: #94a3b8;
    text-align: center; padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.92rem;
}
.footer-logo { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 0.3rem; user-select: none; -webkit-user-select: none; }
.footer-logo span { color: var(--accent); }
.site-footer nav { margin: 0.9rem 0; }
.site-footer nav a { color: #cbd5e1; text-decoration: none; margin: 0 0.2rem; }
.site-footer nav a:hover { color: var(--accent); }
.footer-company { margin-top: 0.6rem; font-size: 0.85rem; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed; bottom: 26px; right: 26px; z-index: 150;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25d366; color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed; top: 60px; left: 0; right: 0;
        background: var(--ink);
        flex-direction: column; gap: 1.3rem;
        padding: 2rem 0; text-align: center;
        transform: translateX(-105%);
        transition: transform 0.3s ease;
        box-shadow: 0 16px 24px -8px rgba(0,0,0,0.35);
    }
    .nav-menu.active { transform: translateX(0); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero { padding: 4rem 0 3.5rem; }
    .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .section { padding: 3.2rem 0; }
    .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}