:root {
    --esg-max-width: 1400px;
    --esg-radius: 16px;
    /* Dark Theme Palette */
    --esg-bg: #0a0c10;
    --esg-card-bg: #161b22;
    --esg-text: #ffffff;
    --esg-muted: #8b949e;
    --esg-line: rgba(255, 255, 255, 0.08);
    --esg-shadow: 0 18px 60px rgba(0, 0, 0, 0.4);
    --esg-primary: #10b981;
    --esg-primary-dark: #059669;
    --esg-secondary: #38bdf8;
    --esg-accent: #8b5cf6;
}

.esg-page {
    background: var(--esg-bg);
    color: var(--esg-text);
    min-height: 100vh;
}

.esg-wrap {
    max-width: var(--esg-max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================
   HERO
   ========================= */
.esg-hero {
    position: relative;
    min-height: 280px;
    padding: calc(var(--fixed-header-height, 130px) + 30px) 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
        url('../images/hero_abstract_bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.esg-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 500px at var(--hero-mouse-x, 50%) var(--hero-mouse-y, 50%),
            rgba(255, 255, 255, 0.08) 0%,
            transparent 100%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.esg-hero:hover::after {
    opacity: 1;
}

.esg-hero__inner {
    max-width: 1400px;
    width: 100%;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.esg-hero__icon {
    position: absolute;
    left: 160px;
    top: -20px;
    transform: translateY(-50%);
    width: 160px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.esg-hero__icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.esg-hero__text {
    text-align: center;
}

.esg-hero__eyebrow {
    margin: 0 0 16px 0;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #81d4fa;
    font-size: 1.1rem;
}

.esg-hero__title {
    margin: 0;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: esgNeonPulse 3s ease-in-out infinite alternate;
}

.esg-hero__desc {
    margin: 16px 0 0 0;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

@keyframes esgNeonPulse {
    0% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3), 0 0 20px rgba(56, 189, 248, 0.2);
    }

    100% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 30px rgba(56, 189, 248, 0.5), 0 0 40px rgba(56, 189, 248, 0.3);
    }
}

/* =========================
   COMMON SECTION STYLES
   ========================= */
.esg-intro-section,
.esg-importance-section,
.esg-services-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 16px 0;
    color: #fff;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--esg-muted);
    line-height: 1.6;
}

/* =========================
   ESG INTRO CARDS
   ========================= */
.esg-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.esg-card {
    background: var(--esg-card-bg);
    border: 1px solid var(--esg-line);
    border-radius: var(--esg-radius);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s;
}

.esg-card:hover {
    transform: translateY(-5px);
    border-color: var(--esg-primary);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.esg-card__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--esg-primary), var(--esg-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.esg-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--esg-primary);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.esg-card h3 .kr {
    font-size: 1rem;
    color: var(--esg-muted);
    font-weight: 500;
}

.esg-card p {
    font-size: 0.95rem;
    color: #c9d1d9;
    line-height: 1.7;
    margin: 0;
}

/* =========================
   IMPORTANCE GRID
   ========================= */
.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.importance-item {
    background: var(--esg-card-bg);
    border: 1px solid var(--esg-line);
    border-radius: var(--esg-radius);
    padding: 30px;
    transition: all 0.3s;
}

.importance-item:hover {
    border-color: var(--esg-secondary);
    box-shadow: 0 15px 35px rgba(56, 189, 248, 0.15);
}

.importance-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--esg-secondary), var(--esg-accent));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.importance-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #fff;
}

.importance-item p {
    font-size: 0.95rem;
    color: var(--esg-muted);
    line-height: 1.6;
    margin: 0;
}

/* =========================
   SERVICES TIMELINE
   ========================= */
.services-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    align-items: start;
}

.timeline-number {
    background: linear-gradient(135deg, var(--esg-primary), var(--esg-primary-dark));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 20px;
    border-radius: 12px;
    text-align: center;
}

.timeline-content {
    background: var(--esg-card-bg);
    border: 1px solid var(--esg-line);
    border-radius: var(--esg-radius);
    padding: 30px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #fff;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-content li {
    font-size: 0.95rem;
    color: var(--esg-muted);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.timeline-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--esg-primary);
    font-weight: 700;
}

/* =========================
   CTA SECTION
   ========================= */
.esg-cta-section {
    background: linear-gradient(135deg, #10b981, #059669);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    color: #fff;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.esg-page .btn-primary,
.esg-page .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.esg-page .btn-primary {
    background: #fff;
    color: #059669;
}

.esg-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.esg-page .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.esg-page .btn-secondary:hover {
    background: #fff;
    color: #059669;
    transform: translateY(-2px);
}

/* =========================
   ANIMATIONS
   ========================= */
.esg-page .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.esg-page .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1000px) {
    .esg-wrap {
        padding: 0 20px;
    }

    .esg-hero {
        min-height: 330px !important;
        padding: calc(130px + 40px) 0 40px !important;
    }

    .esg-hero__inner {
        padding: 0;
        justify-items: center;
        gap: 14px;
    }

    .esg-hero__icon {
        display: none;
    }

    .esg-hero__eyebrow {
        font-size: 0.98rem;
        line-height: 1.4;
        padding: 0 8px;
    }

    .esg-hero__title {
        font-size: 2.22rem;
    }

    .esg-hero__text {
        padding: 0 6px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .esg-cards {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .esg-page .btn-primary,
    .esg-page .btn-secondary {
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .esg-hero {
        min-height: 330px !important;
        padding: 170px 0 40px !important;
    }
}

@media (max-width: 768px) {
    .importance-grid {
        grid-template-columns: 1fr;
    }
}
