/* ============================================
   Inner Pages — shared styles
   About, Partners, Articles listing
   ============================================ */

/* Page Hero (shorter than main hero) */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    padding: 140px 0 80px;
    z-index: 1;
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 20%, var(--gold-glow) 0%, transparent 60%);
}

.page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.nav__link--active {
    color: var(--gold) !important;
}

/* Page Sections */
.page-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.page-section--dark {
    background: var(--bg-secondary);
}

.page-section--dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-glow-strong), transparent);
}

/* Lead / Body text */
.lead-text {
    font-size: 20px;
    font-weight: 300;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.body-text {
    font-size: 17px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Value Cards */
.value-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 32px;
    margin-bottom: 16px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gold);
    transition: height 0.5s var(--ease-out-expo);
}

.value-card:hover {
    border-color: rgba(201, 168, 76, 0.12);
    transform: translateX(6px);
}

.value-card:hover::before {
    height: 100%;
}

.value-card__number {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--gold);
    opacity: 0.5;
    margin-bottom: 8px;
}

.value-card__title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.value-card__text {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 60px;
}

.timeline__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold), rgba(201, 168, 76, 0.1));
}

.timeline__item {
    position: relative;
    padding: 0 0 48px 40px;
}

.timeline__item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--gold-glow-strong);
}

.timeline__year {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.timeline__content h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline__content p {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Numbers Grid */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.number-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
}

.number-card:hover {
    border-color: rgba(201, 168, 76, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.number-card__value {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.number-card__label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.number-card__desc {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 40px 28px;
    text-align: center;
    transition: all 0.5s var(--ease-out-expo);
}

.team-card:hover {
    border-color: rgba(201, 168, 76, 0.12);
    transform: translateY(-4px);
}

.team-card__avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--gold);
    opacity: 0.4;
}

.team-card__avatar svg {
    width: 100%;
    height: 100%;
}

.team-card__name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 4px;
}

.team-card__role {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.6;
    margin-bottom: 16px;
}

.team-card__bio {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Block */
.cta-block {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 0;
}

.cta-block__text {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-block__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Partners Page ---- */

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.process-step {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 40px 28px 32px;
    transition: all 0.5s var(--ease-out-expo);
}

.process-step::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--copper));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.process-step:hover {
    border-color: rgba(201, 168, 76, 0.12);
    transform: translateY(-4px);
}

.process-step:hover::after {
    transform: scaleX(1);
}

.process-step__number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 16px;
}

.process-step__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
}

.process-step__text {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Conditions Table */
.conditions-table {
    width: 100%;
    margin-top: 60px;
    border-collapse: collapse;
}

.conditions-table th {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    background: var(--bg-card);
}

.conditions-table td {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-secondary);
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    line-height: 1.5;
}

.conditions-table tr:hover td {
    background: rgba(201, 168, 76, 0.03);
    color: var(--text-primary);
}

.conditions-table td:first-child {
    font-weight: 400;
    color: var(--text-primary);
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.advantage-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 36px 28px;
    transition: all 0.5s var(--ease-out-expo);
}

.advantage-card:hover {
    border-color: rgba(201, 168, 76, 0.12);
    transform: translateY(-4px);
}

.advantage-card__icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
    margin-bottom: 20px;
    opacity: 0.6;
}

.advantage-card__icon svg {
    width: 100%;
    height: 100%;
}

.advantage-card__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
}

.advantage-card__text {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 28px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:first-child {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.faq-item:hover .faq-item__question {
    color: var(--gold-light);
}

.faq-item__icon {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-out-expo);
}

.faq-item.active .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out-expo), padding 0.5s var(--ease-out-expo);
}

.faq-item.active .faq-item__answer {
    max-height: 300px;
    padding-top: 16px;
}

.faq-item__answer p {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---- Articles Listing ---- */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.article-preview {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.04);
    padding: 36px 28px;
    transition: all 0.5s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.article-preview:hover {
    border-color: rgba(201, 168, 76, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.article-preview__category {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.6;
    margin-bottom: 16px;
}

.article-preview__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.article-preview:hover .article-preview__title {
    color: var(--gold-light);
}

.article-preview__excerpt {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 16px;
}

.article-preview__meta {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.6;
}

/* Filter tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.filter-tab {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.08);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.filter-tab:hover,
.filter-tab--active {
    color: var(--gold);
    border-color: var(--gold);
}

/* Responsive */
@media (max-width: 1024px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .numbers-grid,
    .team-grid,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .numbers-grid,
    .team-grid,
    .process-steps,
    .advantages-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
}
