/* ENEXAN visual layer (on top of the BootstrapMade theme). */
:root {
  --nx-navy: #06142b;
  --nx-blue: #0b2d5b;
  --nx-teal: #07d5c0;
  --nx-sun: #f5b400;
  /* Brand gradient. Summer (default): warm sunrise like the logo. Winter: sun -> teal (header.js sets data-season). */
  --nx-g1: #ffc83d;
  --nx-g2: #ff7a1a;
  --nx-glow: rgba(255,122,26,.30);
  --nx-ink: #0b1f3a;
}
:root[data-season="winter"] { --nx-g1: var(--nx-sun); --nx-g2: var(--nx-teal); --nx-glow: rgba(7,213,192,.28); }

/* Header: solid, crisp */
.header { background: rgba(255,255,255,.96); box-shadow: 0 2px 18px rgba(6,20,43,.08); padding: 14px 0; }
.navbar .nx-lang { margin-left: 24px; padding: 4px 12px !important; border: 1px solid #c9d3e3; border-radius: 20px; font-size: 13px; }
.navbar .nx-lang:hover { border-color: var(--nx-teal); }

/* Dark energy hero */
.hero, .hero-index {
  position: relative;
  height: auto; min-height: 88vh; padding: 140px 0 90px;
  background: radial-gradient(1200px 600px at 85% 20%, rgba(7,213,192,.18), transparent 60%),
              radial-gradient(900px 500px at 10% 90%, rgba(245,180,0,.14), transparent 60%),
              linear-gradient(135deg, var(--nx-navy) 0%, var(--nx-blue) 100%);
  overflow: hidden;
}
.hero-index {
  background: linear-gradient(100deg, rgba(6,20,43,.95) 0%, rgba(6,20,43,.86) 50%, rgba(8,30,62,.78) 100%),
              url(../img/hero-index-bg.avif) center / cover no-repeat;
}
.hero::before, .hero-index::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero .container, .hero-index .container { position: relative; z-index: 1; }
.hero h1, .hero-index h1 { color: #fff; font-size: 52px; line-height: 1.12; letter-spacing: -.5px; }
.hero h2, .hero-index h2 { color: #c8d4e6 !important; font-size: 21px; line-height: 1.55; }
.nx-accent {
  background: linear-gradient(90deg, var(--nx-g1), var(--nx-g2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .hero-img img, .hero-index img {
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
}
.hero-index .btn-get-started, .hero .btn-get-started { background: linear-gradient(90deg, var(--nx-g1), var(--nx-g2)); color: #06142b; box-shadow: 0 10px 30px var(--nx-glow); }
.hero-index .btn-get-contact, .hero .btn-get-contact { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.hero-index .btn-get-contact:hover, .hero .btn-get-contact:hover { border-color: var(--nx-teal); color: var(--nx-teal); }

/* Numbers band */
.nx-stats { background: var(--nx-navy); color: #fff; padding: 44px 0; border-top: 1px solid rgba(255,255,255,.08); }
.nx-stat { text-align: center; padding: 8px 12px; }
.nx-stat .num { font-family: "Nunito", sans-serif; font-weight: 800; font-size: 38px; line-height: 1.1;
  background: linear-gradient(90deg, var(--nx-g1), var(--nx-g2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nx-stat .lbl { color: #9fb1cc; font-size: 14px; margin-top: 6px; }

/* Section headers */
.section-header p { color: var(--nx-ink); font-weight: 800; }
.section-header p::after { content: ""; display: block; width: 64px; height: 4px; margin: 14px auto 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--nx-g1), var(--nx-g2)); }
.section-header p + p::after { display: none; }

/* Cards: lift and glow */
.services .service-box { border-radius: 14px; transition: transform .25s, box-shadow .25s; }
.services .service-box:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(6,20,43,.12); }
.pricing .box { border-radius: 14px; transition: transform .25s, box-shadow .25s; }
.pricing .box:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(6,20,43,.14); }
.pricing .box img { border-radius: 10px; }

/* Numbered steps (How we work) */
.nx-steps .service-box { position: relative; text-align: left; padding: 48px 30px 36px; }
.nx-steps .nx-ico { margin-bottom: 18px; }
.nx-steps { counter-reset: step; }
.nx-steps .service-box::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 18px; right: 24px; font-family: "Nunito", sans-serif; font-size: 54px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--nx-g1), var(--nx-g2)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .35;
}
.nx-steps .service-box h3 { margin-top: 0; }

/* Callout panel */
.about .content { border-radius: 14px; }
.nx-dark { background: linear-gradient(135deg, var(--nx-navy), var(--nx-blue)); }
.nx-dark .content { background: transparent !important; }
.nx-dark .content h2 { color: #fff; }
.nx-dark .content p { color: #c8d4e6; }

@media (max-width: 991px) {
  .hero, .hero-index { padding: 120px 0 60px; min-height: 0; }
  .hero h1, .hero-index h1 { font-size: 34px; }
  .hero h2, .hero-index h2 { font-size: 17px; }
  .hero .hero-img { margin-top: 36px; }
  .nx-stat .num { font-size: 30px; }
}

/* Case studies with facts */
.nx-cases { padding: 70px 0; background: #f6f7f4; }
.nx-case { background: #fff; border-radius: 16px; padding: 36px; box-shadow: 0 10px 30px rgba(6,20,43,.06); height: 100%; }
.nx-case .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; background: #e6fbf8; color: #067a6e; }
.nx-case .tag.warn { background: #fff4dc; color: #a26f00; }
.nx-case h3 { font-family: "Nunito", sans-serif; font-weight: 800; color: var(--nx-ink); margin: 14px 0 8px; font-size: 24px; }
.nx-case p { color: #4b5a70; }
.nx-kpis { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.nx-kpi { flex: 1 1 120px; background: var(--nx-navy); color: #fff; border-radius: 12px; padding: 14px 16px; }
.nx-kpi b { display: block; font-family: "Nunito", sans-serif; font-size: 26px; line-height: 1.1; color: var(--nx-teal); }
.nx-kpi span { font-size: 13px; color: #9fb1cc; }
.nx-bars { margin: 18px 0 6px; }
.nx-bar { display: grid; grid-template-columns: 210px 1fr 90px; gap: 10px; align-items: center; margin: 8px 0; font-size: 14px; color: #33435a; }
.nx-bar .track { background: #eff1ec; border-radius: 6px; height: 22px; overflow: hidden; }
.nx-bar .fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #067a6e, var(--nx-teal)); }
.nx-bar .fill.sun { background: linear-gradient(90deg, var(--nx-sun), #f08a00); }
.nx-bar .fill.grey { background: #b8c2d0; }
.nx-bar .fill.neg { background: #e4574c; }
.nx-bar .val { text-align: right; font-weight: 700; color: var(--nx-ink); }
.nx-table { width: 100%; font-size: 14px; margin-top: 12px; border-collapse: collapse; }
.nx-table th, .nx-table td { padding: 8px 6px; border-bottom: 1px solid #e7eae3; text-align: right; }
.nx-table th:first-child, .nx-table td:first-child { text-align: left; color: #4b5a70; }
.nx-table .hl { background: #e6fbf8; font-weight: 700; }
.nx-note { font-size: 12.5px; color: #7a879a; margin-top: 14px; }
@media (max-width: 575px) { .nx-bar { grid-template-columns: 1fr 70px; } .nx-bar .track { grid-column: 1 / -1; grid-row: 2; } }

/* Custom icons */
.nx-ico { display: inline-flex; width: 76px; height: 76px; border-radius: 20px; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 20%, #15386a, #06142b 75%);
  box-shadow: 0 12px 26px rgba(7,213,192,.16), inset 0 0 0 1px rgba(255,255,255,.07); margin-bottom: 24px; transition: transform .3s; }
.nx-ico svg { width: 42px; height: 42px; fill: none; stroke: url(#nxg); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-box:hover .nx-ico { transform: rotate(-6deg) scale(1.06); }

/* Warning variant (traps): coral to sun on navy-wine */
.nx-ico.nx-warn { background: radial-gradient(circle at 30% 20%, #5a1a33, #06142b 78%); box-shadow: 0 12px 26px rgba(228,87,76,.22), inset 0 0 0 1px rgba(255,255,255,.07); }
.nx-ico.nx-warn svg { stroke: url(#nxr); }
.nx-steps .service-box.nx-trap { background: linear-gradient(180deg, #fff1ef 0%, #fff 65%); }
.nx-steps .service-box.nx-trap::before { background: linear-gradient(135deg, #e4574c, var(--nx-sun)); -webkit-background-clip: text; background-clip: text; opacity: .45; }
.nx-steps .service-box.nx-trap h3 { color: #b42a33; }

/* Opportunity variant (cheap upside): blue to teal */
.nx-ico.nx-up { background: radial-gradient(circle at 30% 20%, #0d5a5a, #06142b 78%); box-shadow: 0 12px 26px rgba(7,213,192,.25), inset 0 0 0 1px rgba(255,255,255,.08); }
.nx-ico.nx-up svg { stroke: url(#nxb); }
.nx-steps .service-box.nx-upside { background: linear-gradient(180deg, #e9f8f5 0%, #fff 65%); }
.nx-steps .service-box.nx-upside::before { background: linear-gradient(135deg, var(--nx-teal), #067a6e); -webkit-background-clip: text; background-clip: text; opacity: .5; }
.nx-steps .service-box.nx-upside h3 { color: #067a6e; }
.nx-steps .service-box.nx-upside { border-bottom-color: var(--nx-teal); }
.nx-steps .service-box.nx-upside:hover { background: linear-gradient(135deg, #067a6e, #0aa596); }
.nx-steps .service-box.nx-upside:hover h3, .nx-steps .service-box.nx-trap:hover h3 { color: #fff; }

/* Hero illustration */
.nx-hero-art { max-width: 700px; margin-left: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.nx-hero-art svg { width: 100%; height: auto; display: block; }
.nx-flow { fill: none; stroke: url(#nxFlow); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 12; animation: nxdash 1.1s linear infinite; }
.nx-flow.nx-slow { animation-duration: 2.2s; }
@keyframes nxdash { to { stroke-dashoffset: -28; } }
.nx-cell { fill: #07d5c0; opacity: .25; animation: nxcharge 4s ease-in-out infinite; }
.nx-cell.c1 { animation-delay: 0s; } .nx-cell.c2 { animation-delay: .6s; } .nx-cell.c3 { animation-delay: 1.2s; } .nx-cell.c4 { animation-delay: 1.8s; }
@keyframes nxcharge { 0%, 15% { opacity: .2; } 45%, 85% { opacity: 1; } 100% { opacity: .2; } }
.nx-pulse { transform-origin: 92px 78px; animation: nxpulse 3s ease-in-out infinite; }
@keyframes nxpulse { 50% { transform: scale(1.15); opacity: .8; } }
.nx-win { animation: nxwin 5s ease-in-out infinite; } .nx-win.w2 { animation-delay: 1.5s; } .nx-win.w3 { animation-delay: 3s; }
@keyframes nxwin { 50% { opacity: .35; } }
.nx-lbl rect { fill: rgba(6,20,43,.85); stroke: rgba(255,255,255,.18); }
.nx-lbl text { fill: #dce6f5; font: 600 13px "Nunito", sans-serif; text-anchor: middle; }
.nx-kpi-num { fill: #07d5c0; font: 800 28px "Nunito", sans-serif; }
.nx-kpi-lbl { fill: #9fb1cc; font: 600 12px "Nunito", sans-serif; }
.nx-kpi-tag { fill: #f5b400; font: 700 12.5px "Nunito", sans-serif; letter-spacing: .2px; }
@media (prefers-reduced-motion: reduce) { .nx-flow, .nx-cell, .nx-pulse, .nx-win { animation: none; } .nx-cell { opacity: .8; } }
@media (max-width: 991px) { .nx-hero-art { margin: 40px auto 0; } }
/* Hero cases: three scenes, tabs and captions */
.nx-scene { opacity: 0; transition: opacity .7s ease; }
.nx-scene.is-on { opacity: 1; }
.nx-tile-lbl { fill: #dce6f5; font: 700 12px "Nunito", sans-serif; text-anchor: middle; }
.nx-chart-t { fill: #9fb1cc; font: 700 11px "Nunito", sans-serif; }
.nx-chart-l { fill: #07d5c0; font: 700 10.5px "Nunito", sans-serif; }
.nx-chart-l.nx-sun { fill: #f5b400; }
.nx-price { fill: none; stroke: #dce6f5; stroke-width: 2.2; stroke-linecap: round; }
.nx-blades { transform-origin: 76px 124px; animation: nxspin 6s linear infinite; }
@keyframes nxspin { to { transform: rotate(360deg); } }
.nx-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.nx-tabs button { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); color: #dce6f5; border-radius: 999px; padding: 7px 16px; font: 700 13px "Nunito", sans-serif; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.nx-tabs button:hover { border-color: #07d5c0; }
.nx-tabs button.is-on { background: #07d5c0; border-color: #07d5c0; color: #06142b; }
.nx-scene-cap { display: none; text-align: center; color: #b8c6dc; font-size: 14.5px; line-height: 1.5; margin: 12px auto 0; max-width: 470px; min-height: 44px; }
.nx-scene-cap.is-on { display: block; }
@media (prefers-reduced-motion: reduce) { .nx-blades { animation: none; } .nx-scene { transition: none; } }
html[lang="el"] .nx-tabs button, html[lang="el"] .nx-tile-lbl, html[lang="el"] .nx-chart-t, html[lang="el"] .nx-chart-l { font-family: "Manrope", "Open Sans", Arial, sans-serif; }


/* Track record */
.nx-track { padding: 70px 0 40px; }
.nx-region { position: relative; overflow: hidden; height: 100%; border-radius: 18px; padding: 30px 30px 26px; color: #dce6f5;
  background: radial-gradient(500px 220px at 100% 0%, rgba(7,213,192,.20), transparent 60%), linear-gradient(150deg, var(--nx-navy), var(--nx-blue));
  box-shadow: 0 18px 40px rgba(6,20,43,.18); }
.nx-region-top { display: flex; align-items: center; gap: 12px; }
.nx-cc { font: 800 13px "Nunito", sans-serif; letter-spacing: 1.5px; color: var(--nx-navy); background: linear-gradient(90deg, var(--nx-g1), var(--nx-g2)); border-radius: 8px; padding: 4px 8px; }
.nx-region-name { font: 700 18px "Nunito", sans-serif; color: #fff; }
.nx-region-num { font: 800 54px/1.05 "Nunito", sans-serif; color: #fff; margin-top: 18px; }
.nx-region-num small { font-size: 22px; color: var(--nx-teal); }
.nx-region-sub { color: #9fb1cc; font-size: 14px; margin-top: 2px; }
.nx-split { height: 6px; border-radius: 3px; background: rgba(255,255,255,.1); margin: 16px 0 18px; }
.nx-split span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--nx-g1), var(--nx-g2)); }
.nx-region ul { list-style: none; padding: 0; margin: 0; }
.nx-region li { position: relative; padding-left: 18px; margin: 8px 0; font-size: 14.5px; line-height: 1.5; }
.nx-region li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--nx-teal); }
.nx-region li b { color: #fff; }

/* Greek pages: Nunito and Poppins have no Greek glyphs, so use Manrope there */
html[lang="el"] h1, html[lang="el"] h2, html[lang="el"] h3, html[lang="el"] h4, html[lang="el"] h5,
html[lang="el"] .navbar a, html[lang="el"] .btn-get-started span, html[lang="el"] .btn-get-contact span,
html[lang="el"] .btn-read-more span, html[lang="el"] .btn-buy, html[lang="el"] .section-header p,
html[lang="el"] .nx-stat .num, html[lang="el"] .nx-region-num, html[lang="el"] .nx-region-name,
html[lang="el"] .nx-kpi b, html[lang="el"] .nx-case h3, html[lang="el"] .read-more span,
html[lang="el"] .footer h4, html[lang="el"] .nx-lbl text, html[lang="el"] .nx-kpi-num, html[lang="el"] .nx-kpi-lbl, html[lang="el"] .nx-kpi-tag {
  font-family: "Manrope", "Open Sans", Arial, sans-serif !important;
}
html[lang="el"] .hero h1, html[lang="el"] .hero-index h1 { letter-spacing: -1px; font-weight: 800; }
/* The sixth card on How we work is the outcome, not a step */
.nx-steps .col-lg-4:last-child .service-box::before { content: none; }
/* Final card: the outcome, not a step (dark, with a badge instead of a number) */
.nx-steps .service-box.nx-result { background: radial-gradient(circle at 100% 0%, #1b4a80 0%, #0b2347 45%, #06142b 100%); border-bottom: 3px solid var(--nx-teal); box-shadow: 0 18px 40px rgba(6,20,43,.25); }
.nx-steps .service-box.nx-result h3 { color: #fff; }
.nx-steps .service-box.nx-result p { color: rgba(255,255,255,.82); }
.nx-steps .service-box.nx-result .nx-ico { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(7,213,192,.4), 0 12px 26px rgba(7,213,192,.25); }
.nx-result .nx-badge { position: absolute; top: 24px; right: 24px; padding: 6px 13px; border-radius: 999px; background: linear-gradient(135deg, var(--nx-g1), var(--nx-g2)); color: #06142b; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* ===== In-depth topic pages (Net Billing, RES + BESS) ===== */
.nx-toc { background: #fff; border-bottom: 1px solid #e7eae3; padding: 16px 0; }
.nx-toc .container { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nx-toc span { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: #7a879a; margin-right: 6px; }
.nx-toc a { font-size: 14px; font-weight: 600; color: var(--nx-blue); background: #eff1ec; border-radius: 999px; padding: 5px 13px; transition: background .2s, color .2s; }
.nx-toc a:hover { background: var(--nx-teal); color: var(--nx-navy); }
.nx-sec { padding: 70px 0; scroll-margin-top: 80px; }
.nx-sec.alt { background: #f6f7f4; }
.nx-pt { background: #fff; border-radius: 16px; padding: 24px 22px; height: 100%; box-shadow: 0 10px 30px rgba(6,20,43,.06); border-top: 4px solid var(--nx-teal); }
.nx-pt .big { font-family: "Nunito", sans-serif; font-weight: 800; font-size: 25px; line-height: 1.1; color: var(--nx-blue); margin-bottom: 10px; }
.nx-pt p { font-size: 14.5px; color: #4b5a70; margin-bottom: 10px; }
.nx-pt .src { font-size: 12px; color: #7a879a; border-top: 1px solid #eef1f6; padding-top: 8px; }
.nx-pts { counter-reset: pt; }
.nx-pts .nx-pt { position: relative; padding-top: 66px; }
.nx-pts .nx-pt::before {
  counter-increment: pt; content: counter(pt, decimal-leading-zero);
  position: absolute; top: 16px; right: 22px; font-family: "Nunito", sans-serif; font-size: 48px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--nx-g1), var(--nx-g2)); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .35;
}
.nx-ptnote { margin: 22px 0 0; text-align: center; font-size: 13.5px; color: #7a879a; }
.nx-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nx-table.nx-left th, .nx-table.nx-left td { text-align: left; vertical-align: top; }
.nx-table.nx-left th { color: var(--nx-blue); font-size: 13px; text-transform: uppercase; letter-spacing: .6px; border-bottom: 2px solid #d6deea; }
.nx-table.nx-left td { color: #3d4b60; background: #fff; }
.nx-table.nx-wide { min-width: 760px; }
.nx-term { display: block; font-size: 12.5px; color: #078f81; font-weight: 600; margin-top: 2px; }
.nx-src { font-size: 12.5px; color: #7a879a !important; white-space: nowrap; }
.nx-yes { color: #078f81; font-weight: 800; }
.nx-no { color: #c2343b; font-weight: 800; }
.nx-list { margin: 22px 0 0; padding-left: 20px; color: #3d4b60; }
.nx-list li { margin-bottom: 8px; }
.nx-diagram { background: #fff; border-radius: 18px; padding: 26px; box-shadow: 0 10px 30px rgba(6,20,43,.06); }
.nx-diagram svg { width: 100%; height: auto; display: block; }
.nx-ax { font: 600 12px "Nunito", sans-serif; fill: #5b6b82; }
.nx-ax.nx-strong { font-weight: 800; fill: #06142b; }
.nx-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.nx-leg { background: #f6f7f4; border-radius: 12px; padding: 14px; font-size: 14px; color: #3d4b60; }
.nx-leg i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 8px; vertical-align: -2px; }
.nx-leg b { color: var(--nx-ink, #06142b); }
.nx-leg span { display: block; margin-top: 6px; }
@media (max-width: 991px) { .nx-legend { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .nx-legend { grid-template-columns: 1fr; } .nx-diagram { padding: 14px; } }
.nx-sat { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 10px 30px rgba(6,20,43,.06); }
.nx-sat h4 { font-size: 18px; font-weight: 800; color: var(--nx-blue); margin-bottom: 14px; }
.nx-sat-row { display: grid; grid-template-columns: 34% 1fr 1fr; gap: 10px; align-items: center; margin-bottom: 10px; font-size: 14px; }
.nx-sat-row.hd { font-size: 12px; font-weight: 700; color: #7a879a; text-transform: uppercase; letter-spacing: .5px; }
.nx-sat-row .nm { font-weight: 700; color: #3d4b60; }
.nx-sat-row .bar { position: relative; background: #eff1ec; border-radius: 8px; height: 26px; overflow: hidden; }
.nx-sat-row .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--nx-teal), #5fe3d5); border-radius: 8px; }
.nx-sat-row .bar.t i { background: linear-gradient(90deg, var(--nx-sun), #ffd25a); }
.nx-sat-row .bar b { position: relative; padding-left: 8px; line-height: 26px; font-size: 13px; color: var(--nx-navy); }
.nx-kpis-lg .nx-kpi { flex: 1 1 220px; padding: 18px 20px; }
.nx-kpis-lg .nx-kpi b { font-size: 30px; }
.nx-timeline { list-style: none; counter-reset: st; padding: 0; margin: 0; }
.nx-timeline li { position: relative; padding: 0 0 20px 56px; }
.nx-timeline li::before { counter-increment: st; content: counter(st); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--nx-navy); color: var(--nx-teal); font: 800 16px "Nunito", sans-serif; display: flex; align-items: center; justify-content: center; }
.nx-timeline li::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 2px; width: 2px; background: linear-gradient(var(--nx-g1), var(--nx-g2)); opacity: .5; }
.nx-timeline li:last-child::after { display: none; }
.nx-timeline b { display: block; color: var(--nx-blue); font-size: 16px; }
.nx-timeline span { color: #4b5a70; font-size: 14.5px; }
.nx-trapcard { background: linear-gradient(180deg, #fff1ef 0%, #fff 70%); border-radius: 14px; padding: 20px 22px; height: 100%; border-left: 4px solid #e4574c; box-shadow: 0 8px 24px rgba(6,20,43,.05); }
.nx-trapcard h4 { font-size: 16.5px; font-weight: 800; color: #b42a33; margin-bottom: 6px; }
.nx-trapcard p { font-size: 14.5px; color: #4b5a70; margin: 0; }
.nx-faq { max-width: 900px; margin: 0 auto; }
.nx-faq details { background: #fff; border-radius: 12px; margin-bottom: 10px; box-shadow: 0 6px 18px rgba(6,20,43,.05); }
.nx-faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 700; color: var(--nx-blue); position: relative; }
.nx-faq summary::-webkit-details-marker { display: none; }
.nx-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #067a6e; font-weight: 800; }
.nx-faq details[open] summary::after { content: "−"; }
.nx-faq details p { padding: 0 20px 18px; margin: 0; color: #4b5a70; }
.nx-law { list-style: none; padding: 0; columns: 2 380px; column-gap: 28px; }
.nx-law li { break-inside: avoid; background: #fff; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; box-shadow: 0 6px 18px rgba(6,20,43,.05); }
.nx-law b { display: block; color: var(--nx-blue); font-size: 14.5px; }
.nx-law span { font-size: 14px; color: #4b5a70; }
.nx-coming { background: #fff8e6; border-left: 4px solid var(--nx-sun); border-radius: 10px; padding: 14px 18px; color: #5a4a1a; margin-top: 10px; }
html[lang="el"] .nx-pt .big, html[lang="el"] .nx-ax, html[lang="el"] .nx-trapcard h4, html[lang="el"] .nx-sat h4, html[lang="el"] .nx-timeline li::before { font-family: "Manrope", "Open Sans", Arial, sans-serif; }

.nx-list.nx-checks { list-style: none; padding-left: 0; }
.nx-list.nx-checks li { padding-left: 0; }
.nx-list.nx-checks li::before { content: none; }

/* Send-data page (bills and ΔΕΔΔΗΕ files) */
.nx-send-info { background: #fff; border-radius: 16px; padding: 28px 26px; box-shadow: 0 10px 30px rgba(6,20,43,.06); border-top: 4px solid var(--nx-teal); height: 100%; }
.nx-send-info h3 { font-size: 19px; font-weight: 800; color: var(--nx-blue); margin: 18px 0 10px; }
.nx-send-info h3:first-child { margin-top: 0; }
.nx-send-info p, .nx-send-info li { font-size: 14.5px; color: #4b5a70; }
.nx-send .php-email-form .nx-lab { display: block; font-size: 13px; font-weight: 700; color: var(--nx-blue); margin-bottom: 6px; }
.nx-send .php-email-form .form-select { font-size: 14px; padding: 10px 15px; border-radius: 0; }
.nx-upload { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #f6f9fd; border: 2px dashed #b9c7dc; border-radius: 12px; }
.nx-upload > i { font-size: 34px; color: var(--nx-blue); line-height: 1; }
.nx-upload .nx-up-txt { flex: 1; min-width: 0; }
.nx-upload .nx-up-txt b { display: block; color: var(--nx-blue); font-size: 15px; }
.nx-upload .nx-up-txt span { font-size: 13px; color: #5b6a80; }
.nx-upbtn { flex: none; display: inline-block; padding: 10px 20px; border-radius: 30px; font-weight: 700; font-size: 14px; color: #06142b; background: linear-gradient(135deg, var(--nx-g1), var(--nx-g2)); transition: transform .2s, box-shadow .2s; }
.nx-upbtn:hover { color: #06142b; transform: translateY(-2px); box-shadow: 0 8px 20px var(--nx-glow); }
@media (max-width: 575px) { .nx-upload { flex-wrap: wrap; } .nx-upbtn { width: 100%; text-align: center; } }
.nx-mini { padding-left: 20px; margin: 0 0 10px; }
.nx-mini li { margin-bottom: 6px; }
.nx-send .php-email-form .nx-hint { font-size: 12.5px; color: #7a879a; margin: 6px 0 0; }
/* In-form upload (shown when /api/upload is live: form.is-up) */
.nx-send .nx-mode-up { display: none; }
.nx-send form.is-up .nx-mode-link { display: none; }
.nx-send form.is-up label.nx-mode-up { display: inline-block; cursor: pointer; margin: 0; }
.nx-send form.is-up p.nx-mode-up { display: block; }
.nx-send form.is-up ul.nx-mode-up { display: block; }
.nx-send .nx-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.nx-send .nx-file-input:focus-visible + .nx-mode-up, .nx-send label.nx-upbtn:focus-within { outline: 2px solid var(--nx-blue); }
.nx-send .nx-upload.is-drag { border-color: var(--nx-g2); background: #fff7ee; }
.nx-send .nx-file-list { list-style: none; margin: 10px 0 0; padding: 0; }
.nx-send .nx-file-list li { display: flex; align-items: center; gap: 10px; padding: 7px 12px; margin-top: 6px; background: #fff; border: 1px solid #e3e8ef; border-radius: 10px; font-size: 14px; }
.nx-send .nx-file-list li i { color: var(--nx-blue); }
.nx-send .nx-file-list li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--nx-ink); }
.nx-send .nx-file-list li small { color: #7a879a; }
.nx-send .nx-file-list li button { border: 0; background: none; font-size: 20px; line-height: 1; color: #7a879a; padding: 0 4px; }
.nx-send .nx-file-list li button:hover { color: #e4574c; }
.nx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nx-contact-cta { margin-top: 22px; background: #fff; border-radius: 14px; padding: 18px 22px; border-left: 4px solid var(--nx-teal); box-shadow: 0 10px 30px rgba(6,20,43,.06); }
.nx-contact-cta a { font-weight: 800; }

/* Folded law list */
.nx-fold { background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(6,20,43,.06); padding: 4px 22px; }
.nx-fold > summary { cursor: pointer; list-style: none; font-weight: 800; color: var(--nx-blue); padding: 14px 0; display: flex; align-items: center; gap: 10px; }
.nx-fold > summary::-webkit-details-marker { display: none; }
.nx-fold > summary::before { content: "+"; display: inline-flex; width: 26px; height: 26px; border-radius: 50%; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--nx-g1), var(--nx-g2)); color: #06142b; font-weight: 800; }
.nx-fold[open] > summary::before { content: "−"; }
.nx-fold[open] { padding-bottom: 16px; }

/* Logo (SVG, 03.11.2026) */
.header .logo img.nx-logo { height: 44px; max-height: none; width: auto; margin-right: 0; }
@media (max-width: 575px) { .header .logo img.nx-logo { height: 30px; } }

/* Wide case card (two columns inside) */
.nx-case-wide .nx-table th, .nx-case-wide .nx-table td { white-space: nowrap; }
.nx-case-wide .nx-table td:first-child { white-space: normal; }
@media (max-width: 575px) { .nx-case-wide .nx-table th, .nx-case-wide .nx-table td { white-space: normal; padding: 8px 5px; font-size: 12.5px; } .nx-case-wide { padding: 24px 18px; } }

/* Industrial case: one week, with and without a battery */
.nx-wk { margin-top: 10px; padding-top: 24px; border-top: 1px solid #e8edf4; }
.nx-wk-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
.nx-wk h4 { font-family: "Nunito", sans-serif; font-weight: 800; color: var(--nx-ink); font-size: 19px; margin: 0 0 2px; }
.nx-wk-head p { margin: 0; color: #7a879a; font-size: 14px; }
.nx-wk-toggle { display: inline-flex; background: #eff1ec; border-radius: 999px; padding: 4px; }
.nx-wk-toggle button { border: 0; background: transparent; color: #4b5a70; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; transition: background .25s, color .25s; }
.nx-wk-toggle button[aria-pressed="true"] { background: var(--nx-blue); color: #fff; }
.nx-wk-toggle button[data-bat="1"][aria-pressed="true"] { background: linear-gradient(90deg, #067a6e, var(--nx-teal)); }
.nx-wk-kpi { margin: 14px 0 4px; color: #4b5a70; }
.nx-wk-kpi b { font-family: "Nunito", sans-serif; font-size: 30px; font-weight: 800; color: #b37a00; margin-right: 8px; }
.nx-wk-kpi b.nx-wk-b { color: #067a6e; display: none; }
.nx-wk.is-bat .nx-wk-kpi b.nx-wk-nb { display: none; }
.nx-wk.is-bat .nx-wk-kpi b.nx-wk-b { display: inline; }
.nx-wk svg .nx-wk-nb, .nx-wk svg .nx-wk-b { transition: opacity .5s ease; }
.nx-wk:not(.is-bat) svg .nx-wk-b, .nx-wk.is-bat svg .nx-wk-nb { opacity: 0; }
.nx-wk .nx-chart { width: 100%; height: auto; display: block; min-width: 640px; }
.nx-ch-grid { stroke: #eff1ec; stroke-width: 1; }
.nx-ch-ax { fill: #7a879a; font: 600 12px "Nunito", sans-serif; }
.nx-ch-load { fill: none; stroke: var(--nx-blue); stroke-width: 1.6; stroke-linejoin: round; }
.nx-ch-pvline { fill: none; stroke: #e0a100; stroke-width: 1.2; stroke-linejoin: round; }
.nx-ch-pv { fill: var(--nx-sun); opacity: .55; }
.nx-ch-bat { fill: var(--nx-teal); opacity: .9; }
.nx-ch-chg { fill: var(--nx-teal); opacity: .28; }
.nx-ch-lost { fill: #c9d3df; opacity: .55; }
.nx-wk-legend { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: #4b5a70; }
.nx-wk-legend li { display: flex; align-items: center; gap: 7px; transition: opacity .4s; }
.nx-wk:not(.is-bat) .nx-wk-legend li.nx-wk-lb { opacity: .35; }
.nx-wk-legend i { width: 18px; height: 10px; border-radius: 3px; display: inline-block; }
.nx-wk-legend i.k-load { height: 3px; background: var(--nx-blue); }
.nx-wk-legend i.k-pvline { height: 2px; background: #e0a100; }
.nx-wk-legend i.k-pv { background: rgba(245,180,0,.55); }
.nx-wk-legend i.k-chg { background: rgba(7,213,192,.28); }
.nx-wk-legend i.k-bat { background: rgba(7,213,192,.9); }
.nx-wk-legend i.k-lost { background: rgba(201,211,223,.55); }
.nx-wk-toggle button { white-space: nowrap; }
@media (max-width: 575px) { .nx-wk-toggle button { font-size: 12.5px; padding: 7px 11px; } .nx-wk .nx-chart { min-width: 600px; } .nx-wk-kpi b { font-size: 26px; } }
/* Contact: two office addresses in one box */
.contact .info-box { height: 100%; }
.contact .info-box p + p { margin-top: 10px; }
.contact .info-box p b { color: var(--nx-ink); font-weight: 700; }

/* Footer: contact column links */
.footer .footer-top h4 a.nx-foot-h { color: inherit; }
.footer .footer-top h4 a.nx-foot-h:hover { color: #067a6e; }
.footer .footer-top .footer-contact p.nx-foot-go { margin-top: 12px; line-height: 2; font-weight: 600; }
.footer .footer-top .footer-contact p.nx-foot-go i { font-size: 13px; }

/* how_we_work hero: value map generated by tools/art/value_map.py + value_map_svg.py */
.nx-vmap-wrap { filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }
.nx-vmap text { font-family: inherit; fill: #0b2d5b; }
.nx-vmap .vm-kicker { font-size: 11px; font-weight: 800; letter-spacing: 2px; fill: #067a6e; }
.nx-vmap .vm-title { font-size: 19px; font-weight: 800; }
.nx-vmap .vm-sub { font-size: 12px; fill: #5b6b7d; }
.nx-vmap .vm-ticks text { font-size: 12px; fill: #5b6b7d; }
.nx-vmap .vm-axt { font-size: 13px; font-weight: 700; }
.nx-vmap .vm-lab text { font-size: 13px; font-weight: 700; paint-order: stroke; stroke: rgba(255,255,255,.85); stroke-width: 3px; stroke-linejoin: round; }
.nx-vmap .vm-lab .vm-b { font-size: 14px; font-weight: 800; }
.nx-vmap .vm-lab .vm-s { font-size: 12px; font-weight: 600; fill: #2b3d52; }
.nx-vmap .vm-lab .vm-m { font-size: 13px; font-weight: 800; fill: #0b2d5b; }
.nx-vmap .vm-red { fill: #b3322b; }
.nx-vmap .vm-pill text { font-size: 12.5px; font-weight: 800; fill: #ffffff; }
.nx-vmap .vm-pills { opacity: 0; animation: vmFade .4s 2.8s forwards; }
.nx-vmap .vm-grey { fill: #5b6b7d; }
.nx-vmap .vm-teal { fill: #067a6e; }
.nx-vmap .vm-zone path { stroke-dasharray: 7 5; animation: vmDash 7s linear infinite; }
.nx-vmap .vm-flow { stroke-dasharray: 2 10; opacity: 0; animation: vmFade .3s 2.8s forwards, vmFlow 1.2s linear infinite; }
.nx-vmap .vm-route { stroke-dasharray: 360; stroke-dashoffset: 360; animation: vmDraw 1.8s 1s ease-out forwards; }
.nx-vmap .vm-head { opacity: 0; animation: vmFade .3s 2.7s forwards; }
.nx-vmap .vm-ring { transform-box: fill-box; transform-origin: center; animation: vmPulse 2.6s ease-in-out infinite; }
@keyframes vmDash { to { stroke-dashoffset: -120; } }
@keyframes vmDraw { to { stroke-dashoffset: 0; } }
@keyframes vmFlow { to { stroke-dashoffset: -24; } }
@keyframes vmFade { to { opacity: 1; } }
@keyframes vmPulse { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: .55; transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) {
  .nx-vmap .vm-zone path, .nx-vmap .vm-ring { animation: none; }
  .nx-vmap .vm-flow, .nx-vmap .vm-pills { animation: none; opacity: 1; }
  .nx-vmap .vm-route { animation: none; stroke-dashoffset: 0; }
  .nx-vmap .vm-head { animation: none; opacity: 1; }
}
/* Net Billing: battery topologies, one minimal drawn card per set-up (tools/i18n/net_billing_sections.py) */
.nx-topo { background: #fff; border-radius: 16px; padding: 18px 20px 20px; height: 100%; box-shadow: 0 8px 24px rgba(6,20,43,.06); }
.nx-topo > svg { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto 14px; }
.nx-topo > svg text { font-family: inherit; font-size: 10px; font-weight: 800; fill: #0b2d5b; }
.nx-topo h4 { font-size: 16.5px; font-weight: 800; color: #0b2d5b; margin-bottom: 8px; }
.nx-topo ul { list-style: none; padding: 0; margin: 0; }
.nx-topo li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: #2b3d52; padding: 2px 0; }
.nx-topo li span { color: #7a879a; }
.nx-topo li svg { width: 18px; height: 18px; flex: none; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nx-topo li.y svg { stroke: #078f81; }
.nx-topo li.n svg { stroke: #c2343b; }
.nx-topo li.s svg { stroke: none; fill: #7a879a; }
