/* ═══════════════════════════════════════════
   Ethical Profits Group — site styles
   (generated pages load this from /assets/epg.css)
═══════════════════════════════════════════ */

/* ─────────────────────────────────────────
   CSS CUSTOM PROPERTIES
───────────────────────────────────────── */
:root {
    --bg-primary:    #111111;
    --bg-secondary:  #181818;
    --bg-card:       #1e1e1e;
    --bg-dark:       #000000;
    --text-primary:  #f0f0f0;
    --text-muted:    rgba(240, 240, 240, 0.64);
    --text-faint:    rgba(240, 240, 240, 0.4);
    --accent-gold:   #fcc529;
    --accent-blue:   rgba(36, 85, 189, 1);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-gold:   rgba(252, 197, 41, 0.25);

    /* Principle colors — EPG logo palette */
    --c-honesty:  #F37F31;
    --c-equality: #D95B99;
    --c-justice:  #FDE457;
    --c-loyalty:  #D14A43;
    --c-liberty:  #F7A844;
    --c-order:    #EF5A78;
    --c-progress: #C9A0DC;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
}

h1, h2, h3, h4 { font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 0.5rem; }
h2 strong { color: var(--accent-gold); }
a { color: var(--accent-gold); }
a:hover { color: #ffd95e; }

.section-subtitle {
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    font-size: 0.95rem;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--accent-gold);
    color: #111;
    padding: 0.5rem 1rem;
    z-index: 2000;
    font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 3px; }

/* ─────────────────────────────────────────
   LANGUAGE SWITCHER
───────────────────────────────────────── */
.lang-switcher {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    gap: 0.2rem;
    background: rgba(10,10,10,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 0.3rem;
    border: 1px solid var(--border-subtle);
}

.lang-btn {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.65rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.lang-btn.active { background: var(--accent-gold); color: #111; }
.lang-btn:hover:not(.active) { color: var(--text-primary); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero-section {
    padding: 6rem 1rem 4rem;
    text-align: center;
    background: radial-gradient(ellipse at 50% -10%, rgba(252,197,41,0.07) 0%, transparent 65%);
}

.hero-logo {
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 0 auto 2.5rem;
    display: block;
}

.hero-section h1 {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 300;
    letter-spacing: 0.04em;
    max-width: 720px;
    margin: 0 auto;
    color: rgba(240,240,240,0.9);
}

.hero-sub {
    margin: 1.25rem 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

/* ─────────────────────────────────────────
   STATS BAND
───────────────────────────────────────── */
.stats-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    max-width: 960px;
    margin: 3.5rem auto 0;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    overflow: hidden;
    list-style: none;
    padding: 0;
}

.stats-band li {
    background: var(--bg-primary);
    padding: 1.25rem 0.75rem;
    text-align: center;
}

.stats-band li:last-child:nth-child(odd) { grid-column: 1 / -1; }

.stat-num {
    display: block;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1.1;
}

.stat-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .stats-band { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .stats-band li:last-child:nth-child(odd) { grid-column: auto; }
}

/* ─────────────────────────────────────────
   SECTION DIVIDER
───────────────────────────────────────── */
.section-divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 1.5rem auto 3rem;
    width: 50%;
    opacity: 1;
}

/* ─────────────────────────────────────────
   WHO WE ARE
───────────────────────────────────────── */
.synergy-intro {
    padding: 5rem 1rem;
    background-color: var(--bg-secondary);
}

.synergy-intro .section-subtitle { max-width: 780px; }

.b2b-note {
    font-style: italic;
    background-color: var(--bg-card);
    padding: 1.5rem 1.75rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-gold);
    text-align: left;
    max-width: 780px;
    margin: 2rem auto 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.brand-tag-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 2.5rem 0 0;
    padding: 0;
    list-style: none;
}

.brand-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
a.brand-tag:hover { background: var(--accent-gold); color: #111; }

/* ─────────────────────────────────────────
   FOUR PILLARS
───────────────────────────────────────── */
.pillars-section {
    padding: 5rem 1rem;
    background-color: var(--bg-dark);
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-top: 3px solid var(--accent-gold);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

.pillar-logo-wrap {
    height: 70px;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* logos have dark lettering, so they sit on a light plate */
.pillar-logo {
    max-height: 70px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 8px 12px;
}

.pillar-card h3 {
    font-size: 1.05rem;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.pillar-card > p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.pillar-card h4 {
    font-size: 0.8rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pillar-card .check-list { flex: 1; }

.check-list li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 1.4rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.check-list li::before {
    content: '✓';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.more-link {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
}
.more-link::after { content: ' →'; }

/* ─────────────────────────────────────────
   WHY CHOOSE EPG
───────────────────────────────────────── */
.why-section {
    padding: 5rem 1rem;
    background-color: var(--bg-primary);
}

.benefit-item { margin-bottom: 2rem; }
.benefit-item:last-child { margin-bottom: 0; }

.benefit-item h3 {
    font-size: 1rem;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ─────────────────────────────────────────
   CLIENTS
───────────────────────────────────────── */
.clients-section {
    padding: 5rem 1rem;
    background-color: var(--bg-dark);
}

.client-grid {
    columns: 2;
    -webkit-columns: 2;
    column-gap: 2rem;
    max-width: 860px;
    margin: 2.5rem auto;
    list-style: none;
    padding: 0;
}

@media (min-width: 768px) {
    .client-grid { columns: 3; -webkit-columns: 3; }
}

.client-grid li {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    padding-left: 1.1rem;
    position: relative;
    break-inside: avoid;
}

.client-grid li::before {
    content: '·';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.client-summary {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

/* ─────────────────────────────────────────
   BRANDS
───────────────────────────────────────── */
.brands-section {
    padding: 5rem 1rem;
    background-color: var(--bg-secondary);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 2.5rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover { color: var(--text-primary); border-color: var(--border-gold); }
.filter-btn[aria-pressed="true"] { background: var(--accent-gold); border-color: var(--accent-gold); color: #111; }
.filter-btn .count { opacity: 0.6; margin-left: 0.3rem; font-weight: 400; }

.brand-col[hidden] { display: none !important; }

.brand-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.75rem 1.25rem 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.brand-card:hover { transform: translateY(-4px); border-color: var(--border-gold); }

.brand-logo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: contain;
    transition: box-shadow 0.25s, background-color 0.25s;
}

.brand-card:hover .brand-logo {
    background-color: rgba(36, 85, 189, 0.4);
    box-shadow: 0 0 40px 12px rgba(36, 85, 189, 0.55),
                0 0 80px 20px rgba(36, 85, 189, 0.2);
}

.brand-name {
    margin: 1rem 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text-primary);
}

.brand-name a { color: inherit; text-decoration: none; }
/* whole card clickable through the name link */
.brand-name a::after { content: ''; position: absolute; inset: 0; border-radius: 14px; }

.brand-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 0.6rem;
}

.brand-meta .year { color: var(--accent-gold); }

.flag {
    display: inline-block;
    width: 18px;
    height: 12px;
    border-radius: 2px;
    vertical-align: -1px;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}

.brand-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 1rem;
    flex: 1;
}

.brand-badge {
    display: inline-block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-gold);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    padding: 0.15rem 0.6rem;
    margin-bottom: 0.75rem;
}

.brand-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.brand-links a {
    position: relative; /* above the stretched card link */
    z-index: 1;
    text-decoration: none;
}

.brand-links .ext { color: var(--text-muted); }
.brand-links .ext:hover { color: var(--text-primary); }

/* ─────────────────────────────────────────
   HISTORY TIMELINE
───────────────────────────────────────── */
.history-section {
    padding: 5rem 1rem;
    background-color: var(--bg-dark);
}

.timeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 38px;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(var(--c-honesty), var(--c-equality), var(--c-loyalty), var(--c-progress));
    opacity: 0.6;
}

.tl-item {
    position: relative;
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.tl-year {
    position: relative;
    z-index: 1;
    align-self: start;
    justify-self: center;
    background: var(--bg-dark);
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    padding: 0.2rem 0.65rem;
}

.tl-body { padding-top: 0.15rem; }

.tl-body p {
    margin: 0 0 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.tl-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tl-brands a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    padding: 0.2rem 0.75rem 0.2rem 0.25rem;
    text-decoration: none;
    transition: border-color 0.2s;
}

.tl-brands a:hover { border-color: var(--border-gold); }
.tl-brands img { width: 24px; height: 24px; border-radius: 50%; }

/* ─────────────────────────────────────────
   PRINCIPLES
───────────────────────────────────────── */
.principles-section {
    padding: 5rem 1rem;
    background-color: var(--bg-primary);
}

.principle-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    border: 1px solid var(--border-subtle);
    border-top-width: 3px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

.principle-card h3 {
    font-size: 1.1rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.principle-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

.p-1 { border-top-color: var(--c-honesty);  } .p-1 h3 { color: var(--c-honesty);  }
.p-2 { border-top-color: var(--c-equality); } .p-2 h3 { color: var(--c-equality); }
.p-3 { border-top-color: var(--c-justice);  } .p-3 h3 { color: var(--c-justice);  }
.p-4 { border-top-color: var(--c-loyalty);  } .p-4 h3 { color: var(--c-loyalty);  }
.p-5 { border-top-color: var(--c-liberty);  } .p-5 h3 { color: var(--c-liberty);  }
.p-6 { border-top-color: var(--c-order);    } .p-6 h3 { color: var(--c-order);    }
.p-7 { border-top-color: var(--c-progress); } .p-7 h3 { color: var(--c-progress); }

/* ─────────────────────────────────────────
   FAQ
───────────────────────────────────────── */
.faq-section {
    padding: 5rem 1rem;
    background-color: var(--bg-secondary);
}

.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.1rem 3rem 1.1rem 1.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.3rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-gold);
    font-size: 1.3rem;
    font-weight: 400;
}

.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { color: var(--accent-gold); }

.faq-item p {
    padding: 0 1.4rem 1.2rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ─────────────────────────────────────────
   FOOTER / CTA
───────────────────────────────────────── */
.cta-footer {
    padding: 5rem 1rem 4rem;
    text-align: center;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-subtle);
}

.cta-footer h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }

.cta-footer .lead-text {
    color: var(--text-muted);
    max-width: 680px;
    margin: 1rem auto 2.5rem;
    font-size: 0.95rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn-email, .btn-whatsapp, .btn-visit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}

.btn-email, .btn-visit { border: 2px solid var(--accent-gold); color: var(--accent-gold); }
.btn-email:hover, .btn-visit:hover { background: var(--accent-gold); color: #111; }

.btn-whatsapp { border: 2px solid #25d366; color: #25d366; }
.btn-whatsapp:hover { background: #25d366; color: #111; }

.offices {
    display: grid;
    gap: 1.25rem;
    max-width: 820px;
    margin: 0 auto;
    font-size: 0.78rem;
    color: rgba(240,240,240,0.45);
}

@media (min-width: 768px) { .offices { grid-template-columns: 1fr 1fr; } }

.offices strong {
    display: block;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
}

.offices address { margin: 0; font-style: normal; }

.footer-logo {
    width: 90px;
    height: auto;
    opacity: 0.4;
    margin-bottom: 1.5rem;
}

.footer-slogan {
    font-style: italic;
    color: var(--text-faint);
    font-size: 0.85rem;
    margin: 2.5rem 0 0.5rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.25rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.78rem;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(240,240,240,0.35);
    margin: 1rem 0 0.25rem;
}

footer a { color: rgba(240,240,240,0.5); text-decoration: none; }
footer a:hover { color: var(--text-primary); }

/* ─────────────────────────────────────────
   BRAND PAGES
───────────────────────────────────────── */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    max-width: 1140px;
    margin: 0 auto;
}

.topbar-logo img { width: 130px; height: auto; display: block; }
.topbar .lang-switcher { position: static; }

.breadcrumb-nav ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    font-size: 0.75rem;
    color: var(--text-faint);
}

.breadcrumb-nav li + li::before { content: '›'; margin-right: 0.4rem; }
.breadcrumb-nav a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--accent-gold); }

.brand-hero {
    padding: 2rem 1rem 4rem;
    background: radial-gradient(ellipse at 50% -20%, rgba(252,197,41,0.07) 0%, transparent 65%);
}

.brand-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .brand-hero-inner { flex-direction: row; text-align: left; gap: 2.5rem; }
}

.brand-hero-logo {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: contain;
}

.brand-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 0.35rem; }

.brand-tagline {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 300;
    color: rgba(240,240,240,0.9);
    margin: 0 0 1rem;
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 767px) { .chip-row { justify-content: center; } }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    padding: 0.25rem 0.8rem;
    text-decoration: none;
}

.chip.gold { color: var(--accent-gold); border-color: var(--border-gold); }

.brand-body {
    padding: 4rem 1rem;
    background: var(--bg-secondary);
}

.brand-body h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-bottom: 1.25rem; }
.brand-body h2 + .check-list { margin-bottom: 2.5rem; }

.prose p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.1rem;
}

.fact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-top: 3px solid var(--accent-gold);
    border-radius: 12px;
    padding: 1.5rem;
    position: sticky;
    top: 1.5rem;
}

.fact-card h2 { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-primary); }

.fact-card dl { margin: 0; }
.fact-card dt {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    font-weight: 600;
}
.fact-card dd {
    font-size: 0.88rem;
    color: var(--text-primary);
    margin: 0 0 0.9rem;
    overflow-wrap: anywhere;
}
.fact-card dd:last-child { margin-bottom: 0; }
.fact-card .btn-visit { width: 100%; justify-content: center; margin-top: 1.25rem; padding: 0.7rem 1rem; }

.related-section {
    padding: 4rem 1rem;
    background: var(--bg-dark);
}

.related-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 110px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
}

.related-grid img { width: 80px; height: 80px; border-radius: 50%; transition: box-shadow 0.25s; }
.related-grid a:hover { color: var(--text-primary); }
.related-grid a:hover img { box-shadow: 0 0 30px 6px rgba(36, 85, 189, 0.5); }

.epg-box {
    max-width: 780px;
    margin: 3.5rem auto 0;
    background: var(--bg-card);
    border-left: 4px solid var(--accent-gold);
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
}

.epg-box h2 { font-size: 1rem; color: var(--accent-gold); margin-bottom: 0.4rem; }
.epg-box p { font-size: 0.88rem; color: var(--text-muted); margin: 0 0 0.6rem; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 576px) {
    .brand-logo { width: 104px; height: 104px; }
    .timeline::before { left: 30px; }
    .tl-item { grid-template-columns: 62px 1fr; gap: 0.9rem; }
    .tl-year { font-size: 0.78rem; padding: 0.15rem 0.5rem; }
    .brand-hero-logo { width: 140px; height: 140px; }
}

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