/* About page specific styles.
   Shared header, footer, theme toggle, mobile nav, fonts and tokens come from Styles-index.css. */

:root {
    --section-pad: 100px 80px;
    --img-brightness: brightness(0.92);
}

body.dark-mode {
    --img-brightness: brightness(0.82);
}

main { flex: 1; }

/* =========================================
   HERO
   ========================================= */
.about-hero {
    min-height: 88vh; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; padding: 140px 48px 100px; overflow: hidden;
    background: var(--bg-primary); transition: background 0.5s ease;
}
.about-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 55% at 50% 44%, rgba(212,160,23,0.06) 0%, transparent 65%);
    pointer-events: none; z-index: 0;
}
body.dark-mode .about-hero { background: var(--bg-primary); }

.about-hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }

.eyebrow {
    font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-light);
    margin-bottom: 28px; display: inline-flex; align-items: center; gap: 14px;
    opacity: 0; animation: fadeUp 0.7s 0.15s forwards;
    transition: color 0.5s ease;
}
.eyebrow::before, .eyebrow::after {
    content: ''; display: inline-block; width: 22px; height: 1px;
    background: var(--gold); opacity: 0.55;
}

.about-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6.5vw, 6rem);
    font-weight: 700; line-height: 0.96; letter-spacing: -0.02em;
    color: #1D1D1F; -webkit-text-fill-color: #1D1D1F;
    margin-bottom: 28px;
    opacity: 0; animation: fadeUp 0.85s 0.3s forwards;
    transition: color 0.5s ease;
}
body.dark-mode .about-hero-title { color: #F5F0E8 !important; -webkit-text-fill-color: #F5F0E8 !important; }
.about-hero-title em {
    font-style: italic; font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; display: inline-block;
}

.about-hero-sub {
    font-family: var(--font-body); font-size: 1.05rem; font-weight: 400;
    color: rgba(29,29,31,0.62); line-height: 1.78;
    max-width: 560px; margin: 0 auto;
    opacity: 0; animation: fadeUp 0.85s 0.45s forwards;
    transition: color 0.5s ease;
}
body.dark-mode .about-hero-sub { color: rgba(245,240,232,0.55); }

.about-hero-deco {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    opacity: 0.4;
}

/* =========================================
   SECTIONS
   ========================================= */
.about-section {
    display: grid; grid-template-columns: 1fr 1fr; min-height: 580px; overflow: hidden;
    transition: background 0.5s ease;
}
.about-section--flip .about-text  { order: 2; }
.about-section--flip .about-image { order: 1; }

.about-text {
    padding: var(--section-pad);
    display: flex; flex-direction: column; justify-content: center;
    background: var(--bg-secondary); border-top: 1px solid var(--section-border);
    transition: background 0.5s ease, border-color 0.5s ease;
}
.about-text .eyebrow { animation: none; opacity: 1; }

.about-text h2 {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    line-height: 1.05; letter-spacing: -0.02em;
    color: var(--text-primary); margin-bottom: 20px;
    transition: color 0.5s ease;
}
.about-text h2 em {
    font-style: italic;
    background: var(--gold-gradient-subtle);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; display: inline;
}
.about-text > p {
    font-family: var(--font-body); font-size: 0.98rem; font-weight: 400;
    color: var(--text-secondary); line-height: 1.82;
    transition: color 0.5s ease;
}
.about-text strong { color: var(--gold); font-weight: 600; }

.about-image { position: relative; overflow: hidden; }
.about-image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.9s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.5s ease;
    filter: var(--img-brightness);
}
.about-image:hover img { transform: scale(1.035); }
.about-image::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(212,160,23,0.05) 0%, transparent 55%);
    pointer-events: none;
}

/* =========================================
   BENEFIT GRID
   ========================================= */
.benefit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.benefit-card {
    background: var(--bg-tertiary); border: 1px solid var(--section-border);
    border-radius: 10px; padding: 22px;
    transition: border-color var(--transition), transform var(--transition), background 0.5s ease;
}
.benefit-card:hover { border-color: var(--gold-border-mid); transform: translateY(-2px); }
.benefit-icon { font-size: 1rem; color: var(--gold); margin-bottom: 10px; display: block; opacity: 0.85; transition: color 0.5s ease; }
.benefit-card h4 {
    font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
    color: var(--text-primary); margin-bottom: 6px; transition: color 0.5s ease;
}
.benefit-card p { font-family: var(--font-body); font-size: 0.82rem; color: var(--text-secondary); line-height: 1.65; transition: color 0.5s ease; }

/* =========================================
   STAT GRID
   ========================================= */
.stat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 40px; background: var(--section-border); }
.stat-card {
    background: var(--bg-secondary); padding: 36px 24px; text-align: left;
    position: relative; overflow: hidden;
    transition: background 0.32s ease;
}
.stat-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--gold-gradient);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.stat-card:hover { background: var(--bg-tertiary); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-number {
    font-family: var(--font-display); font-size: 2.8rem; font-weight: 700;
    background: var(--gold-gradient-subtle);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1; margin-bottom: 10px; display: block;
}
.stat-label { font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; color: var(--text-secondary); line-height: 1.55; transition: color 0.5s ease; }

/* =========================================
   LIST
   ========================================= */
.about-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.about-list li {
    font-family: var(--font-body); font-size: 0.9rem;
    color: var(--text-secondary); display: flex; align-items: flex-start;
    gap: 12px; line-height: 1.55; transition: color 0.5s ease;
}
.about-list li i { color: var(--gold); font-size: 0.7rem; margin-top: 5px; flex-shrink: 0; }

/* =========================================
   CTA BANNER
   ========================================= */
.about-cta {
    background: var(--bg-secondary); border-top: 1px solid var(--border-mid);
    padding: 120px 48px; text-align: center; position: relative; overflow: hidden;
    transition: background 0.5s ease, border-color 0.5s ease;
}
.about-cta::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(212,160,23,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.about-cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.about-cta .eyebrow { animation: none; opacity: 1; }

.about-cta h2 {
    font-family: var(--font-display); font-size: clamp(2rem,4vw,3.8rem);
    font-weight: 700; letter-spacing: -0.02em;
    color: var(--text-primary); margin-bottom: 40px; line-height: 1.05;
    transition: color 0.5s ease;
}
.about-cta h2 em {
    font-style: italic;
    background: var(--gold-gradient);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; display: inline;
}

.cta-btn {
    display: inline-block; padding: 16px 44px;
    background: var(--gold); color: #FFFFFF;
    font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
    border-radius: 8px;
    transition: background var(--transition), transform var(--transition), box-shadow 0.3s ease;
}
.cta-btn:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 28px var(--shadow-gold); }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-section { opacity: 0; transform: translateY(36px); transition: opacity 0.9s ease, transform 0.9s ease; }
.fade-section.visible { opacity: 1; transform: translateY(0); }


/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    :root { --section-pad: 72px 48px; }
}

@media (max-width: 900px) {
    .about-section { grid-template-columns: 1fr; }
    .about-section--flip .about-text,
    .about-section--flip .about-image { order: unset; }
    .about-image { height: 340px; }
    .stat-grid { grid-template-columns: 1fr; }
    :root { --section-pad: 56px 40px; }
}

@media (max-width: 768px) {
    .about-hero { padding: 110px 28px 72px; }
    .benefit-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr !important; }
    :root { --section-pad: 52px 28px; }
}

@media (max-width: 480px) {
    .about-hero-title { font-size: 2.6rem !important; }
}

/* =========================================
   FOOTER — match index page
   ========================================= */
footer {
    padding: 0 !important;
    display: block !important;
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-subtle) !important;
}

.footer-top {
    padding: 80px 72px 60px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 60px !important;
    border-bottom: 1px solid var(--section-border) !important;
}

.footer-brand {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    align-items: flex-start !important;
}

.footer-brand img {
    height: 40px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain !important;
    display: block !important;
    filter: brightness(0.9) !important;
}

.footer-brand p {
    font-family: var(--font-body) !important;
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    color: var(--text-faint) !important;
    line-height: 1.7 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    max-width: 240px !important;
    margin: 0 !important;
}

.footer-col-label {
    font-family: var(--font-body) !important;
    font-size: 0.62rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    color: var(--gold-accent) !important;
    margin: 0 0 8px !important;
    opacity: 0.7 !important;
}

.footer-links {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-links a {
    font-family: var(--font-body) !important;
    font-size: 0.75rem !important;
    font-weight: 400 !important;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    letter-spacing: 0.04em !important;
    transition: color 0.25s ease !important;
}
.footer-links a:hover { color: var(--gold-accent) !important; }

.footer-bottom {
    padding: 28px 72px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 24px !important;
}

.footer-bottom p,
.footer-bottom .footer-legal {
    font-family: var(--font-body) !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    color: var(--text-faint) !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

.footer-legal { text-align: right !important; }
.footer-legal a {
    color: var(--text-faint) !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}
.footer-legal a:hover { color: var(--gold-accent) !important; }

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 60px 28px 40px !important;
    }

    .footer-brand img {
        height: 34px !important;
        max-width: 140px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
        padding: 24px 28px !important;
    }

    .footer-legal { text-align: center !important; }
}
