/* ================================================
   LYNCIS CAPITAL — PITCH DECK v2
   Professional blue-white upgraded design
   ================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy: #0F2B4C;
    --navy-light: #1A3D66;
    --blue: #2563EB;
    --blue-accent: #3B82F6;
    --blue-soft: #60A5FA;
    --sky: #DBEAFE;
    --sky-light: #EFF6FF;
    --ice: #F0F7FF;
    --white: #FFFFFF;
    --g50: #F9FAFB;
    --g100: #F3F4F6;
    --g200: #E5E7EB;
    --g300: #D1D5DB;
    --g400: #9CA3AF;
    --g500: #6B7280;
    --g600: #4B5563;
    --g700: #374151;
    --g800: #1F2937;
    --g900: #111827;
    --green: #059669;
    --red: #DC2626;
    --amber: #F59E0B;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--g800);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 700; }

/* --- Layout --- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.slide {
    padding: 100px 0;
    position: relative;
}

.slide-alt { background: var(--g50); }

/* --- Language Toggle --- */
.lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    background: var(--white);
    border-radius: 999px;
    box-shadow: var(--shadow);
    border: 1px solid var(--g200);
    overflow: hidden;
}

.lang-btn {
    padding: 7px 14px;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: var(--g400);
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.02em;
    transition: all 0.15s;
}

.lang-btn.active { background: var(--navy); color: var(--white); }
.lang-btn:hover:not(.active) { color: var(--g700); }

/* --- Side Nav --- */
.side-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--g300);
    cursor: pointer;
    transition: all 0.2s;
}

.nav-dot.active { background: var(--blue); transform: scale(1.5); }
.nav-dot:hover { background: var(--blue-soft); }

/* --- Section Common --- */
.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--sky);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--g900);
    letter-spacing: -0.025em;
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--g500);
    max-width: 680px;
    line-height: 1.7;
    margin-bottom: 48px;
}

.sub-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--g900);
    margin-bottom: 16px;
}

.sub-title.mt { margin-top: 32px; }

/* --- Bullet Lists --- */
.bullet-list { list-style: none; }
.bullet-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--g600);
    line-height: 1.65;
}
.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--blue-accent);
}
.bullet-list.small li { font-size: 0.82rem; margin-bottom: 7px; }
.bullet-list.small li::before { top: 8px; width: 4px; height: 4px; }

/* --- Check List --- */
.check-list { list-style: none; }
.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 0.92rem;
    color: var(--g600);
    line-height: 1.65;
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--sky);
    border: 2px solid var(--blue-accent);
}
.check-list li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 9px;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--blue-accent);
    border-bottom: 2px solid var(--blue-accent);
    transform: rotate(-45deg);
}
.check-list .check-highlight { font-weight: 600; color: var(--g800); }

/* --- Image Cards --- */
.img-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--g200);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.img-card img { width: 100%; object-fit: cover; }

.img-card.compact { border-radius: var(--radius-sm); }

.img-caption {
    padding: 8px 14px;
    font-size: 0.75rem;
    color: var(--g400);
    text-align: center;
    background: var(--g50);
    border-top: 1px solid var(--g100);
}

/* --- Info Cards --- */
.info-card {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--g100);
}

/* --- Chart Card --- */
.chart-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--g200);
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.chart-card img, .chart-img {
    width: 100%;
    display: block;
}

/* --- Data Tables --- */
.table-scroll {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--g200);
}

.table-scroll.tall { max-height: 560px; overflow-y: auto; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.data-table th {
    background: var(--navy);
    color: var(--white);
    padding: 9px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
    z-index: 2;
    white-space: nowrap;
}

.data-table td {
    padding: 7px 12px;
    border-bottom: 1px solid var(--g100);
    color: var(--g600);
    white-space: nowrap;
}

.data-table td:not(:first-child):not(:nth-child(2)):not(:nth-child(4)) {
    font-variant-numeric: tabular-nums;
}

.data-table tr:nth-child(even) { background: var(--g50); }
.data-table tr:hover { background: var(--sky-light); }
.data-table .highlight td { background: var(--sky-light); font-weight: 600; color: var(--navy); }

/* Financial table specifics */
.data-table.financial th:not(:first-child) { text-align: right; }
.data-table.financial td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.data-table.financial .group-label td {
    background: var(--g100);
    font-weight: 700;
    color: var(--navy);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 7px 12px;
}
.data-table.financial .row-total td {
    border-top: 2px solid var(--g300);
    font-weight: 700;
    background: var(--g50);
}
.data-table.financial .row-note td {
    background: #FFFBEB;
    font-size: 0.78rem;
    font-style: italic;
    color: var(--g500);
    text-align: left !important;
    white-space: normal;
}
.data-table.financial .row-cumulative td {
    background: var(--sky-light);
    font-weight: 700;
    border-top: 2px solid var(--blue-accent);
}

.negative { color: var(--red) !important; }
.positive { color: var(--green) !important; }

/* ==================== HERO ==================== */
.slide-hero { padding: 0; min-height: 100vh; display: flex; align-items: center; background: var(--white); }
.hero-container { width: 100%; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
    padding: 80px 0;
}

.hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue);
    border: 1.5px solid var(--blue);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--g900);
    margin-bottom: 28px;
}

.hero-title .accent { color: var(--blue); }

.hero-divider { width: 48px; height: 3px; background: var(--blue); border-radius: 2px; margin-bottom: 24px; }

.hero-company {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
}

.hero-company .label { font-size: 0.85rem; color: var(--g400); }
.hero-company .name { font-size: 1.1rem; font-weight: 800; color: var(--navy); }

.hero-features { list-style: none; display: flex; flex-direction: column; gap: 18px; }

.hero-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.9rem;
    color: var(--g600);
    line-height: 1.65;
}

.feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sky);
    border-radius: 10px;
    color: var(--blue);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 480px;
}

.circle-main {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-accent), var(--blue-soft));
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25);
    position: relative;
    z-index: 1;
}

.dot-grid {
    position: absolute;
    top: 30px;
    right: 0;
    width: 180px;
    height: 220px;
    background-image: radial-gradient(circle, var(--g800) 1.2px, transparent 1.2px);
    background-size: 16px 16px;
    opacity: 0.35;
    z-index: 0;
}

/* ==================== MARKET ==================== */
.market-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.market-map-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--g200);
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 20px;
}

.market-map-img { width: 100%; max-width: 700px; margin: 0 auto; }

.market-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.m-card {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--radius);
    padding: 24px 20px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s;
}

.m-card:hover { box-shadow: var(--shadow); }

.m-card-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--sky);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 12px;
}

.m-card h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.m-card p {
    font-size: 0.82rem;
    color: var(--g500);
    line-height: 1.6;
}

/* ==================== NATURAL GAS ==================== */
.gas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.gas-col-left, .gas-col-right { display: flex; flex-direction: column; gap: 20px; }

/* Pricing formula */
.price-formula {
    background: var(--g50);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--g100);
}

.formula-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.88rem;
    color: var(--g700);
}

.formula-row.indent { padding-left: 20px; }

.formula-label { font-weight: 700; color: var(--navy); }

.formula-value { font-weight: 600; color: var(--blue); }

.tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--sky);
    color: var(--blue);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: auto;
}

.key-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat {
    background: var(--sky-light);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    border: 1px solid var(--sky);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-unit { font-size: 0.9rem; font-weight: 600; }

.stat-label { font-size: 0.72rem; color: var(--g500); line-height: 1.4; }

/* ==================== LAND ==================== */
.land-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.note-box {
    background: var(--g50);
    border: 1px solid var(--g200);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--g500);
    margin: 16px 0;
}

.rtb-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sky);
    color: var(--navy);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    border: 1.5px solid var(--blue-accent);
}

.land-right { display: flex; flex-direction: column; gap: 16px; }

/* ==================== GENSETS ==================== */
.genset-layout { display: flex; flex-direction: column; gap: 28px; }

.genset-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.genset-img-wrap {
    position: relative;
    background: var(--g100);
    min-height: 280px;
}

.genset-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.genset-img-wrap .img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 43, 76, 0.8);
    color: var(--white);
    padding: 6px 14px;
    font-size: 0.72rem;
    border-top: none;
}

.genset-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.genset-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue);
    background: var(--sky);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    width: fit-content;
}

.genset-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.genset-body p {
    font-size: 0.88rem;
    color: var(--g600);
    line-height: 1.65;
    margin-bottom: 12px;
}

/* ==================== PERMITS ==================== */
.permit-header-card {
    background: var(--navy);
    color: var(--white);
    padding: 28px 32px;
    border-radius: var(--radius);
    margin-bottom: 40px;
}

.permit-header-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.permit-header-card .light { font-weight: 400; opacity: 0.7; font-size: 0.88rem; }

.permit-header-card p {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.65;
}

.permit-header-card strong { opacity: 1; }

.permit-timeline { position: relative; padding-left: 40px; }

.timeline-phase { position: relative; margin-bottom: 40px; }
.timeline-phase:last-child { margin-bottom: 0; }

.phase-marker { position: absolute; left: -40px; top: 0; }

.phase-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--blue);
    border: 3px solid var(--sky);
    position: relative;
    z-index: 1;
}

.phase-line {
    position: absolute;
    left: 6px;
    top: 14px;
    width: 2px;
    height: calc(100% + 40px);
    background: var(--g200);
}

.timeline-phase:last-child .phase-line { display: none; }

.phase-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.phase-badge.pre { background: var(--sky); color: var(--navy); }
.phase-badge.post { background: var(--g100); color: var(--g700); }

.permit-item { margin-bottom: 16px; }

.permit-item h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
}

/* ==================== FINANCIALS ==================== */
.fin-table-card {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 36px;
}

.fin-table-header {
    background: var(--sky-light);
    padding: 14px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    border-bottom: 1px solid var(--g200);
}

.fin-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fin-highlight {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.fin-h-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}

.fin-h-value.positive { color: var(--green); }
.fin-h-value span { font-size: 1rem; font-weight: 600; }

.fin-h-label { font-size: 0.78rem; color: var(--g500); }

/* ==================== COOPERATION ==================== */
.coop-cards { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; }

.coop-card {
    background: var(--white);
    border: 1px solid var(--g200);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.coop-card.primary {
    border-color: var(--blue-accent);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.coop-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.coop-icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sky);
    border-radius: 12px;
    color: var(--blue);
}

.coop-price {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--navy);
}

.coop-price span { font-size: 0.85rem; font-weight: 500; color: var(--g400); }

.coop-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

/* ==================== OVERVIEW ==================== */
.overview-layout {
    display: grid;
    grid-template-columns: 0.45fr 0.55fr;
    gap: 28px;
}

.case-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.case-info h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    margin-top: 10px;
}

.case-info h4:first-child { margin-top: 0; }

/* ==================== PRODUCT — Mock UI ==================== */
.product-url { font-weight: 700; color: var(--blue); }

.viz-mock {
    max-width: 1080px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--g200);
    box-shadow: 0 12px 48px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
    background: #fff;
    font-family: 'Inter', -apple-system, sans-serif;
}

/* Top bar */
.viz-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid var(--g200);
}
.viz-topbar-title { font-size: 13px; font-weight: 700; color: var(--g900); }
.viz-map-toggle { display: flex; gap: 2px; background: var(--g100); border-radius: 6px; padding: 2px; }
.viz-map-btn {
    font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 4px;
    color: var(--g500); cursor: pointer; transition: all 0.15s;
}
.viz-map-btn.active { background: var(--blue); color: #fff; font-weight: 600; }

/* Body layout */
.viz-body { display: flex; height: 480px; }

/* Left sidebar */
.viz-sidebar {
    width: 220px; flex-shrink: 0;
    background: #fff; border-right: 1px solid var(--g200);
    padding: 14px; display: flex; flex-direction: column; gap: 8px;
    overflow-y: auto;
}
.viz-search {
    display: flex; align-items: center; gap: 8px;
    background: var(--g50); border: 1px solid var(--g200); border-radius: 8px;
    padding: 8px 10px; font-size: 12px; color: var(--g400);
}
.viz-mode-row {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--g600); padding: 4px 2px;
}
.viz-divider { height: 1px; background: var(--g200); margin: 4px 0; }
.viz-layers-header {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; color: var(--g500);
    text-transform: uppercase; letter-spacing: 0.04em; padding: 2px 0;
}
.viz-layer-rows { display: flex; flex-direction: column; gap: 2px; }
.viz-layer-row {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--g700); padding: 5px 4px; border-radius: 4px;
}
.viz-layer-row:hover { background: var(--g50); }
.viz-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.viz-layer-spacer { flex: 1; }
.viz-slider-val { font-size: 11px; color: var(--g400); font-variant-numeric: tabular-nums; }
.viz-caret { font-size: 9px; color: var(--g400); margin-left: 2px; }

/* Toggle switch */
.viz-toggle {
    width: 28px; height: 16px; border-radius: 99px; position: relative;
    flex-shrink: 0; cursor: pointer; transition: background 0.15s;
}
.viz-toggle.off { background: var(--g200); }
.viz-toggle.on { background: var(--blue); }
.viz-toggle::after {
    content: ''; position: absolute; top: 2px; width: 12px; height: 12px;
    border-radius: 50%; background: #fff; transition: left 0.15s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.viz-toggle.off::after { left: 2px; }
.viz-toggle.on::after { left: 14px; }

/* Legend */
.viz-legend { margin-top: auto; padding-top: 8px; }
.viz-legend-bar {
    height: 8px; border-radius: 4px;
    background: linear-gradient(to right, #ef4444, #f59e0b, #84cc16, #22c55e);
}
.viz-legend-labels {
    display: flex; justify-content: space-between;
    font-size: 10px; color: var(--g400); margin-top: 3px;
}

/* Map area */
.viz-map { flex: 1; background: #e8f0e0; overflow: hidden; position: relative; }
.viz-map-svg { width: 100%; height: 100%; }

/* Right panel */
.viz-panel {
    width: 280px; flex-shrink: 0;
    background: #fff; border-left: 1px solid var(--g200);
    overflow-y: auto; display: flex; flex-direction: column;
}
.viz-panel-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-bottom: 1px solid var(--g100);
}
.viz-county-name { font-size: 15px; font-weight: 700; color: var(--g900); }
.viz-county-grade {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 6px;
    background: var(--blue); color: #fff; font-size: 11px; font-weight: 700;
    margin-left: 8px;
}
.viz-panel-actions { display: flex; gap: 10px; }

/* Score section */
.viz-score-section { padding: 14px 16px; border-bottom: 1px solid var(--g100); }
.viz-score-title { font-size: 13px; font-weight: 700; color: var(--g900); margin-bottom: 2px; }
.viz-score-sub { font-size: 10px; color: var(--g400); margin-bottom: 10px; }
.viz-factor-rows { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 14px; }
.viz-factor-row { display: flex; gap: 4px; font-size: 10px; }
.viz-f-label { color: var(--g500); }
.viz-f-weight { color: var(--g400); }

/* Score bars */
.viz-bars { display: flex; flex-direction: column; gap: 8px; }
.viz-bar-row { display: flex; align-items: center; gap: 8px; }
.viz-bar-label { font-size: 11px; color: var(--g500); width: 56px; flex-shrink: 0; text-align: right; }
.viz-bar-track { flex: 1; height: 8px; background: var(--g100); border-radius: 4px; overflow: hidden; }
.viz-bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #22c55e, #16a34a); }
.viz-bar-val { font-size: 11px; font-weight: 600; color: var(--g700); width: 36px; text-align: right; font-variant-numeric: tabular-nums; }

/* Info cards */
.viz-info-cards { padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.viz-info-card {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 8px; border: 1px solid var(--g100);
    transition: background 0.1s; cursor: pointer;
}
.viz-info-card:hover { background: var(--g50); }
.viz-ic-icon {
    width: 30px; height: 30px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: var(--g50); flex-shrink: 0;
}
.viz-ic-label { font-size: 9px; font-weight: 600; color: var(--g400); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1px; }
.viz-ic-value { font-size: 13px; font-weight: 700; color: var(--g900); }
.viz-ic-arrow { margin-left: auto; flex-shrink: 0; }

/* Responsive */
@media (max-width: 1024px) {
    .viz-body { height: auto; flex-direction: column; }
    .viz-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--g200); flex-direction: row; flex-wrap: wrap; height: auto; }
    .viz-map { min-height: 300px; }
    .viz-panel { width: 100%; border-left: none; border-top: 1px solid var(--g200); }
}
@media (max-width: 640px) {
    .viz-sidebar { display: none; }
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer-brand { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.footer-sub { font-size: 0.82rem; opacity: 0.5; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-right { display: none; }
    .hero-title { font-size: 2.5rem; }
    .gas-layout,
    .land-layout,
    .overview-layout { grid-template-columns: 1fr; }
    .genset-card { grid-template-columns: 1fr; }
    .market-cards { grid-template-columns: repeat(2, 1fr); }
    .coop-cards { grid-template-columns: 1fr; }
    .fin-highlights { grid-template-columns: 1fr; }
    .side-nav { display: none; }
    .case-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .slide { padding: 60px 0; }
    .section-title { font-size: 1.75rem; }
    .hero-title { font-size: 2rem; }
    .market-cards { grid-template-columns: 1fr; }
    .key-stats { grid-template-columns: 1fr; }
    .lang-toggle { top: 10px; right: 10px; }
}
