/* =========================================================
   TATA POWER IAR 2026 — Investors page
   Page-specific styles (loaded after style.css)
   Fully responsive + light/dark aware via style.css tokens
   ========================================================= */

.inv-wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--side); padding-right: var(--side); }

/* section rhythm */
.inv-sec { padding: 64px 0; }
.inv-sec--tight { padding: 40px 0; }

.inv-crumb { font-size: 15px; font-weight: 500; color: var(--muted); margin: 0 0 6px; }
.inv-crumb b { color: var(--text); font-weight: 600; }

.inv-kicker {
  font-size: 18px; font-weight: 600; letter-spacing: .02em;
  color: var(--maroon); text-transform: none; margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.inv-kicker::after { content:""; flex:1; height:1px; background:var(--border); }

html[data-theme=dark] .inv-kicker { color: #e08b6f; }

.inv-h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 500; line-height: 1.08; letter-spacing:-.02em; margin:0 0 18px; }
.inv-h3 { font-size: 20px; font-weight: 600; margin: 0 0 12px; letter-spacing:-.01em; }
.inv-h4 { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.inv-lead { font-size: clamp(17px, 1.5vw, 21px); font-weight: 300; line-height: 1.5; }
.inv-p {     font-size: 16px; line-height: 1.6; color: var(--text); margin: 0 0 14px; }
.inv-muted { color: var(--muted); }

/* ---------- HERO ---------- */
.inv-hero {
  position: relative; min-height: 560px; display: flex; align-items: flex-end;
  border-radius: 4px; overflow: hidden; color: #fff;
}
.inv-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inv-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,20,30,.15) 0%, rgba(10,20,30,.25) 45%, rgba(8,16,24,.88) 100%);
}
.inv-hero__inner { position: relative; z-index: 2; padding: 44px clamp(24px, 4vw, 56px); width: 100%; }
.inv-hero__nav { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.75); margin-bottom: 26px; }
.inv-hero__nav b { color:#fff; font-weight:700; }
.inv-hero h1 {
  font-size: clamp(40px, 6vw, 74px); font-weight: 400; line-height: 1.02;
  letter-spacing: -.03em; margin: 0 0 34px; max-width: 640px; text-wrap: balance;
}
.inv-hero__label { font-size: 15px; font-weight: 600; margin-bottom: 16px; color: rgba(255,255,255,.9); }

.matters {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  border-top: 1px solid rgba(255,255,255,.28); padding-top: 20px; max-width: 900px;
}
.matters__col > span { display:block; font-size: 13px; font-weight:600; color: rgba(255,255,255,.72); margin-bottom: 12px; }
.matters__row { display:flex; align-items:center; gap:10px; margin-bottom: 10px; font-size: 13.5px; line-height:1.25; }
.dot-ico {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color:#fff;
}
.dot-ico.m { background: var(--green); }
.dot-ico.f { background: var(--blue); }
.dot-ico.s { background: var(--orange); }
.sbo-badges, .sdg-badges { display:flex; gap:8px; flex-wrap:wrap; }
.sbo-badge {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,1);
  border: 1px solid rgba(255,255,255,.4); display:grid; place-items:center; font-size:12px; font-weight:700; color: #000;
}
.sdg-badge {
  width: 40px; height: 40px; border-radius: 4px; display:grid; place-items:center;
  font-size: 11px; font-weight: 800; color: #fff; text-align:center; line-height:1;
}

/* ---------- generic two-column split ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.split--stack { align-items: stretch; }

/* ---------- metrics at a glance ---------- */
.metrics-glance { border-top: 1px solid var(--border); padding-top: 22px; margin-top: 6px; }
.mg-cols { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 24px; }
.mg-rule { background: var(--border); }
.mg-head { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.mg-set { display: flex; gap: 22px; flex-wrap: wrap; }
.mg-item .v { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing:-.02em; color: #000; line-height:1.05; }
html[data-theme=dark] .mg-item .v { color:#e69277; }
.mg-item .v small { font-size: 14px; font-weight: 500; color: var(--text); }
.mg-item .d { font-size: 14px; color: #000; margin-top: 4px; max-width: 130px; line-height:1.25; }

/* ---------- engaging cards ---------- */
.engage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; margin-top: 10px; }
.engage-block h4 { font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.45; margin-bottom: 9px; color: var(--text); }
.tick-list li::before { content:""; position:absolute; left:0; top:8px; width:7px; height:7px; border-radius:50%; background: var(--maroon); }
html[data-theme=dark] .tick-list li::before { background:#e08b6f; }

/* ---------- roadmap band ---------- */
.roadmap { border-top: 1px solid var(--border); padding-top: 26px; margin-top: 30px; }

/* ---------- goals / financial trajectory ---------- */
.panel { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 26px clamp(20px,2.6vw,32px);  }

.panel .panel__group {
  display: flex;
  column-gap: 26px;
  row-gap: 18px;margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
  .panel .panel__group {
    flex-direction: column;
  }
}

.panel .panel__group .panel-ico {
  display: flex;
  align-items: center;
  justify-content: center;
 width: 250px;
 background: var(--bg);
}

@media screen and (max-width: 767px) {
.panel .panel__group .panel-ico{
    width: 100%;
  }
}

.panel .panel__group .panel-content {
  width: calc(100% - 330px);
}

html[data-theme=dark] .panel { background: #fff; }
html[data-theme=dark] .donut-legend span {color:#000;}

.fin-traj__head { display:flex; justify-content: space-between; align-items:center; margin-bottom: 18px; flex-wrap:wrap; gap:12px; }
.stage-pill { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:600; }
.stage-pill .dot { width:12px; height:12px; border-radius:50%; }
.stage-pill .dot.now { background: var(--maroon); }
.stage-pill .dot.tgt { background: var(--green); }

.fin-row { display:grid; grid-template-columns: 1.4fr 1fr auto 1fr; align-items:center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); }
.fin-row__label { display:flex; align-items:center; gap:12px; font-size: 14px; font-weight:600; }
.fin-row__label .ic { width: 30px; height:30px; border-radius:6px; background: color-mix(in srgb, var(--maroon) 14%, transparent); display:grid; place-items:center; color: var(--maroon); }
html[data-theme=dark] .fin-row__label .ic { background: rgba(224,139,111,.18); color:#e08b6f; }
.fin-row__now { font-size: clamp(20px,2.2vw,26px); font-weight:700; letter-spacing:-.02em; }
.fin-row__arrow { color: var(--muted); font-size: 20px; }
.fin-row__tgt { font-size: clamp(20px,2.2vw,26px); font-weight:700; letter-spacing:-.02em; color: var(--green); text-align:right; }

/* operational growth grid */
.op-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px 26px; margin-top: 8px; }
.op-cell .v { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing:-.02em; color: #000; line-height:1.05; }
html[data-theme=dark] .op-cell .v { color: var(--skyblue); }
.op-cell .v small { font-size: 13px; font-weight:600; }
.op-cell .d { font-size: 16px; color: var(--muted); margin-top: 6px; line-height:1.35; }

/* pillars */
.pillars { display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 12px; }
.pillar { background: var(--surface-2); border:1px solid var(--border); border-radius: 8px; overflow:hidden; }
html[data-theme=dark] .pillar { background: var(--surface); }
.pillar__top { background: var(--maroon); color:#fff; font-size: 14px; font-weight:700; padding: 14px 16px; line-height:1.2; min-height: 74px; display:flex; align-items:center; }
.pillar:nth-child(2) .pillar__top { background: var(--maroon); }
.pillar:nth-child(3) .pillar__top { background: var(--maroon); }
.pillar:nth-child(4) .pillar__top { background: var(--maroon); }
.pillar__body { padding: 16px; font-size: 16px; line-height:1.45; color: var(--text); }

/* ---------- charts (image) grid ---------- */
.chart-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.chart-card { }
.chart-card h4 { font-size: 15px; font-weight: 700; margin: 0 0 3px; }
.chart-card .sub { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; }
.chart-card__img {
  background: #fdf5e9; border: 1px solid var(--border); border-radius: 8px;
  padding: 14px 16px; display:flex; align-items:center; justify-content:center;
}
.chart-card__img img { width: 100%; height:auto; display:block; }

.notes { font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.notes h5 { font-size: 13px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.notes p { margin: 0 0 7px; }
.notes .star { margin-top: 10px; }

/* ---------- data tables ---------- */
.data-table { width:100%; border-collapse: collapse; font-size: 13px; }
.data-table caption { text-align:left; font-size:20px; font-weight:600; margin-bottom: 14px; color: var(--text); letter-spacing:-.01em; }
.data-table th, .data-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table thead th { font-weight: 700; color: var(--text); border-bottom: 2px solid var(--maroon); }
.data-table thead th:not(:first-child), .data-table td:not(:first-child) { text-align: right; }
.data-table tbody th { font-weight: 500; color: var(--text); }
.data-table tbody tr:hover { background: color-mix(in srgb, var(--maroon) 5%, transparent); }
.data-table td .pos { color: var(--maroon); font-weight:700; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- capex callout ---------- */
.capex {
  display:grid; grid-template-columns: 1.15fr .85fr; gap: 0; border-radius: 10px; overflow:hidden;
  background: var(--surface-2); border:1px solid var(--border);
}
html[data-theme=dark] .capex { background: var(--surface); }
.capex__text { padding: 30px clamp(22px,2.6vw,36px); }
.capex__tag { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:700; color: var(--maroon); margin-bottom: 16px; }
.capex__tag .box { width:50px; height:50px; border-radius:6px; display:grid; place-items:center; }
.capex h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight:500; color: var(--maroon); letter-spacing:-.02em; line-height:1.1; margin: 0 0 16px; }
html[data-theme=dark] .capex h3, html[data-theme=dark] .capex__tag { color:#e69277; }
.capex img { width:100%; height:100%; object-fit: cover; min-height: 220px; }

/* ---------- portfolio transition ---------- */
.donut-pair { display:grid; grid-template-columns: 1fr 1px 1fr; gap: 24px; align-items:start; }
.donut-cell { text-align:center; }
.donut-cell h4 { font-size: 17px; font-weight:600; color: var(--black); margin: 0 0 2px; }
/* html[data-theme=dark] .donut-cell h4 { color: #000; } */
.donut-cell .sub { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.donut-cell img { width: 78%; max-width: 260px; height:auto; }
.donut-legend { display:flex; flex-wrap:wrap; gap: 10px 18px; justify-content:center; margin-top: 18px; font-size: 12.5px; }
.donut-legend span { display:inline-flex; align-items:center; gap:7px; }
.donut-legend i { width:11px; height:11px; border-radius:50%; display:inline-block; }

/* ---------- benchmark charts ---------- */
.bench-card__img { background:#fff; border:1px solid var(--border); border-radius:8px; padding: 12px; }
.bench-card__img img { width:100%; height:auto; display:block; }

/* ---------- initiative cards (rounded coloured) ---------- */
.init-card { border-radius: 22px; overflow:hidden; margin-bottom: 26px; }
.init-card__head {
  display:flex; align-items:center; gap:16px; padding: 16px 26px; color:#fff;
  font-size: clamp(18px,2vw,22px); font-weight:600;
}
.init-card__head .ic { flex:0 0 auto; width:54px; height:54px; border-radius:50%; display:grid; place-items:center; }
.init-card__head .ic svg { width:26px; height:26px; }
.init-card__body { padding: 22px 26px; }

.init-card.purple .init-card__head { background: var(--purple); }
.init-card.navy   .init-card__head { background: var(--navy); }
.init-card.orange .init-card__head { background: var(--orange2); }
.init-card.maroon .init-card__head { background: var(--maroon); }
.init-card.teal   .init-card__head { background: var(--teal); }

.init-card.purple, .init-card.navy { background: color-mix(in srgb, var(--purple) 8%, var(--surface)); border:1px solid var(--border); }
.init-card.navy { background: color-mix(in srgb, var(--navy) 8%, var(--surface)); }
.init-card.orange { background: color-mix(in srgb, var(--orange) 10%, var(--surface)); border:1px solid var(--border); }
.init-card.maroon { background: color-mix(in srgb, var(--maroon) 8%, var(--surface)); border:1px solid var(--border); }
.init-card.teal   { background: color-mix(in srgb, var(--teal) 8%, var(--surface)); border:1px solid var(--border); }

/* stepped list inside init cards */
.step-list { list-style:none; margin:0; padding:0; }
.step-list > li { background: var(--surface); border:1px solid var(--border); border-radius: 40px; padding: 14px 22px; margin-bottom: 12px; font-size: 14px; line-height:1.45; display:flex; gap:14px; align-items:flex-start; }
.step-list > li .num { flex:0 0 auto; width: 16px; height:16px; border-radius:50%; margin-top:3px; background: var(--purple); }
.init-card.orange .step-list > li .num { background: var(--orange2); }
.init-card.navy .step-list > li .num { background: var(--blue); }

/* tech assistance rows */
.tech-row { display:flex; gap:18px; align-items:flex-start; background: var(--surface); border:1px solid var(--border); border-radius:16px; padding: 18px 22px; margin-bottom: 14px; }
.tech-row .tr-body { flex:1; }
.tech-row h4 { font-size: 16px; font-weight:700; margin:0 0 6px; color: var(--blue); }
html[data-theme=dark] .tech-row h4 { color: var(--skyblue); }
.tech-row p { font-size: 13.5px; line-height:1.5; margin:0; color: var(--text); }
.tech-row a { color: var(--blue); word-break: break-all; }
html[data-theme=dark] .tech-row a { color: var(--skyblue); }
.tech-row .tr-ic { flex:0 0 auto; width:44px; height:44px; border-radius:10px; background: color-mix(in srgb, var(--blue) 14%, transparent); display:grid; place-items:center; color: var(--blue); }
html[data-theme=dark] .tech-row .tr-ic { color: var(--skyblue); }

/* duplicate certificate mini flow */
.cert-flow { margin: 18px 0 6px; }
.cert-flow__title { text-align:center; background: var(--maroon); color:#fff; font-size:13px; font-weight:700; padding: 8px 18px; border-radius: 40px; width:max-content; margin: 0 auto 18px; }
.cert-cols { display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert-col { border:1px solid var(--orange); border-radius: 12px; padding: 18px 16px; text-align:center; background: color-mix(in srgb, var(--orange) 8%, var(--surface)); }
.cert-col .cv { font-size: 14px; font-weight:700; color: var(--orange2); margin-bottom: 8px; }
.cert-col .cd { font-size: 12.5px; line-height:1.4; color: var(--text); }

/* contact block */
.contact-card { background: color-mix(in srgb, var(--green) 10%, var(--surface)); border:1px solid var(--border); border-radius: 22px; overflow:hidden; }
.contact-card__head { display:flex; align-items:center; gap:16px; padding: 16px 26px; background: var(--green); color:#fff; font-size: clamp(17px,1.9vw,21px); font-weight:600; }
.contact-card__head .ic { width:54px; height:54px; border-radius:50%;  display:grid; place-items:center; }
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 26px; padding: 24px 26px; }
.contact-grid h4 { font-size: 16px; font-weight:700; margin:0 0 10px; }
.contact-grid p { font-size: 13.5px; line-height:1.6; margin:0; }
.contact-grid a { color: var(--green); word-break: break-word; }

/* info at glance table (teal) */
.info-card { border-radius: 22px; overflow:hidden; background: color-mix(in srgb, var(--teal) 7%, var(--surface)); border:1px solid var(--border); }
.info-card__head { display:flex; align-items:center; gap:16px; padding: 16px 26px; background: var(--teal); color:#fff; font-size: clamp(18px,2vw,22px); font-weight:600; }
.info-card__head .ic { width:54px; height:54px; border-radius:50%; background: rgba(255,255,255,.2); display:grid; place-items:center; }
.info-table { width:100%; border-collapse: collapse; font-size: 13.5px; }
.info-table th, .info-table td { padding: 12px 26px; text-align:left; border-bottom: 1px solid var(--border); vertical-align: top; }
.info-table thead th { font-weight:700; background: color-mix(in srgb, var(--teal) 14%, transparent); }
.info-table tbody th { font-weight:500; width: 46%; color: var(--text); }
.info-table td { color: var(--text); }
.info-table a { color: var(--teal); word-break: break-word; }
html[data-theme=dark] .info-table a { color: #6fd3c4; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .mg-cols { grid-template-columns: 1fr; }
  .mg-rule { display:none; }
  .engage-grid { grid-template-columns: 1fr; }
  .op-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .chart-grid { grid-template-columns: 1fr; }
  .capex { grid-template-columns: 1fr; }
  .capex img { min-height: 200px; }
  .donut-pair { grid-template-columns: 1fr; }
  .donut-pair .mg-rule, .donut-pair > .mg-rule { display:none; }
  .cert-cols { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .matters { grid-template-columns: 1fr 1fr; }
  .inv-hero { min-height: 480px; }
}
@media (max-width: 560px) {
  .fin-row { grid-template-columns: 1fr; text-align:left; gap:6px; }
  .fin-row__tgt { text-align:left; }
  .fin-row__arrow { display:none; }
  .op-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .matters { grid-template-columns: 1fr; }
  .mg-set { gap: 16px; }
  .inv-sec { padding: 44px 0; }
}


.inv-sec .data-table thead tr th:last-child{color: var(--maroon); font-weight:700;}
.inv-sec .data-table tbody tr td:last-child{color: var(--maroon); font-weight:700;}