/* =========================================================
   YOGAYATAN GROUP - SPECIALTY OIL & CHEMICALS PAGE
   Load AFTER style.css
   ========================================================= */

/* style.css turns on full-page scroll-snap for the homepage – switch it off here */
html { scroll-snap-type: none; height: auto; }
body { height: auto; }

:root {
    --navy: #004b87;
    --purple: #9b51e0;
    --gold: #d9a441;
    --dark: #1e293b;
    --ink: #0f172a;
    --text: #4a5568;
    --muted: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --grad: linear-gradient(to right, #004b87, #9b51e0);
}

/* Same font as the rest of the website */
.so-page,
.so-page button,
.so-page table,
.so-page svg text {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Reveal-on-scroll (only when JS is running) */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   1. HERO
   ========================================================= */
.so-hero {
    position: relative; min-height: 86vh;
    background: #1e293b center / cover no-repeat;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.so-hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .45) 60%, rgba(15, 23, 42, .85) 100%);
}
.so-hero-content { position: relative; z-index: 2; color: #fff; padding: 110px 20px 120px; display: flex; flex-direction: column; align-items: center; }
.so-hero-kicker { font-size: .8rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; opacity: .85; margin: 0 0 18px; }
.so-hero-title {
    font-size: 3.4rem; font-weight: 800; text-transform: uppercase; letter-spacing: 5px; line-height: 1.1;
    margin: 0; padding-bottom: 14px; border-bottom: 3px solid #fff;
}
.so-hero-arrow { position: relative; width: 2px; height: 64px; background: #fff; margin-bottom: 6px; }
.so-hero-arrow::after {
    content: ''; position: absolute; left: 50%; bottom: -2px; width: 12px; height: 12px;
    border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateX(-50%) rotate(45deg);
}
.so-hero-tagline { font-size: 1.25rem; font-weight: 600; margin: 14px 0 0; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .7); }

/* =========================================================
   2. LOGO BADGE + WHO WE ARE
   ========================================================= */
.so-intro { position: relative; background: #fff; padding: 0 50px 90px; }
.so-logo-badge {
    width: 190px; height: 190px; margin: -95px auto 34px; position: relative; z-index: 3;
    border-radius: 50%; background: #fff; padding: 8px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .28), 0 0 0 1px rgba(217, 164, 65, .35);
}
.so-logo-badge img { width: 100%; height: 100%; border-radius: 50%; display: block; }

/* =========================================================
   SHARED
   ========================================================= */
.so-section { padding: 90px 50px; background: #fff; scroll-margin-top: 80px; }
.so-section.is-light { background: var(--light); }
.so-inner { max-width: 1320px; margin: 0 auto; }
.so-center { text-align: center; }
.so-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--navy); margin: 0 0 12px; }
.so-title {
    display: inline-block; font-size: 2.1rem; font-weight: 700; color: var(--dark); line-height: 1.25; letter-spacing: -.3px;
    margin: 0 0 34px; padding-bottom: 12px; border-bottom: 3px solid transparent; border-image: var(--grad) 1;
}
.so-lead { font-size: 1.08rem; line-height: 1.85; color: var(--text); margin: 0 0 44px; }
.so-text { font-size: 1rem; line-height: 1.8; color: var(--text); margin: 0 0 24px; }
.so-narrow { max-width: 920px; margin-left: auto; margin-right: auto; }
.so-narrow-left { max-width: 900px; }
.so-note { font-size: .88rem; color: var(--muted); line-height: 1.6; margin: 16px 0 0; }
.so-statement {
    margin: 30px 0 0; padding: 20px 26px; border-left: 4px solid var(--navy);
    background: rgba(0, 75, 135, .05); font-size: 1.02rem; line-height: 1.75; color: var(--dark); font-weight: 500;
}
.so-subhead { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--dark); margin: 0 0 16px; }
.so-mt { margin-top: 30px; }
.so-mt-sm { margin-top: 18px; }
.so-grid { display: grid; gap: 22px; }
.so-grid-2 { grid-template-columns: repeat(2, 1fr); }
.so-grid-3 { grid-template-columns: repeat(3, 1fr); }
.so-grid-4 { grid-template-columns: repeat(4, 1fr); }
.so-grid-5 { grid-template-columns: repeat(5, 1fr); }
.so-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.so-two-wide { grid-template-columns: 1.25fr 1fr; align-items: center; }
.so-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.so-head-note { max-width: 460px; color: var(--muted); font-size: .92rem; line-height: 1.7; margin: 0 0 34px; }

/* Stats */
.so-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 0 34px; }
.so-stat {
    background: #fff; border: 1px solid var(--border); padding: 30px 16px 26px; position: relative; overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.so-stat::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); }
.so-stat:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(15, 23, 42, .1); }
.so-stat i { font-size: 1.3rem; color: var(--navy); margin-bottom: 14px; display: block; }
.so-stat strong { display: block; font-size: 2.4rem; font-weight: 800; color: var(--dark); line-height: 1; font-variant-numeric: tabular-nums; }
.so-stat span { display: block; margin-top: 12px; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); line-height: 1.5; }
.so-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.so-chips li {
    border: 1px solid rgba(0, 75, 135, .2); background: rgba(0, 75, 135, .05); color: var(--navy);
    padding: 8px 18px; border-radius: 30px; font-size: .86rem; font-weight: 600;
}

/* Cards */
.so-card { background: #fff; border: 1px solid var(--border); padding: 26px 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.so-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15, 23, 42, .08); border-color: rgba(0, 75, 135, .25); }
.so-card > i {
    width: 46px; height: 46px; border-radius: 50%; background: rgba(0, 75, 135, .08); color: var(--navy);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 16px;
}
.so-card h4 { font-size: 1.02rem; font-weight: 700; color: var(--dark); margin: 0 0 10px; line-height: 1.35; }
.so-card p { font-size: .9rem; line-height: 1.7; color: var(--text); margin: 0; }
.so-card-num > b {
    display: inline-block; font-size: 1.7rem; font-weight: 800; line-height: 1; margin-bottom: 14px;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.so-boxed { background: #fff; border: 1px solid var(--border); padding: 26px 28px; }
.so-checks { list-style: none; padding: 0; margin: 0; }
.so-checks li { position: relative; padding: 0 0 12px 32px; color: var(--text); line-height: 1.6; font-size: .94rem; }
.so-checks li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .65rem;
    position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center;
}

/* =========================================================
   TABS
   ========================================================= */
.so-tablist {
    display: flex; gap: 6px; border-bottom: 2px solid var(--border); margin-bottom: 34px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.so-tablist::-webkit-scrollbar { display: none; }
.so-tablist button {
    position: relative; flex-shrink: 0; border: 0; background: none; cursor: pointer;
    padding: 14px 20px; font-size: .92rem; font-weight: 600; color: var(--muted); white-space: nowrap;
    display: inline-flex; align-items: center; gap: 9px; transition: color .2s;
}
.so-tablist button i { font-size: .9rem; }
.so-tablist button:hover { color: var(--dark); }
.so-tablist button.active { color: var(--navy); }
.so-tablist button.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--grad); }
.so-tablist button:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
.so-panel { animation: soFade .45s ease; }
.so-panel[hidden] { display: none; }
.so-panel-title { font-size: 1.35rem; font-weight: 700; color: var(--dark); margin: 0 0 24px; }
@keyframes soFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* =========================================================
   3. DARK IMAGE BAND (location)
   ========================================================= */
.so-band {
    position: relative; padding: 90px 50px; color: #fff; scroll-margin-top: 80px;
    background: #0f172a center / cover no-repeat; background-attachment: fixed;
}
.so-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15, 23, 42, .9) 0%, rgba(0, 45, 90, .72) 100%); }
.so-band > .so-inner { position: relative; z-index: 1; }
.so-band .so-eyebrow { color: #9cc8f0; }
.so-band .so-title { color: #fff; border-image: linear-gradient(to right, #5aa6e8, #c79bf2) 1; }
.so-band .so-tablist { border-bottom-color: rgba(255, 255, 255, .15); }
.so-band .so-tablist button { color: rgba(255, 255, 255, .6); }
.so-band .so-tablist button:hover, .so-band .so-tablist button.active { color: #fff; }
.so-band .so-panel-title { color: #fff; }
.so-glass {
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); padding: 28px 24px;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s, transform .3s;
}
.so-glass:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.so-glass > i { font-size: 1.4rem; color: var(--gold); margin-bottom: 16px; display: block; }
.so-glass h4 { font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; color: #fff; }
.so-glass p { font-size: .9rem; line-height: 1.7; color: rgba(255, 255, 255, .78); margin: 0; }
.so-glass-kpi strong { display: block; font-size: 2.3rem; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.so-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; }
.so-split-img { aspect-ratio: 6 / 5; background: #cbd5e1 center / cover; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.so-dist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.so-dist div { border-top: 2px solid var(--gold); padding-top: 12px; }
.so-dist strong { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1; }
.so-dist span { display: block; margin-top: 8px; font-size: .8rem; color: rgba(255, 255, 255, .75); line-height: 1.5; }
.so-points { list-style: none; padding: 0; margin: 0; }
.so-points li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.so-points i { color: var(--gold); width: 18px; text-align: center; margin-top: 4px; flex-shrink: 0; }
.so-points p { margin: 0; color: rgba(255, 255, 255, .82); line-height: 1.65; font-size: .92rem; }
.so-share { margin-top: 26px; }
.so-share h4 { font-size: .9rem; font-weight: 700; margin: 0 0 12px; color: #fff; }
.so-share-bar { display: flex; gap: 2px; height: 42px; }
.so-share-bar span { display: flex; align-items: center; padding: 0 14px; font-size: .86rem; font-weight: 600; white-space: nowrap; overflow: hidden; }
.so-share-a { background: var(--gold); color: #1e293b; border-radius: 4px 0 0 4px; }
.so-share-b { background: rgba(255, 255, 255, .18); color: #fff; border-radius: 0 4px 4px 0; }
.so-share small { display: block; margin-top: 10px; color: rgba(255, 255, 255, .6); }
.so-band-note { margin: 22px 0 0; padding: 16px 20px; background: rgba(255, 255, 255, .08); border-left: 3px solid var(--gold); color: rgba(255, 255, 255, .88); line-height: 1.65; font-size: .95rem; }
.so-band-note i { color: var(--gold); margin-right: 6px; }

/* =========================================================
   4. PLANTS SLIDER
   ========================================================= */
.so-slider { position: relative; background: #fff; border: 1px solid var(--border); box-shadow: 0 6px 30px rgba(15, 23, 42, .07); height: 500px; overflow: hidden; }
.so-slide { position: absolute; inset: 0; display: flex; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.so-slide.active { opacity: 1; visibility: visible; }
.so-slide-img { flex: 0 0 60%; background: #cbd5e1 center / cover; transform: scale(1.04); transition: transform 6s ease; }
.so-slide.active .so-slide-img { transform: scale(1); }
.so-slide-body { flex: 1; border-left: 2px solid var(--dark); padding: 46px 44px 90px; display: flex; flex-direction: column; justify-content: center; background: #fff; position: relative; z-index: 1; }
.so-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--navy); background: rgba(0, 75, 135, .08); padding: 6px 12px; margin-bottom: 18px; }
.so-slide-body h3 { font-size: 1.85rem; font-weight: 700; color: var(--dark); margin: 0 0 8px; }
.so-capacity { font-size: 1rem; font-weight: 600; color: var(--muted); margin: 0 0 18px; }
.so-capacity b { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.so-slide-body p { font-size: 1rem; line-height: 1.8; color: var(--text); margin: 0; }
.so-slide-body .so-capacity { margin-bottom: 18px; }
.so-controls { position: absolute; right: 40px; bottom: 30px; z-index: 5; display: flex; align-items: center; gap: 14px; }
.so-ctrl { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--dark); background: #fff; color: var(--dark); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; }
.so-ctrl:hover { background: var(--dark); color: #fff; }
.so-dots { display: flex; gap: 8px; }
.so-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #cbd5e1; cursor: pointer; transition: .3s; }
.so-dot.active { width: 26px; border-radius: 6px; background: var(--grad); }

/* =========================================================
   5. OPERATIONS
   ========================================================= */
.so-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.so-flow::before { content: ''; position: absolute; left: 10%; right: 10%; top: 36px; height: 2px; background: repeating-linear-gradient(to right, #cbd5e1 0 8px, transparent 8px 14px); }
.so-flow-step { position: relative; text-align: center; padding: 0 6px; }
.so-flow-icon {
    position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px;
    background: #fff; border: 2px solid var(--navy); color: var(--navy); font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center; transition: .3s;
}
.so-flow-step:hover .so-flow-icon { background: var(--navy); color: #fff; transform: scale(1.06); }
.so-flow-step > b { display: block; font-size: .75rem; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 4px; }
.so-flow-step h4 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 0 0 8px; }
.so-flow-step p { font-size: .88rem; line-height: 1.65; color: var(--text); margin: 0; }
.so-phases { display: grid; gap: 14px; }
.so-phase { background: #fff; border: 1px solid var(--border); padding: 18px 20px; }
.so-phase > div:first-child { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.so-phase small { font-size: .72rem; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--navy); }
.so-phase strong { font-size: 1.3rem; font-weight: 800; color: var(--dark); }
.so-phase-bar { height: 7px; background: #eef2f6; margin: 12px 0; border-radius: 4px; overflow: hidden; position: relative; }
.so-phase-bar i { position: absolute; inset: 0 auto 0 0; background: var(--grad); border-radius: 4px; }
.so-phase p { color: var(--text); line-height: 1.6; margin: 0; font-size: .88rem; }
.so-pack { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: #fff; border: 1px solid var(--border); }
.so-pack-item { padding: 26px 20px; border-right: 1px solid var(--border); transition: background .25s; }
.so-pack-item:last-child { border-right: 0; }
.so-pack-item:hover { background: rgba(0, 75, 135, .04); }
.so-pack-item i { font-size: 1.6rem; color: var(--navy); margin-bottom: 14px; display: block; }
.so-pack-item h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 0 0 8px; }
.so-pack-item p { font-size: .88rem; line-height: 1.6; color: var(--text); margin: 0; }
.so-feature-dark { background: var(--dark); color: #fff; padding: 28px 30px; height: 100%; }
.so-feature-dark i { font-size: 1.6rem; color: var(--gold); margin-bottom: 14px; display: block; }
.so-feature-dark h4 { font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; }
.so-feature-dark p { margin: 0; line-height: 1.7; color: rgba(255, 255, 255, .82); font-size: .94rem; }
.so-codes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.so-codes div { background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--navy); padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.so-codes span { font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.so-codes b { font-size: 1.02rem; color: var(--dark); line-height: 1.35; }
.so-codes em { font-style: normal; font-size: .84rem; color: var(--text); line-height: 1.5; }

/* =========================================================
   6. QUOTE BAND (parallax)
   ========================================================= */
.so-quote { position: relative; padding: 110px 50px; background: #111 center / cover no-repeat; background-attachment: fixed; text-align: center; }
.so-quote::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(15, 23, 42, .85), rgba(15, 23, 42, .6)); }
.so-quote-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; color: #fff; }
.so-quote-inner i { font-size: 2rem; color: var(--gold); margin-bottom: 18px; }
.so-quote-inner p { font-size: 1.6rem; font-weight: 300; line-height: 1.6; margin: 0; }
.so-quote-inner b { font-weight: 700; }

/* =========================================================
   7. GROWTH
   ========================================================= */
.so-gantt { background: #fff; border: 1px solid var(--border); padding: 20px 28px 22px; }
.so-gantt-row { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: center; padding: 9px 0; border-bottom: 1px solid #f1f5f9; }
.so-gantt-row:last-child { border-bottom: 0; }
.so-gantt-row > span { font-size: .9rem; font-weight: 600; color: var(--dark); display: flex; align-items: baseline; gap: 10px; }
.so-gantt-row > span em { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--dark); color: #fff; font-size: .75rem; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; align-self: center; }
.so-gantt-row > span small { margin-left: auto; color: var(--muted); font-weight: 500; white-space: nowrap; }
.so-gantt-track { position: relative; height: 26px; display: grid; grid-template-columns: repeat(11, 1fr); background-image: linear-gradient(to right, #eef2f6 1px, transparent 1px); background-size: calc(100% / 11) 100%; }
.so-gantt-head .so-gantt-track { background: none; height: auto; }
.so-gantt-head b { font-size: .75rem; color: var(--muted); text-align: center; font-weight: 600; }
.so-gantt-track i { position: absolute; top: 4px; bottom: 4px; border-radius: 4px; background: var(--grad); left: calc((var(--s) - 1) / 11 * 100%); width: calc((var(--e) - var(--s) + 1) / 11 * 100% - 2px); }
.so-gantt-flag { position: absolute; right: calc(2 / 11 * 100% + 10px); top: 50%; transform: translateY(-50%); font-size: .72rem; font-weight: 700; color: var(--navy); white-space: nowrap; text-transform: uppercase; letter-spacing: .5px; }
.so-gantt-flag::after { content: ' \2192'; }
.so-inline-feature { display: flex; gap: 16px; background: #fff; border: 1px solid var(--border); padding: 20px 22px; }
.so-inline-feature > i { font-size: 1.4rem; color: var(--navy); margin-top: 2px; }
.so-inline-feature h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin: 0 0 6px; }
.so-inline-feature p { font-size: .9rem; line-height: 1.65; color: var(--text); margin: 0; }

.so-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 20px; }
.so-kpi-row div { background: var(--dark); color: #fff; padding: 20px 22px; }
.so-kpi-row strong { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1; color: var(--gold); }
.so-kpi-row span { display: block; margin-top: 8px; font-size: .84rem; color: rgba(255, 255, 255, .78); }
.so-chart-card { position: relative; background: #fff; border: 1px solid var(--border); padding: 24px 26px 20px; }
.so-chart-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.so-chart-head h4 { font-size: .98rem; font-weight: 700; color: var(--dark); margin: 0; }
.so-view-toggle { display: inline-flex; border: 1px solid var(--border); }
.so-view-toggle button { border: 0; background: #fff; padding: 7px 16px; font-size: .84rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.so-view-toggle button.active { background: var(--dark); color: #fff; }
.so-legend { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.so-legend li { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text); }
.so-legend i { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.so-chart { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.so-chart svg { width: 100%; min-width: 640px; height: auto; display: block; }
.so-chart .grid line { stroke: #e9eef3; stroke-width: 1; }
.so-chart .grid text, .so-chart .xlab { fill: var(--muted); font-size: 12px; }
.so-chart .total { fill: var(--dark); font-size: 12px; font-weight: 700; }
.so-chart .col rect, .so-chart .col path { transition: opacity .15s; }
.so-chart .col.dim rect, .so-chart .col.dim path { opacity: .35; }
.so-chart .hit { fill: transparent; cursor: pointer; }
.so-tooltip { position: absolute; z-index: 10; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 14px; font-size: .8rem; line-height: 1.55; min-width: 230px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.so-tooltip b { display: block; font-size: .88rem; margin-bottom: 6px; }
.so-tooltip div { display: flex; align-items: center; gap: 8px; }
.so-tooltip i { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.so-tooltip span { margin-left: auto; padding-left: 14px; font-variant-numeric: tabular-nums; }
.so-tooltip .tt-total { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 6px; padding-top: 6px; font-weight: 700; }
.so-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.so-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.so-table th, .so-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.so-table th:first-child, .so-table td:first-child { text-align: left; white-space: normal; min-width: 220px; }
.so-table thead th { background: var(--dark); color: #fff; font-weight: 600; }
.so-table tfoot td { font-weight: 800; color: var(--dark); background: var(--light); }
.so-table td i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; }

.so-roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--ink); color: #fff; }
.so-road-card { padding: 34px 30px; border-right: 1px solid rgba(255, 255, 255, .1); position: relative; }
.so-road-card:last-child { border-right: 0; }
.so-road-card strong { display: block; font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: 14px; background: linear-gradient(to right, #f0c674, #d9a441); -webkit-background-clip: text; background-clip: text; color: transparent; }
.so-road-card h4 { font-size: 1.02rem; font-weight: 700; margin: 0 0 8px; }
.so-road-card p { font-size: .9rem; line-height: 1.7; color: rgba(255, 255, 255, .75); margin: 0; }

.so-capfig { margin: 0; background: #fff; border: 1px solid var(--border); padding: 22px 22px 16px; }
.so-capfig svg { width: 100%; height: auto; display: block; }
.cf-axis { stroke: #cbd5e1; stroke-width: 1; }
.cf-area { fill: rgba(31, 95, 168, .12); }
.cf-step { fill: none; stroke: #1f5fa8; stroke-width: 2; }
.cf-demand { fill: none; stroke: var(--dark); stroke-width: 2.5; stroke-linecap: round; }
.cf-lbl { font-size: 10.5px; font-weight: 600; fill: #1f5fa8; }
.cf-tick { font-size: 11px; fill: var(--muted); }
.so-capfig figcaption { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: .8rem; color: var(--text); }
.so-capfig figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.cf-key { display: inline-block; width: 16px; }
.cf-key-area { height: 12px; background: rgba(31, 95, 168, .18); border-top: 2px solid #1f5fa8; }
.cf-key-line { height: 2.5px; background: var(--dark); }

/* =========================================================
   8. PARTNERSHIP
   ========================================================= */
.so-why { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.so-why div { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--border); padding: 18px 20px; }
.so-why i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: rgba(0, 75, 135, .08); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.so-why p { margin: 0; font-size: .92rem; line-height: 1.65; color: var(--text); }
.so-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: n; }
.so-next div { position: relative; padding: 30px 30px 30px 0; margin-right: 30px; border-top: 3px solid var(--border); }
.so-next div::before { content: ''; position: absolute; left: 0; top: -3px; width: 60px; height: 3px; background: var(--grad); }
.so-next b { display: block; font-size: 3rem; font-weight: 800; line-height: 1; color: rgba(0, 75, 135, .15); margin-bottom: 8px; }
.so-next h4 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 0 0 8px; }
.so-next p { font-size: .92rem; line-height: 1.7; color: var(--text); margin: 0; }

/* =========================================================
   9. PROMOTERS (PDF layout)
   ========================================================= */
.so-person-name { font-size: 1.9rem; font-weight: 600; color: var(--dark); margin: 0 0 6px; letter-spacing: -.3px; }
.so-person-role { font-size: 1rem; color: var(--text); margin: 0 0 28px; }
.so-cap { font-size: .72rem !important; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted) !important; margin: 0 0 6px !important; }

.so-ameya { display: grid; grid-template-columns: 320px 1fr; background: #fff; border: 1px solid var(--border); box-shadow: 0 10px 40px rgba(15, 23, 42, .06); margin-bottom: 80px; }
.so-ameya-photo { background: linear-gradient(160deg, #e8eef5 0%, #c9d6e5 100%); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.so-ameya-photo img { width: 100%; max-width: 320px; height: auto; display: block; }
.so-ameya-body { padding: 40px 44px; }
.so-pdf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.so-pdf-grid > div { padding: 0 0 26px; }
.so-pdf-grid > div:nth-child(odd) { padding-right: 0; border-right: 1px solid var(--border); padding-right: 40px; }
.so-pdf-grid h3 { font-size: 1.4rem; font-weight: 400; color: var(--dark); margin: 0 0 14px; }
.so-pdf-grid h3.so-h-sm { font-size: 1.02rem; font-weight: 600; margin-bottom: 10px; }
.so-pdf-grid p { font-size: .94rem; line-height: 1.7; color: var(--text); margin: 0 0 16px; }
.so-pdf-grid p:last-child { margin-bottom: 0; }

.so-promoters-head { max-width: 980px; }
.so-promoters-head .so-title { font-weight: 600; }
.so-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 10px; }
.so-duo-card { padding: 0 44px 0 0; }
.so-duo-card + .so-duo-card { padding: 0 0 0 44px; border-left: 1px solid var(--border); }
.so-duo-photo { aspect-ratio: 16 / 9; background: #1e293b center 18% / cover no-repeat; margin-bottom: 24px; border-radius: 6px; }
.so-duo-card .so-person-name { font-size: 1.6rem; font-weight: 400; margin-bottom: 8px; }
.so-duo-card .so-cap { margin-bottom: 16px !important; }
.so-duo-card p { font-size: .95rem; line-height: 1.75; color: var(--text); margin: 0 0 14px; }

/* =========================================================
   10. CONTACT BAND
   ========================================================= */
.so-cta { background: var(--grad); padding: 46px 50px; }
.so-cta-inner { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 26px; color: #fff; }
.so-cta-inner img { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); flex-shrink: 0; }
.so-cta-inner h2 { font-size: 1.7rem; font-weight: 700; margin: 0 0 6px; }
.so-cta-inner p { margin: 0; opacity: .85; }
.so-cta-btn { margin-left: auto; flex-shrink: 0; background: #fff; color: var(--navy); font-weight: 700; padding: 14px 28px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: .2s; }
.so-cta-btn:hover { background: var(--ink); color: #fff; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
    .so-grid-5, .so-codes { grid-template-columns: repeat(3, 1fr); }
    .so-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .so-gantt-row { grid-template-columns: 290px 1fr; }
    .so-two-wide { grid-template-columns: 1fr; }
    .so-pack { grid-template-columns: repeat(3, 1fr); }
    .so-pack-item { border-bottom: 1px solid var(--border); }
}

@media (max-width: 992px) {
    .so-hero-title { font-size: 2.4rem; letter-spacing: 3px; }
    .so-section, .so-band { padding: 64px 20px; scroll-margin-top: 70px; }
    .so-band, .so-quote { background-attachment: scroll; }
    .so-intro { padding: 0 20px 64px; }
    .so-logo-badge { width: 150px; height: 150px; margin-top: -75px; }
    .so-title { font-size: 1.7rem; margin-bottom: 26px; }
    .so-stats { grid-template-columns: repeat(2, 1fr); }
    .so-grid-3 { grid-template-columns: 1fr 1fr; }
    .so-two, .so-split { grid-template-columns: 1fr; gap: 28px; }
    .so-why { grid-template-columns: 1fr; }

    .so-slider { height: auto; }
    .so-slide { position: relative; flex-direction: column; display: none; }
    .so-slide.active { display: flex; }
    .so-slide-img { flex: none; height: 300px; }
    .so-slide-body { border-left: 0; border-top: 2px solid var(--dark); padding: 28px 24px 90px; }
    .so-controls { left: 0; right: 0; justify-content: center; bottom: 26px; }

    .so-flow { grid-template-columns: 1fr; gap: 0; }
    .so-flow::before { left: 35px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: repeating-linear-gradient(to bottom, #cbd5e1 0 8px, transparent 8px 14px); }
    .so-flow-step { text-align: left; padding: 0 0 22px 92px; min-height: 90px; }
    .so-flow-icon { position: absolute; left: 0; top: 0; margin: 0; }

    .so-gantt { padding: 16px; }
    .so-gantt-head { display: none; }
    .so-gantt-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
    .so-gantt-flag { position: static; transform: none; display: block; margin-top: 4px; }
    .so-gantt-flag::after { content: ''; }
    .so-gantt-row:last-child .so-gantt-track { display: block; height: auto; padding-top: 30px; }
    .so-gantt-row:last-child .so-gantt-track i { top: 4px; bottom: auto; height: 18px; }

    .so-roadmap, .so-kpi-row { grid-template-columns: 1fr; }
    .so-road-card { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .so-next { grid-template-columns: 1fr; }
    .so-next div { margin-right: 0; }

    .so-quote { padding: 80px 20px; }
    .so-quote-inner p { font-size: 1.25rem; }

    .so-ameya { grid-template-columns: 240px 1fr; }
    .so-ameya-body { padding: 30px 28px; }
    .so-duo-card { padding-right: 24px; }
    .so-duo-card + .so-duo-card { padding-left: 24px; }

    .so-cta { padding: 40px 20px; }
}

@media (max-width: 700px) {
    .so-grid-2, .so-grid-3, .so-grid-4, .so-grid-5 { grid-template-columns: 1fr; }
    .so-codes, .so-pack { grid-template-columns: 1fr 1fr; }
    .so-dist { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
    .so-dist strong { font-size: 1.4rem; }
    .so-share-b { font-size: 0 !important; }
    .so-tablist button { padding: 12px 14px; font-size: .86rem; }
    .so-ameya { grid-template-columns: 1fr; }
    .so-ameya-photo { padding-top: 24px; }
    .so-ameya-photo img { max-width: 260px; }
    .so-pdf-grid { grid-template-columns: 1fr; }
    .so-pdf-grid > div:nth-child(odd) { border-right: 0; padding-right: 0; }
    .so-duo { grid-template-columns: 1fr; gap: 44px; }
    .so-duo-card, .so-duo-card + .so-duo-card { padding: 0; border-left: 0; }
    .so-cta-inner { flex-direction: column; text-align: center; }
    .so-cta-btn { margin-left: 0; }
}

@media (max-width: 576px) {
    .so-hero-title { font-size: 1.6rem; letter-spacing: 2px; }
    .so-hero-tagline { font-size: 1rem; }
    .so-title { font-size: 1.4rem; }
    .so-stat strong { font-size: 1.8rem; }
    .so-slide-img { height: 230px; }
    .so-slide-body h3 { font-size: 1.4rem; }
    .so-codes, .so-pack { grid-template-columns: 1fr; }
    .so-pack-item { border-right: 0; }
    .so-person-name { font-size: 1.5rem; }
    .so-ameya-body { padding: 24px 20px; }
}

/* =========================================================
   FOOTER MAP
   ========================================================= */
#footer-logo {
    width: 100%;
    max-height: 100%;
}

#india-map-modal-container {
    background-color: #ffffff;
}

.india-map-svg-wrap {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.india-map-svg-wrap svg {
    width: 100%;
    height: auto;
    background-color: #ffffff;
}

.claimed-territory {
    fill: #f1f1f1;
    stroke: #b0b0b0;
    stroke-width: 0.8;
    stroke-dasharray: 3, 2;
}

.state {
    fill: #9e9e9e;
    stroke: #ffffff;
    stroke-width: 0.7;
    transition: fill 0.2s;
    cursor: pointer;
}

.state:hover {
    fill: #6c6c6c;
}

.location-marker {
    fill: #000000;
    stroke: #ffffff;
    stroke-width: 1.5;
    cursor: pointer;
}

.location-marker:hover {
    fill: #d32f2f;
}

#india-tooltip {
    position: absolute;
    background: #212529;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    pointer-events: none;
    display: none;
    z-index: 2000;
    max-width: 220px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#india-tooltip .tt-name {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 2px;
    white-space: nowrap;
}

#india-tooltip .tt-desc {
    font-size: 11px;
    color: #cfd8dc;
    line-height: 1.3;
}

#footer-india-loading,
#modal-india-loading {
    display: none;
    font-size: 12px;
    color: #666;
    text-align: center;
    padding: 10px;
}

#footer-india-map-thumb {
    height: 220px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    position: relative;
}

#footer-india-map-thumb svg {
    max-height: 100%;
}