/* ===================== Design Tokens (Harmonious Palette) ===================== */
:root {
    /* Backgrounds */
    --bg: #F7F8F3;
    --bg-alt: #EEF2EA;
    --surface: #FFFFFF;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: rgba(10, 38, 46, 0.08);

    /* Brand Colors */
    --navy: #123B45;
    --navy-deep: #0A262E;
    --navy-soft: #2F6169;
    --gold: #F0A345;
    --gold-soft: #FBE3BC;
    --gold-deep: #C97A1E;

    /* Text & UI */
    --ink: #12211F;
    --ink-soft: #4E625E;
    --line: rgba(10, 38, 46, 0.1);
    --success: #10B981;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(10, 38, 46, 0.06);
    --shadow-md: 0 8px 24px -8px rgba(10, 38, 46, 0.12);
    --shadow-lg: 0 20px 40px -12px rgba(10, 38, 46, 0.18);
    --shadow-gold: 0 8px 24px -8px rgba(240, 163, 69, 0.45);

    /* Radii */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --container: 1200px;

    color-scheme: light;
}

html.dark {
    --bg: #0A1A1C;
    --bg-alt: #0E2225;
    --surface: #16292C;
    --glass-bg: rgba(22, 41, 44, 0.6);
    --glass-border: rgba(240, 163, 69, 0.15);
    --glass-shadow: rgba(0, 0, 0, 0.4);

    --navy: #E6F0EC;
    --navy-deep: #FFFFFF;
    --gold: #FFC172;
    --gold-soft: rgba(255, 193, 114, 0.15);
    --gold-deep: #F0A345;

    --ink: #F3FAF7;
    --ink-soft: #9DB6B0;
    --line: rgba(230, 240, 236, 0.08);
    --success: #34D399;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 8px 24px -8px rgba(255, 193, 114, 0.25);

    color-scheme: dark;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.8;
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

ul {
    list-style: none;
}

input {
    font-family: inherit;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

::selection {
    background: var(--gold);
    color: var(--navy-deep);
}

a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 6px;
}

/* ===================== Reveal on scroll ===================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===================== Premium Buttons ===================== */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #FFFFFF;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -8px rgba(212, 175, 55, 0.6);
}

.btn-premium:active {
    transform: translateY(-1px);
}

.btn-premium.ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--line);
    box-shadow: var(--shadow-sm);
}

html.dark .btn-premium.ghost {
    color: var(--ink);
    border-color: var(--line);
}

.btn-premium.ghost:hover {
    border-color: var(--gold);
    color: var(--gold-deep);
    background: var(--gold-soft);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(1);
        opacity: 0;
    }
}

/* ===================== Glass surfaces ===================== */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-md);
}

/* ===================== Header (Sticky at top) ===================== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    background: transparent;
}

header .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--navy);
}

html.dark .brand {
    color: var(--ink);
}

.brand .mark {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    box-shadow: var(--shadow-gold);
}

.brand .mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand small {
    display: block;
    font-weight: 500;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: var(--ink-soft);
    margin-top: -2px;
}

nav.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

nav.main-nav a {
    position: relative;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-soft);
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
}

nav.main-nav a::after {
    content: '';
    position: absolute;
    right: 16px;
    left: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

nav.main-nav a:hover {
    color: var(--navy);
    background: var(--gold-soft);
}

nav.main-nav a:hover::after {
    transform: scaleX(1);
}

html.dark nav.main-nav a:hover {
    color: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--gold-soft);
    color: var(--gold-deep);
    transform: rotate(15deg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.icon-sun {
    display: none;
}

html.dark .icon-moon {
    display: none;
}

html.dark .icon-sun {
    display: block;
}

.burger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: transparent;
    place-items: center;
    color: var(--ink);
}

.burger svg {
    width: 20px;
    height: 20px;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 80px;
    left: 20px;
    right: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    gap: 8px;
    z-index: 999;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.mobile-nav-overlay.active {
    display: flex;
}

.mobile-nav-overlay a {
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--line);
}

.mobile-nav-overlay a:last-child {
    border-bottom: none;
}

.mobile-nav-overlay a:hover {
    background: var(--gold-soft);
    color: var(--gold-deep);
}

/* ===================== Hero: starry night ===================== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 110px;
    text-align: center;
    /* لایه‌بندی عمیق‌تر برای شبیه‌سازی سحابی و عمق فضا */
    background: radial-gradient(ellipse at 15% 30%, rgba(47, 97, 105, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(240, 163, 69, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 90%, rgba(10, 38, 46, 0.9) 0%, transparent 60%),
    linear-gradient(180deg, #05181E 0%, #0A262E 40%, #0d2e37 100%);
    margin-top: -100px;
}

.stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* لایه اول: ستاره‌های ریز و دور (با تنوع رنگی سفید، طلایی و آبی بسیار محو) */
.stars-1 {
    background-image: radial-gradient(1.2px 1.2px at 20px 30px, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 50px 80px, rgba(240, 163, 69, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 90px 40px, rgba(200, 220, 255, 0.7), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.3px 1.3px at 160px 120px, rgba(240, 163, 69, 0.4), transparent),
    radial-gradient(1px 1px at 200px 50px, rgba(255, 255, 255, 0.9), transparent);
    background-size: 250px 250px;
    background-repeat: repeat;
    opacity: 0.8;
    animation: starMove 150s linear infinite, twinkleSlow 5s ease-in-out infinite alternate;
}

/* لایه دوم: ستاره‌های متوسط و درخشان‌تر */
.stars-2 {
    background-image: radial-gradient(1.8px 1.8px at 50px 100px, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(2px 2px at 150px 180px, rgba(251, 227, 188, 0.9), transparent),
    radial-gradient(1.5px 1.5px at 220px 60px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(2.2px 2.2px at 300px 200px, rgba(240, 163, 69, 0.6), transparent);
    background-size: 350px 350px;
    background-repeat: repeat;
    opacity: 0.9;
    animation: starMove 220s linear infinite reverse, twinkleMedium 7s ease-in-out infinite alternate;
}

/* لایه سوم: ستاره‌های نزدیک و بزرگ با درخشش واقعی */
.stars-3 {
    background-image: radial-gradient(2.5px 2.5px at 80px 150px, rgba(255, 255, 255, 1), transparent),
    radial-gradient(3px 3px at 250px 90px, rgba(240, 163, 69, 0.9), transparent),
    radial-gradient(2px 2px at 400px 250px, rgba(200, 220, 255, 0.9), transparent);
    background-size: 500px 500px;
    background-repeat: repeat;
    opacity: 1;
    animation: starMove 300s linear infinite, twinkleFast 4s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.4));
}

@keyframes twinkleSlow {
    0% {
        opacity: 0.3;
        transform: scale(0.95);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes twinkleMedium {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }
    100% {
        opacity: 0.9;
        transform: scale(1.1);
    }
}

@keyframes twinkleFast {
    0% {
        opacity: 0.5;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1.15);
    }
}

@keyframes starMove {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(-250px, -250px);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stars-1, .stars-2, .stars-3 {
        animation: none;
    }
}

.shooting-star {
    position: absolute;
    top: 15%;
    right: -15%;
    width: 180px;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(240, 163, 69, 0.6), transparent);
    border-radius: 50%;
    box-shadow: 0 0 15px 3px rgba(240, 163, 69, 0.25);
    transform: rotate(-25deg);
    animation: shoot 9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    opacity: 0;
}

@keyframes shoot {
    0% {
        transform: translate(0, 0) rotate(-25deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    35% {
        transform: translate(-130vw, 50vh) rotate(-25deg);
        opacity: 0;
    }
    100% {
        transform: translate(-130vw, 50vh) rotate(-25deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shooting-star {
        display: none;
    }
}

.hero-moon {
    position: absolute;
    top: 5%;
    inset-inline-end: 8%;
    width: 220px;
    height: 220px;
    /* حذف border-radius چون خود تصویر شکل ماه دارد */

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    /* درخشش چندلایه جوی اطراف ماه */
    filter: drop-shadow(0 0 20px rgba(240, 163, 69, 0.25)) drop-shadow(0 0 50px rgba(240, 163, 69, 0.12)) drop-shadow(0 0 90px rgba(240, 163, 69, 0.06)) brightness(1.15) contrast(1.05);
    opacity: 0.95;
    pointer-events: none;
    animation: moonFloat 12s ease-in-out infinite alternate;
}

@keyframes moonFloat {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-8px);
    }
}

@media (max-width: 640px) {
    .hero-moon {
        width: 90px;
        height: 90px;
        top: 5%;
        inset-inline-end: 5%;
    }
}


@media (prefers-reduced-motion: reduce) {
    .stars-1, .stars-2, .stars-3, .shooting-star, .hero-moon {
        animation: none;
    }
}

.hero-owl-fly {
    position: absolute;
    bottom: -4%;
    inset-inline-start: 4%;
    width: 320px;
    height: 320px;
    color: #F0A345;
    opacity: 0.14;
    pointer-events: none;
    animation: owlDrift 9s ease-in-out infinite;
}

@keyframes owlDrift {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(-18px) rotate(2deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-owl-fly {
        animation: none;
    }
}

@media (max-width: 780px) {
    .hero-owl-fly {
        width: 220px;
        height: 220px;
        opacity: 0.1;
    }
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: start;
    max-width: 560px;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
}

.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.8rem;
    font-weight: 700;
    color: #F0A345;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    margin-bottom: 28px;
}

.eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.hero-enter {
    opacity: 0;
    transform: translateY(24px);
    animation: heroEnter 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes heroEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-enter {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 0.9rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 24px;
}

.hero h1 .gold-text {
    background: linear-gradient(135deg, #C97A1E, #F0A345 50%, #FBE3BC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.typed-wrap {
    position: relative;
    white-space: nowrap;
}

.typed-cursor {
    display: inline-block;
    margin-inline-start: 2px;
    color: #F0A345;
    animation: caretBlink 1s step-end infinite;
}

@keyframes caretBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .typed-cursor {
        animation: none;
    }
}

.hero p.lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 52ch;
    margin: 0 0 36px;
    line-height: 1.9;
}

@media (max-width: 980px) {
    .hero p.lead {
        margin: 0 auto 36px;
    }
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 52px;
}

@media (max-width: 980px) {
    .hero-ctas {
        justify-content: center;
    }
}

.hero .btn-premium.ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.hero .btn-premium.ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ===================== Trust / stat bar ===================== */
.trust-box {
    position: relative;
    display: flex;
    gap: 0;
    border-radius: var(--radius-md);
    padding: 28px 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: var(--shadow-lg);
}

.trust-box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #C97A1E, #F0A345, #FBE3BC);
}

.trust-item {
    flex: 1;
    text-align: center;
    padding: 0 16px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-item:first-child {
    border-inline-start: none;
}

.trust-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    background: rgba(240, 163, 69, 0.18);
    color: #F0A345;
}

.trust-item-icon svg {
    width: 19px;
    height: 19px;
}

.trust-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    display: block;
    font-variant-numeric: tabular-nums;
}

.trust-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 6px;
    font-weight: 500;
}

/* ===================== Hero photo ===================== */
.hero-photo {
    position: relative;
    aspect-ratio: 4/5;
    isolation: isolate;
    transform-style: preserve-3d;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

@media (max-width: 980px) {
    .hero-photo {
        max-width: 420px;
        margin: 0 auto;
    }
}

.hero-photo-clip {
    position: absolute;
    inset: 0;
    clip-path: polygon(14% 0%, 100% 0%, 86% 100%, 0% 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.55);
}

@media (max-width: 980px) {
    .hero-photo-clip {
        clip-path: polygon(0 4%, 100% 0%, 100% 96%, 0% 100%);
    }
}

.hero-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3) contrast(1.05) brightness(0.92);
}

.hero-photo-duotone {
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, #0A262E 0%, #123B45 45%, #C97A1E 130%);
    mix-blend-mode: color;
    opacity: 0.65;
}

.hero-photo-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 38, 46, 0.6), transparent 55%);
}

.hero-photo-ring {
    position: absolute;
    inset: 18px -18px -18px 18px;
    clip-path: polygon(14% 0%, 100% 0%, 86% 100%, 0% 100%);
    border: 1.5px solid #F0A345;
    border-radius: var(--radius-lg);
    opacity: 0.55;
    z-index: -1;
}

@media (max-width: 980px) {
    .hero-photo-ring {
        display: none;
    }
}

@media (max-width: 980px) {
    #heroVisual {
        display: none;
    }
}

.hero-photo-badge {
    position: absolute;
    bottom: -22px;
    inset-inline-start: -18px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
    .hero-photo-badge {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .hero-photo-badge {
        inset-inline-start: 0;
        bottom: -16px;
        padding: 10px 16px;
    }
}

.hero-photo-badge .badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #F0A345, #C97A1E);
    box-shadow: 0 8px 24px -8px rgba(240, 163, 69, 0.5);
    color: #0A262E;
}

.hero-photo-badge .badge-icon svg {
    width: 21px;
    height: 21px;
}

.hero-photo-badge strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.3;
}

.hero-photo-badge span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

/* ===================== Section heading ===================== */
.section {
    padding: 100px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 20px;
    flex-wrap: wrap;
}

.section-head .kicker {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--gold-deep);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

html.dark .section-head .kicker {
    color: var(--gold);
}

.section-head h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -0.01em;
}

html.dark .section-head h2 {
    color: var(--ink);
}

.see-all {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

html.dark .see-all {
    color: var(--gold);
}

.see-all:hover {
    gap: 10px;
    color: var(--gold-deep);
}

/* ===================== Articles ===================== */
.articles-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 28px;
}

.article-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.article-card.featured {
    grid-row: 1 / span 2;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-soft);
}

html.dark .article-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.art-thumb {
    height: 160px;
    flex-shrink: 0;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.article-card.featured .art-thumb {
    height: 300px;
}

.art-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover .art-thumb::after {
    opacity: 1;
}

.art-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .art-photo {
    transform: scale(1.06);
}

.art-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    mix-blend-mode: multiply;
    opacity: 0.55;
}

.art-thumb.t1::before {
    background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft));
}

.art-thumb.t2::before {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    opacity: 0.45;
}

.art-thumb.t3::before {
    background: linear-gradient(135deg, var(--navy-soft), var(--gold));
    opacity: 0.5;
}

.art-icon {
    position: absolute;
    z-index: 3;
    top: 16px;
    inset-inline-start: 16px;
    width: 92%;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.art-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.article-card.featured .art-icon {
    width: 92%;
    height: 52px;
    top: 20px;
    inset-inline-start: 20px;
}

.article-card.featured .art-icon svg {
    width: 26px;
    height: 26px;
}

.art-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card.featured .art-body {
    padding: 32px;
}

.article-card.featured .art-body h3 {
    font-size: 1.5rem;
}

.art-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold-deep);
    background: var(--gold-soft);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    width: fit-content;
}

html.dark .art-tag {
    color: var(--gold);
}

.art-body h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.article-card:hover .art-body h3 {
    color: var(--gold-deep);
}

html.dark .article-card:hover .art-body h3 {
    color: var(--gold);
}

.art-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.art-date {
    font-size: 0.8rem;
    color: var(--ink-soft);
}

.art-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

html.dark .art-link {
    color: var(--gold);
}

.art-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.article-card:hover .art-link {
    color: var(--gold-deep);
}

.article-card:hover .art-link::after {
    width: 100%;
}

/* ===================== News timeline ===================== */
.news-wrap {
    position: relative;
}

.timeline {
    position: relative;
    padding-inline-end: 32px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    right: 14px;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), transparent 90%);
    border-radius: 2px;
}

.news-item {
    position: relative;
    padding-inline-end: 52px;
    margin-bottom: 28px;
}

.news-item::before {
    content: "";
    position: absolute;
    right: -33px;
    top: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--gold);
    box-shadow: 0 0 0 4px var(--bg);
    z-index: 2;
}

html.dark .news-item::before {
    box-shadow: 0 0 0 4px var(--bg-alt);
}

.news-card {
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateX(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-soft);
}

.news-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: var(--gold);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

html.dark .news-icon {
    background: linear-gradient(135deg, var(--gold-deep), var(--gold));
    color: var(--navy-deep);
}

.news-icon svg {
    width: 22px;
    height: 22px;
}

.news-content h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--ink);
}

.news-content p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

.news-date {
    font-size: 0.78rem;
    color: var(--gold-deep);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

html.dark .news-date {
    color: var(--gold);
}

/* ===================== Certificate verification ===================== */
.cert-section {
    padding: 100px 0;
}

.cert-box {
    max-width: 680px;
    margin: 0 auto;
    padding: 56px 48px;
    border-radius: 32px;
    text-align: center;
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.cert-glow {
    position: absolute;
    inset: -2px;
    border-radius: 40px;
    background: conic-gradient(from 180deg, transparent, var(--gold), transparent, var(--navy-soft), transparent);
    z-index: -1;
    filter: blur(50px);
    opacity: 0.4;
}

.cert-box h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 12px;
}

html.dark .cert-box h3 {
    color: var(--ink);
}

.cert-box p.sub {
    color: var(--ink-soft);
    margin-bottom: 36px;
    font-size: 1rem;
    line-height: 1.8;
}

.cert-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cert-form input {
    flex: 1;
    min-width: 220px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--line);
    background: var(--bg);
    color: var(--ink);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cert-form input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-soft);
}

.cert-form input::placeholder {
    color: var(--ink-soft);
}

.cert-status {
    margin-top: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.cert-status.show {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.cert-status svg {
    width: 20px;
    height: 20px;
}

.cert-live {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--ink-soft);
    background: var(--bg-alt);
    padding: 8px 16px;
    border-radius: 999px;
}

.cert-live .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================== Footer ===================== */
footer {
    background: var(--navy-deep);
    color: #E2E8F0;
    margin-top: 60px;
    padding: 80px 0 32px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(212, 175, 55, 0.15), transparent 50%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.footer-col h5 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--gold);
}

.footer-col p {
    font-size: 0.9rem;
    color: #94A3B8;
    line-height: 1.9;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul a {
    font-size: 0.9rem;
    color: #CBD5E1;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-col ul a:hover {
    color: var(--gold);
    transform: translateX(-4px);
}

.social-row {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-row a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #CBD5E1;
    transition: all 0.3s ease;
}

.social-row a:hover {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.social-row svg {
    width: 18px;
    height: 18px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-form input::placeholder {
    color: #64748B;
}

.newsletter-form button {
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--navy-deep);
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-gold);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(212, 175, 55, 0.5);
}

.footer-bottom {
    margin-top: 64px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    color: #64748B;
}

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
    nav.main-nav {
        display: none;
    }

    .burger {
        display: grid;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .article-card.featured {
        grid-row: auto;
    }

    .article-card.featured .art-thumb {
        height: 220px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    header .bar {
        padding: 12px 16px;
    }

    .brand span.name {
        font-size: 1rem;
    }

    .hero {
        padding: 30px 0 64px;
        margin-top: -10px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .trust-box {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .trust-item {
        border-inline-start: none;
        border-top: 1px solid var(--line);
        padding-top: 16px;
    }

    .trust-item:first-child {
        border-top: none;
        padding-top: 0;
    }

    .section {
        padding: 64px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cert-box {
        padding: 36px 24px;
    }

    .cert-form {
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .mobile-nav-overlay {
        top: 70px;
        left: 16px;
        right: 16px;
    }
}

/* ===================== News Simple Grid ===================== */
.news-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.news-card-simple {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card-simple:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-soft);
}

.news-thumb-simple {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-alt);
}

.news-thumb-simple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card-simple:hover .news-thumb-simple img {
    transform: scale(1.05);
}

.news-body-simple {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta-simple {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}

.news-cat {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold-deep);
    background: var(--gold-soft);
    padding: 5px 12px;
    border-radius: 999px;
}

html.dark .news-cat {
    color: var(--gold);
}

.news-date-simple {
    font-size: 0.78rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.news-title-simple {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.news-title-simple a {
    color: inherit;
    text-decoration: none;
}

.news-card-simple:hover .news-title-simple {
    color: var(--gold-deep);
}

html.dark .news-card-simple:hover .news-title-simple {
    color: var(--gold);
}

.news-desc-simple {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: 16px;
    flex: 1;
}

.news-read-more {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin-top: auto;
}

html.dark .news-read-more {
    color: var(--gold);
}

.news-read-more:hover {
    color: var(--gold-deep);
    gap: 10px;
}

.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: var(--radius-md);
    color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 640px) {
    .news-grid-simple {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-thumb-simple {
        height: 180px;
    }
}


/* ===================== Articles Simple Grid ===================== */
.articles-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.article-card-simple {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
}

.article-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-soft);
}

html.dark .article-card-simple:hover {
    border-color: rgba(240, 163, 69, 0.3);
}

.art-thumb-simple {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: var(--bg-alt);
}

.art-photo-simple {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card-simple:hover .art-photo-simple {
    transform: scale(1.06);
}

.art-overlay-simple {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card-simple:hover .art-overlay-simple {
    opacity: 1;
}

.art-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: var(--gold);
}

html.dark .art-placeholder {
    background: linear-gradient(135deg, var(--gold-deep), var(--gold));
    color: var(--navy-deep);
}

.art-placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.6;
}

.art-body-simple {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.art-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}

.art-tag-simple {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold-deep);
    background: var(--gold-soft);
    padding: 6px 14px;
    border-radius: 999px;
}

html.dark .art-tag-simple {
    color: var(--gold);
}

.art-date-simple {
    font-size: 0.78rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.art-title-simple {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.art-title-simple a {
    color: inherit;
    text-decoration: none;
}

.article-card-simple:hover .art-title-simple {
    color: var(--gold-deep);
}

html.dark .article-card-simple:hover .art-title-simple {
    color: var(--gold);
}

.art-desc-simple {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
}

.art-footer-simple {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    margin-top: auto;
}

.art-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.art-views svg {
    opacity: 0.7;
}

.art-link-simple {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    position: relative;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

html.dark .art-link-simple {
    color: var(--gold);
}

.art-link-simple::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.article-card-simple:hover .art-link-simple {
    color: var(--gold-deep);
}

.article-card-simple:hover .art-link-simple::after {
    width: 100%;
}

.articles-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: var(--radius-md);
    color: var(--ink-soft);
}

/* Responsive */
@media (max-width: 640px) {
    .articles-grid-simple {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .art-thumb-simple {
        height: 180px;
    }
}


/* ===================== Article Detail Hero ===================== */
.article-detail-hero {
    position: relative;
    padding: 60px 0 40px;
    background: radial-gradient(ellipse at 18% 20%, rgba(240, 163, 69, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 12%, rgba(47, 97, 105, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
    margin-top: -20px;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.article-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-soft);
    transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
    color: var(--gold-deep);
}

html.dark .article-breadcrumb a:hover {
    color: var(--gold);
}

.article-breadcrumb .sep {
    opacity: 0.4;
}

.article-breadcrumb .current {
    color: var(--ink);
    font-weight: 600;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.article-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.article-cat-badge {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    background: var(--gold-soft);
    color: var(--gold-deep);
}

html.dark .article-cat-badge {
    color: var(--gold);
}

.article-date-badge,
.article-views-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--ink-soft);
    font-weight: 500;
}

.article-detail-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--ink);
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.article-lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    line-height: 1.9;
    max-width: 70ch;
    margin: 0 auto;
    font-weight: 500;
}

/* ===================== Article Featured Image ===================== */
.article-featured-image {
    padding: 20px 0 40px;
}

.article-image-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
}

.article-main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ===================== Article Layout ===================== */
.article-body-section {
    padding: 40px 0 80px;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 980px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ===================== Article Main Content (PROFESSIONAL TYPOGRAPHY) ===================== */
.article-main {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
    .article-main {
        padding: 28px 20px;
    }
}

.prose {
    font-size: 1.1rem;
    line-height: 2.1;
    color: var(--ink);
    max-width: 75ch;
    margin: 0 auto;
}



html.dark .prose > p:first-of-type::first-letter {
    color: var(--gold);
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: var(--navy);
    font-weight: 800;
    margin: 2.5em 0 1em;
    line-height: 1.4;
}

html.dark .prose h1, html.dark .prose h2, html.dark .prose h3 {
    color: var(--ink);
}

.prose h2 {
    font-size: 1.7rem;
    padding-bottom: 0.6em;
    border-bottom: 2px solid var(--gold-soft);
    display: inline-block;
}

html.dark .prose h2 {
    border-bottom-color: rgba(255, 193, 114, 0.2);
}

.prose h3 {
    font-size: 1.35rem;
    color: var(--navy-soft);
}

html.dark .prose h3 {
    color: var(--gold);
}

.prose p {
    margin-bottom: 1.6em;
    text-align: justify;
    text-justify: inter-word;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 2em auto;
    box-shadow: var(--shadow-md);
    display: block;
    border: 1px solid var(--line);
}

/* لینک‌های حرفه‌ای با انیمیشن زیرخط */
.prose a {
    color: var(--gold-deep);
    font-weight: 700;
    text-decoration: none;
    background-image: linear-gradient(to left, var(--gold-soft), var(--gold-soft));
    background-size: 0% 2px;
    background-position: bottom right;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

html.dark .prose a {
    color: var(--gold);
    background-image: linear-gradient(to left, rgba(255, 193, 114, 0.3), rgba(255, 193, 114, 0.3));
}

.prose a:hover {
    background-size: 100% 2px;
    background-position: bottom left;
}

.prose ul, .prose ol {
    margin: 1.5em 0;
    padding-right: 1.5em;
}

.prose li {
    margin-bottom: 0.8em;
    position: relative;
}

/* نشانگرهای سفارشی برای لیست‌های غیرترتیبی */
.prose ul li {
    list-style: none;
    padding-right: 1.5em;
}

.prose ul li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-soft);
}

html.dark .prose ul li::before {
    box-shadow: 0 0 0 3px rgba(255, 193, 114, 0.15);
}

.prose ol li {
    list-style: decimal;
    color: var(--ink-soft);
}

.prose ol li::marker {
    color: var(--gold-deep);
    font-weight: 800;
}

html.dark .prose ol li::marker {
    color: var(--gold);
}

/* نقل‌قول‌های زیبا */
.prose blockquote {
    border-right: 4px solid var(--gold);
    background: linear-gradient(to left, var(--bg-alt), transparent);
    padding: 1.5em 2em;
    margin: 2em 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--navy-soft);
    position: relative;
}

html.dark .prose blockquote {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.03), transparent);
    color: var(--ink-soft);
}

.prose blockquote::before {
    content: "“";
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 4rem;
    color: var(--gold-soft);
    font-family: serif;
    line-height: 1;
}

html.dark .prose blockquote::before {
    color: rgba(255, 193, 114, 0.2);
}

.prose code {
    background: var(--bg-alt);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
    color: var(--gold-deep);
    border: 1px solid var(--line);
}

html.dark .prose code {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

.prose pre {
    background: var(--navy-deep);
    color: #E2E8F0;
    padding: 24px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 2em 0;
    direction: ltr;
    text-align: left;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.prose pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border: none;
}

/* جداول مدرن */
.prose table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2em 0;
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
}

.prose th, .prose td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    text-align: right;
}

.prose th {
    background: var(--bg-alt);
    font-weight: 800;
    color: var(--navy);
    font-size: 0.95rem;
}

html.dark .prose th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--ink);
}

.prose tr:last-child td {
    border-bottom: none;
}

.prose tr:hover td {
    background: var(--bg-alt);
    transition: background 0.2s ease;
}

html.dark .prose tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* هایلایت متن */
.prose mark {
    background: var(--gold-soft);
    color: var(--navy-deep);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

html.dark .prose mark {
    background: rgba(255, 193, 114, 0.2);
    color: var(--gold);
}

/* ===================== Article Footer ===================== */
.article-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-label {
    font-size: 0.85rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.tag-item {
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--gold-soft);
    color: var(--gold-deep);
}

html.dark .tag-item {
    color: var(--gold);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-label {
    font-size: 0.85rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--bg-alt);
    color: var(--ink-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--line);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-btn.telegram:hover {
    background: #0088cc;
    color: #fff;
    border-color: #0088cc;
}

.share-btn.whatsapp:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}

.share-btn.twitter:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.share-btn.copy:hover {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: var(--gold);
}

/* ===================== Article Sidebar ===================== */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

@media (max-width: 980px) {
    .article-sidebar {
        position: static;
    }
}

.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.author-card {
    text-align: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #fff;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-gold);
}

.author-avatar svg {
    width: 40px;
    height: 40px;
}

.author-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}

.author-card p {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 16px;
}

.author-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--bg-alt);
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.author-btn:hover {
    background: var(--gold);
    color: #fff;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold-soft);
    position: relative;
}

.sidebar-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 60px;
    height: 2px;
    background: var(--gold);
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.related-item:hover {
    background: var(--bg-alt);
    transform: translateX(-4px);
}

.related-thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-alt);
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    font-size: 0.75rem;
    color: var(--ink-soft);
}

.cta-card {
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    color: #fff;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(240, 163, 69, 0.2), transparent 70%);
    pointer-events: none;
}

.cta-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: var(--navy-deep);
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-gold);
}

.cta-icon svg {
    width: 28px;
    height: 28px;
}

.cta-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.cta-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(240, 163, 69, 0.5);
}

ژ
    /* ===================== Courses Hero ===================== */
.courses-hero {
    position: relative;
    padding: 140px 0 80px;
    background: radial-gradient(ellipse at 18% 20%, rgba(240, 163, 69, 0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 12%, rgba(47, 97, 105, 0.4) 0%, transparent 50%),
    linear-gradient(180deg, #0A262E 0%, #0d2e37 100%);
    text-align: center;
    overflow: hidden;
    margin-top: -100px;
}

.courses-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(1px 1px at 160px 120px, #fff, transparent);
    background-size: 250px 250px;
    background-repeat: repeat;
    opacity: 0.5;
}

.courses-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.courses-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.8rem;
    font-weight: 700;
    color: #F0A345;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    margin-bottom: 24px;
}

.courses-eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.courses-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 20px;
}

.courses-hero h1 .gold-text {
    background: linear-gradient(135deg, #C97A1E, #F0A345 50%, #FBE3BC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.courses-lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 60ch;
    margin: 0 auto 40px;
    line-height: 1.9;
}

.courses-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.courses-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.courses-stat strong {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.courses-stat span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

/* ===================== Courses Section ===================== */
.courses-section {
    padding: 80px 0;
}

.courses-section.alt-bg {
    background: var(--bg-alt);
}

/* ===================== TTC & TESOL Courses Grid ===================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.course-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.course-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--navy-soft));
    opacity: 0.7;
}

.course-card.featured::before {
    background: linear-gradient(90deg, var(--gold), var(--gold-deep));
    opacity: 1;
}

.course-card.featured.international::before {
    background: linear-gradient(90deg, #C97A1E, #F0A345, #FBE3BC);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-soft);
}

html.dark .course-card:hover {
    border-color: rgba(240, 163, 69, 0.3);
}

.course-badge {
    position: absolute;
    top: 20px;
    inset-inline-end: 20px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    background: var(--gold-soft);
    color: var(--gold-deep);
}

html.dark .course-badge {
    color: var(--gold);
}

.course-badge.vip {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #fff;
    box-shadow: var(--shadow-gold);
}

.course-badge.intl {
    background: linear-gradient(135deg, #C97A1E, #F0A345);
    color: #fff;
    box-shadow: var(--shadow-gold);
}

.course-header {
    margin-bottom: 24px;
}

.course-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: var(--gold);
    box-shadow: var(--shadow-md);
}

.course-icon svg {
    width: 28px;
    height: 28px;
}

.course-icon.vip {
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #fff;
}

.course-icon.tesol {
    background: linear-gradient(135deg, #C97A1E, #F0A345);
    color: #fff;
}

.course-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 6px;
}

.course-subtitle {
    font-size: 0.88rem;
    color: var(--ink-soft);
    font-weight: 500;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 14px 16px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
}

html.dark .course-meta {
    background: rgba(255, 255, 255, 0.03);
}

.course-duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

.course-duration svg {
    color: var(--gold-deep);
}

html.dark .course-duration svg {
    color: var(--gold);
}

.course-features {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.course-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

.course-features li svg {
    flex-shrink: 0;
    color: var(--success);
    margin-top: 3px;
}

.course-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
    margin-top: auto;
}

.course-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(240, 163, 69, 0.5);
}

/* ===================== Workshops Grid ===================== */
.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.workshop-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.workshop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-soft);
}

html.dark .workshop-card:hover {
    border-color: rgba(240, 163, 69, 0.3);
}

.workshop-card.more {
    background: linear-gradient(135deg, var(--gold-soft), transparent);
    border-style: dashed;
    border-color: var(--gold);
}

html.dark .workshop-card.more {
    background: linear-gradient(135deg, rgba(240, 163, 69, 0.1), transparent);
}

.workshop-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: var(--gold);
    flex-shrink: 0;
}

html.dark .workshop-icon {
    background: linear-gradient(135deg, var(--gold-deep), var(--gold));
    color: var(--navy-deep);
}

.workshop-icon svg {
    width: 22px;
    height: 22px;
}

.workshop-body {
    flex: 1;
    min-width: 0;
}

.workshop-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
    line-height: 1.4;
}

.workshop-hours {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-deep);
    background: var(--gold-soft);
    padding: 3px 10px;
    border-radius: 999px;
}

html.dark .workshop-hours {
    color: var(--gold);
}

/* ===================== Student Courses Grid ===================== */
.student-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.student-course-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.student-course-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--navy-soft));
}

.student-course-card.cambridge::before {
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.student-course-card.international::before {
    background: linear-gradient(90deg, #C97A1E, #F0A345, #FBE3BC);
}

.student-course-card.skill::before {
    background: linear-gradient(90deg, var(--success), #34D399);
}

.student-course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-soft);
}

html.dark .student-course-card:hover {
    border-color: rgba(240, 163, 69, 0.3);
}

.scc-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.scc-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 1.3rem;
    flex-shrink: 0;
    color: #fff;
}

.scc-icon.evolve {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.scc-icon.speakout {
    background: linear-gradient(135deg, #0891b2, #22d3ee);
}

.scc-icon.cambridge {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    font-size: 1rem;
}

.scc-icon.ielts,
.scc-icon.toefl,
.scc-icon.celpip {
    background: linear-gradient(135deg, #C97A1E, #F0A345);
}

.scc-icon.panel {
    background: linear-gradient(135deg, #059669, #10B981);
}

.scc-icon.movie {
    background: linear-gradient(135deg, #dc2626, #f87171);
    font-size: 1.5rem;
}

.scc-icon svg {
    width: 26px;
    height: 26px;
}

.scc-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 4px;
}

.scc-level {
    font-size: 0.78rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.scc-desc {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.scc-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    padding: 10px 0;
    border-top: 1px solid var(--line);
    transition: all 0.3s ease;
}

html.dark .scc-btn {
    color: var(--gold);
}

.scc-btn:hover {
    color: var(--gold-deep);
    gap: 8px;
}

html.dark .scc-btn:hover {
    color: var(--gold);
}

/* ===================== Courses CTA ===================== */
.courses-cta {
    padding: 60px 0 100px;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px;
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(240, 163, 69, 0.2), transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.cta-content h2 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
}

.cta-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-actions .btn-premium.ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.cta-actions .btn-premium.ghost:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
    .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .courses-hero {
        padding: 100px 0 60px;
        margin-top: -10px;
    }

    .courses-stats {
        gap: 24px;
    }

    .courses-stat strong {
        font-size: 1.4rem;
    }

    .courses-grid,
    .student-courses-grid {
        grid-template-columns: 1fr;
    }

    .workshops-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 32px 24px;
    }

    .cta-content h2 {
        font-size: 1.3rem;
    }
}


/* ===================== About Section ===================== */
.about-section {
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 980px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-content .about-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 2;
    margin-bottom: 20px;
}

html.dark .about-content .about-lead {
    color: var(--ink);
}

.about-content > p {
    font-size: 1rem;
    color: var(--ink-soft);
    line-height: 2;
    margin-bottom: 20px;
}

.about-founders {
    margin-top: 36px;
}

.about-founders h3,
.about-programs h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold-soft);
    display: inline-block;
}

html.dark .about-founders h3,
html.dark .about-programs h3 {
    color: var(--ink);
    border-bottom-color: rgba(240, 163, 69, 0.2);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 640px) {
    .founders-grid {
        grid-template-columns: 1fr;
    }
}

.founder-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-soft);
}

.founder-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #fff;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    box-shadow: var(--shadow-gold);
}

.founder-avatar svg {
    width: 28px;
    height: 28px;
}

.founder-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 10px;
}

.founder-card p {
    font-size: 0.88rem;
    color: var(--ink-soft);
    line-height: 1.9;
}

.about-programs {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.program-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.program-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--ink);
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.program-list li:last-child {
    border-bottom: none;
}

.program-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--gold-soft);
    color: var(--gold-deep);
    flex-shrink: 0;
}

html.dark .program-icon {
    background: rgba(240, 163, 69, 0.15);
    color: var(--gold);
}

.program-icon svg {
    width: 18px;
    height: 18px;
}

/* ===================== Gallery Section ===================== */
.gallery-section {
    background: var(--bg-alt);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-soft);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item figcaption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 40px 20px 16px;
    background: linear-gradient(to top, rgba(10, 38, 46, 0.85), transparent);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.gallery-item:hover figcaption {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item.wide {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }
}


/* ===================== News Grid ===================== */
.news-grid-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

@media (max-width: 991.98px) {
    .news-grid-simple {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .news-grid-simple {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* ---------- کارت خبر ---------- */
.news-card-simple {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px -18px rgba(10, 38, 46, 0.25);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
    background: var(--tw-navy-deep, #0A262E);
    aspect-ratio: 4 / 5; /* نسبت کارت */
    min-height: 340px;
}

.news-card-simple:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 50px -20px rgba(10, 38, 46, 0.4);
}

/* لینک کل کارت */
.news-card-link {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    color: #fff;
    z-index: 1;
}

/* تصویر پس‌زمینه کل کارت */
.news-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* ✅ پرکردن کل کارت */
    object-position: center;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card-simple:hover .news-card-bg {
    transform: scale(1.08); /* زوم ملایم روی هاور */
}

/* placeholder اگر تصویر نبود */
.news-card-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #123B45, #0A262E);
    color: rgba(255, 255, 255, .35);
}

.news-card-placeholder svg {
    width: 64px;
    height: 64px;
}

/* لایه تیره‌کننده روی تصویر */
.news-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(10, 38, 46, 0.15) 0%,
            rgba(10, 38, 46, 0.55) 45%,
            rgba(10, 38, 46, 0.92) 100%
    );
    z-index: 2;
    transition: background 0.3s ease;
}

.news-card-simple:hover .news-card-overlay {
    background: linear-gradient(
            180deg,
            rgba(10, 38, 46, 0.25) 0%,
            rgba(10, 38, 46, 0.65) 45%,
            rgba(10, 38, 46, 0.95) 100%
    );
}

/* بج دسته */
.news-cat-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background: rgba(240, 163, 69, 0.95);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

/* محتوا روی تصویر */
.news-card-content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 3;
    padding: 22px 20px 22px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-date-simple {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.news-title-simple {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.55;
    color: #fff;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    transition: color 0.25s ease;
}

.news-card-simple:hover .news-title-simple {
    color: var(--tw-gold, #F0A345);
}

.news-desc-simple {
    font-size: 0.83rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--tw-gold, #F0A345);
    margin-top: 4px;
    transition: gap 0.25s ease;
}

.news-read-more svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.news-card-simple:hover .news-read-more {
    gap: 10px;
}

.news-card-simple:hover .news-read-more svg {
    transform: translateX(-4px);
}

/* حالت خالی */
.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    color: var(--tw-ink-soft, #4E625E);
    background: var(--tw-bg-alt, #EEF2EA);
    border-radius: 16px;
    border: 1px dashed var(--tw-line, rgba(10, 38, 46, .15));
}

.news-empty p {
    margin: 0;
    font-size: 0.9rem;
}

/* ===================== Consultation Section ===================== */
.consultation-section {
    background: var(--bg-alt, #EEF2EA);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.consultation-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(240, 163, 69, 0.12), transparent 70%);
    pointer-events: none;
}

.consultation-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 980px) {
    .consultation-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* اطلاعات */
.consultation-info h3 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--navy, #123B45);
    margin-bottom: 14px;
    line-height: 1.4;
}

html.dark .consultation-info h3 {
    color: var(--ink);
}

.consultation-info > p {
    font-size: 1rem;
    color: var(--ink-soft, #4E625E);
    line-height: 1.9;
    margin-bottom: 28px;
}

.consultation-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.consultation-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cf-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--gold, #F0A345), var(--gold-deep, #C97A1E));
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 20px -8px rgba(240, 163, 69, 0.55);
}

.cf-icon svg {
    width: 18px;
    height: 18px;
}

.consultation-features strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy, #123B45);
    margin-bottom: 3px;
}

html.dark .consultation-features strong {
    color: var(--ink);
}

.consultation-features span {
    font-size: 0.85rem;
    color: var(--ink-soft, #4E625E);
    line-height: 1.6;
}

.consultation-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface, #fff);
    border: 1px solid var(--line, rgba(10, 38, 46, 0.1));
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy, #123B45);
}

html.dark .consultation-badge {
    color: var(--ink);
}

.cb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success, #10B981);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: cbPulse 2s infinite;
}

@keyframes cbPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* فرم */
.consultation-form-card {
    background: var(--surface, #fff);
    border: 1px solid var(--line, rgba(10, 38, 46, 0.1));
    border-radius: 22px;
    padding: 34px 30px;
    box-shadow: 0 30px 60px -25px rgba(10, 38, 46, 0.18);
    position: relative;
}


@media (max-width: 575.98px) {
    .consultation-form-card {
        padding: 26px 20px;
    }
}

.cf-field {
    margin-bottom: 16px;
}

.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 575.98px) {
    .cf-row {
        grid-template-columns: 1fr;
    }
}

.cf-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink-soft, #4E625E);
    margin-bottom: 6px;
}

.cf-label .req {
    color: #D1483A;
    font-weight: 800;
}

.cf-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--line, rgba(10, 38, 46, 0.1));
    background: var(--bg, #F7F8F3);
    color: var(--ink, #12211F);
    font-size: 0.92rem;
    font-family: inherit;
    transition: all 0.25s ease;
}

.cf-input:focus {
    outline: none;
    border-color: var(--gold, #F0A345);
    background: var(--surface, #fff);
    box-shadow: 0 0 0 4px rgba(240, 163, 69, 0.15);
}

.cf-input::placeholder {
    color: var(--ink-soft, #4E625E);
    opacity: 0.6;
}

textarea.cf-input {
    resize: vertical;
    min-height: 84px;
}

.cf-submit {
    width: 100%;
    margin-top: 8px;
    padding: 14px 24px;
    font-size: 0.95rem;
    justify-content: center;
}

.cf-privacy {
    margin-top: 14px;
    font-size: 0.76rem;
    color: var(--ink-soft, #4E625E);
    text-align: center;
    line-height: 1.7;
}

.cf-alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 14px;
}

.cf-alert.error {
    background: rgba(209, 72, 58, 0.1);
    color: #96203C;
    border: 1px solid rgba(209, 72, 58, 0.2);
}

.cf-alert.success {
    background: rgba(16, 185, 129, 0.1);
    color: #0F8A5F;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.cf-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: cfSpin 0.7s linear infinite;
    margin-left: 6px;
    vertical-align: middle;
}

@keyframes cfSpin {
    to {
        transform: rotate(360deg);
    }
}

/* حالت دارک */
html.dark .consultation-form-card {
    background: var(--surface, #16292C);
}

html.dark .cf-input {
    background: var(--bg-alt, #0E2225);
    color: var(--ink, #F3FAF7);
    border-color: var(--line, rgba(230, 240, 236, 0.08));
}

html.dark .cf-input:focus {
    background: var(--bg-alt, #0E2225);
}

html.dark .consultation-badge {
    background: var(--surface, #16292C);
}

