/* gold.css — Gold Education page styles */

[dir="rtl"] .gold-tracker-inner { flex-direction: row-reverse; }

/* Hero */
.gold-hero {
    background: var(--grey-900);
    color: var(--white);
    padding: 120px 40px 100px;
    text-align: center;
}

.gold-hero-inner { max-width: 700px; margin: 0 auto; }

.gold-section-label {
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 500;
}

.gold-section-title {
    font-family: 'EB Garamond', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: -.01em;
    margin-bottom: 20px;
}

.gold-hero-icon {
    display: block;
    margin: 0 auto 32px;
    opacity: 1;
}

.gold-hero-intro {
    font-size: 1.05rem;
    color: rgba(255,255,255,.55);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto;
}

/* Progress Tracker */
.gold-tracker {
    position: sticky;
    top: 61px;
    z-index: 90;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--grey-200);
}

.gold-tracker-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    align-items: center;
}

.gold-tracker-step {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: .75rem;
    letter-spacing: .06em;
    color: var(--grey-400);
    transition: color .3s;
    white-space: nowrap;
}

.gold-tracker-step:hover { color: var(--jade-deep); }

.gold-tracker-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--grey-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 500;
    margin-right: 8px;
    transition: all .3s;
    flex-shrink: 0;
}

.gold-tracker-step.active { color: var(--jade-deep); font-weight: 400; }
.gold-tracker-step.active .gold-tracker-num {
    background: var(--jade-deep);
    border-color: var(--jade-deep);
    color: var(--white);
}

.gold-tracker-sep {
    flex: 1;
    height: 1px;
    background: var(--grey-300);
    margin: 0 4px;
}

/* Content Sections */
.gold-section {
    padding: 120px 40px;
}

.gold-section-white { background: var(--white); }
.gold-section-grey { background: var(--grey-100); }
.gold-section-dark { background: var(--grey-900); color: var(--white); }

.gold-inner { max-width: 960px; margin: 0 auto; }

.gold-section-header {
    text-align: center;
    margin-bottom: 72px;
}

.gold-section-icon {
    display: block;
    margin: 0 auto 16px;
    color: var(--grey-300);
}

.gold-section-dark .gold-section-icon { color: rgba(196,162,101,.4); }

.gold-section-header .gold-section-label {
    color: var(--jade-medium);
}

.gold-section-dark .gold-section-header .gold-section-label {
    color: var(--gold);
}

.gold-heading {
    font-family: 'EB Garamond', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--grey-900);
    letter-spacing: -.01em;
    margin-bottom: 12px;
}

.gold-section-dark .gold-heading { color: var(--white); }

.gold-section-intro {
    font-size: 1.05rem;
    color: var(--grey-500);
    max-width: 600px;
    margin: 12px auto 0;
    line-height: 1.9;
}

.gold-section-dark .gold-section-intro { color: rgba(255,255,255,.55); }

/* Card Grid */
.gold-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gold-card {
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: 2px;
    transition: all .3s;
}

.gold-card:hover {
    border-color: var(--jade-light);
    box-shadow: 0 20px 60px rgba(26,58,47,.08);
}

.gold-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

.gold-card-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
}

.gold-card h4 {
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--grey-900);
    margin-bottom: 8px;
}

.gold-card p {
    font-size: .85rem;
    color: var(--grey-500);
    line-height: 1.7;
}

.gold-card-stat {
    display: block;
    font-family: 'EB Garamond', serif;
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 4px;
}

/* Key Metrics */
.gold-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--grey-200);
}

.gold-metric {
    text-align: center;
}

.gold-metric-value {
    font-family: 'EB Garamond', serif;
    font-size: 1.4rem;
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
}

.gold-metric-label {
    font-size: .72rem;
    color: var(--grey-500);
    letter-spacing: .04em;
}

/* Precious Metals Reference */
.gold-ref-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--grey-200);
}

.gold-ref-heading {
    font-family: 'EB Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--grey-900);
    margin-bottom: 28px;
}

.gold-ref-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gold-ref-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .88rem;
    color: var(--grey-600);
    font-weight: 300;
}

.gold-metal-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,.15), 0 1px 3px rgba(0,0,0,.1);
}

/* Karat Accordion Cards */
.gold-karat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gold-karat-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: 2px;
    overflow: hidden;
    transition: all .3s;
}

.gold-karat-card:hover {
    border-color: var(--jade-light);
    box-shadow: 0 20px 60px rgba(26,58,47,.08);
}

.gold-karat-header {
    padding: 32px 32px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.gold-karat-header h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--grey-900);
}

.gold-karat-header h3 span {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
    font-weight: 500;
}

.gold-karat-toggle {
    width: 24px;
    height: 24px;
    stroke: var(--grey-400);
    fill: none;
    stroke-width: 2;
    transition: transform .3s;
    flex-shrink: 0;
    margin-top: 4px;
}

.gold-karat-card.open .gold-karat-toggle { transform: rotate(180deg); }

.gold-karat-visual {
    padding: 0 32px 20px;
}

.gold-karat-body {
    padding: 0 32px 32px;
    display: none;
}

.gold-karat-card.open .gold-karat-body { display: block; }

.gold-karat-body p {
    font-size: .85rem;
    color: var(--grey-500);
    line-height: 1.7;
    margin-bottom: 12px;
}

.gold-karat-body p:last-child { margin-bottom: 0; }

.gold-karat-tip {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(196,162,101,.08), rgba(196,162,101,.02));
    border: 1px solid rgba(196,162,101,.2);
    border-radius: 2px;
    font-size: .8rem;
    color: var(--gold);
    line-height: 1.6;
    margin-top: 12px;
}

/* Purity Scale Visual */
.gold-purity-scale {
    display: flex;
    gap: 2px;
    padding: 16px 0;
}

.gold-purity-grade {
    flex: 1;
    text-align: center;
    padding: 8px 6px;
    font-size: .65rem;
    letter-spacing: .04em;
    color: var(--grey-500);
    background: var(--grey-100);
    border-radius: 2px;
    transition: all .2s;
}

.gold-purity-grade.highlight {
    background: rgba(196,162,101,.12);
    color: var(--gold);
    font-weight: 500;
}

/* Comparison Table (bars vs coins vs jewelry) */
.gold-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: 2px;
}

.gold-compare-table th {
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    font-weight: 400;
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--grey-300);
    color: var(--grey-900);
    background: var(--white);
}

.gold-compare-table th:first-child { color: var(--grey-500); }

.gold-compare-table td {
    padding: 14px 24px;
    font-size: .85rem;
    color: var(--grey-600);
    border-bottom: 1px solid var(--grey-200);
    line-height: 1.6;
    vertical-align: top;
}

.gold-compare-table tbody tr { transition: background .2s; }
.gold-compare-table tbody tr:hover { background: var(--grey-100); }

.gold-compare-table tr:last-child td { border-bottom: none; }

.gold-compare-table .gold-row-label {
    color: var(--grey-900);
    font-weight: 400;
}

/* Info Cards (3-col) */
.gold-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.gold-info-card {
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: 2px;
    transition: all .3s;
}

.gold-info-card:hover {
    border-color: var(--jade-light);
    box-shadow: 0 20px 60px rgba(26,58,47,.08);
}

.gold-info-card h4 {
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--grey-900);
    margin-bottom: 12px;
}

.gold-info-card p {
    font-size: .85rem;
    color: var(--grey-500);
    line-height: 1.7;
}

/* Certification / Refiner Table */
.gold-cert-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.gold-cert-table th {
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--grey-900);
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--grey-300);
}

.gold-cert-table tbody tr { transition: background .2s; }
.gold-cert-table tbody tr:hover { background: var(--grey-100); }

.gold-cert-table td {
    padding: 14px 20px;
    font-size: .85rem;
    color: var(--grey-600);
    border-bottom: 1px solid var(--grey-200);
    line-height: 1.6;
    vertical-align: top;
}

.gold-cert-table tr:last-child td { border-bottom: none; }

.gold-cert-table .gold-cert-name {
    font-family: 'EB Garamond', serif;
    font-size: 1rem;
    color: var(--grey-900);
    font-weight: 500;
}

.gold-cert-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: .6rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 2px;
    margin-left: 8px;
}

.gold-cert-badge.lbma { background: rgba(196,162,101,.12); color: var(--gold); }

.gold-cert-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.gold-cert-link:hover .gold-cert-name {
    color: var(--jade-medium);
}

.gold-cert-link::after {
    content: ' \2197';
    font-size: .7rem;
    color: var(--grey-400);
}

.gold-summary-box {
    padding: 32px;
    background: linear-gradient(135deg, rgba(196,162,101,.06), rgba(196,162,101,.02));
    border: 1px solid rgba(196,162,101,.2);
    border-radius: 2px;
    text-align: center;
}

.gold-summary-box h4 {
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    color: var(--grey-900);
    margin-bottom: 10px;
}

.gold-summary-box p {
    font-size: .85rem;
    color: var(--grey-500);
    line-height: 1.7;
}

/* Storage Cards */
.gold-storage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gold-storage-card {
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-top: 2px solid var(--gold);
    border-radius: 2px;
    transition: all .3s;
}

.gold-storage-card:hover {
    border-color: var(--jade-light);
    border-top-color: var(--gold);
    box-shadow: 0 20px 60px rgba(26,58,47,.08);
}

.gold-storage-card h4 {
    font-family: 'EB Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--grey-900);
    margin-bottom: 12px;
}

.gold-storage-card p {
    font-size: .85rem;
    color: var(--grey-500);
    line-height: 1.7;
}

.gold-storage-card ul {
    list-style: none;
    margin-top: 12px;
}

.gold-storage-card ul li {
    font-size: .82rem;
    color: var(--grey-600);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.gold-storage-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
}

/* Disclaimer Box */
.gold-disclaimer {
    padding: 24px 32px;
    border: 1px solid rgba(196,162,101,.25);
    border-radius: 2px;
    background: linear-gradient(135deg, rgba(196,162,101,.06), rgba(196,162,101,.02));
}

.gold-disclaimer p {
    font-size: .78rem;
    color: var(--grey-500);
    line-height: 1.7;
    text-align: center;
}

.gold-disclaimer strong {
    color: var(--gold);
    font-weight: 500;
}

.gold-disclaimer-top { margin-bottom: 48px; }
.gold-disclaimer-bottom { margin-top: 48px; }

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

.gold-faq-item {
    border-bottom: 1px solid var(--grey-200);
}

.gold-faq-item:first-child { border-top: 1px solid var(--grey-200); }

.gold-faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: 'EB Garamond', serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--grey-900);
}

.gold-faq-q:hover { color: var(--jade-deep); }

.gold-faq-q svg {
    width: 18px;
    height: 18px;
    stroke: var(--grey-400);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform .3s;
}

.gold-faq-item.open .gold-faq-q svg { transform: rotate(180deg); }

.gold-faq-a {
    display: none;
    padding: 0 0 20px;
    font-size: .88rem;
    color: var(--grey-500);
    line-height: 1.8;
}

.gold-faq-item.open .gold-faq-a { display: block; }

/* CTA */
.gold-cta {
    padding: 100px 40px;
    text-align: center;
    background: var(--white);
}

.gold-cta-inner { max-width: 500px; margin: 0 auto; }

.gold-cta p {
    font-size: .95rem;
    color: var(--grey-500);
    margin-bottom: 24px;
    line-height: 1.8;
}

.gold-cta a {
    display: inline-block;
    padding: 16px 48px;
    background: var(--jade-deep);
    color: var(--white);
    text-decoration: none;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 400;
    transition: background .3s;
    border-radius: 2px;
}

.gold-cta a:hover { background: var(--jade-medium); }

.page-disclaimer {
    padding: 24px 40px;
    background: var(--grey-900);
    border-top: 1px solid rgba(255,255,255,.04);
}

.page-disclaimer p {
    max-width: 900px;
    margin: 0 auto;
    font-size: .68rem;
    color: rgba(255,255,255,.25);
    line-height: 1.7;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .gold-hero { padding: 80px 20px 60px; }
    .gold-hero-icon { width: 60px; height: 50px; margin-bottom: 24px; }
    .gold-section-title, .gold-heading { font-size: 1.8rem; }
    .gold-section { padding: 80px 20px; }
    .gold-card-grid { grid-template-columns: 1fr; }
    .gold-karat-grid { grid-template-columns: 1fr; }
    .gold-info-grid { grid-template-columns: 1fr; }
    .gold-storage-grid { grid-template-columns: 1fr; }
    .gold-metrics { grid-template-columns: repeat(2, 1fr); }
    .gold-ref-grid { grid-template-columns: 1fr; gap: 40px; }
    .gold-cta { padding: 60px 20px; }
    .gold-tracker-inner { padding: 12px 20px; }
    .gold-tracker-step .gold-tracker-text { display: none; }
    .gold-tracker-step .gold-tracker-num { margin-right: 0; }
    .gold-tracker-sep { margin: 0 3px; }
    .gold-cert-table { font-size: .8rem; }
    .gold-cert-table th, .gold-cert-table td { padding: 10px 12px; }
    .gold-compare-table th, .gold-compare-table td { padding: 10px 14px; }
}

@media (max-width: 480px) {
    .gold-section-title, .gold-heading { font-size: 1.5rem; }
    .gold-metrics { grid-template-columns: 1fr 1fr; gap: 16px; }
}
