/* =========================================================================
   RESOURCE REVOLUTION GROUP — v3 stylesheet
   Colour palette derived from the brand logo:
   • Deep Navy   — the "R" lettermark and primary text
   • Rich Green   — circular arrows and leaf motifs
   • Golden Amber — globe highlight, sun icon, solar accent
   ========================================================================= */



:root{
  --white: #FFFFFF;
  --sky: #F0F6F2;
  --sky-deep: #DDE9E0;
  --green: #3A8C3F;
  --green-mid: #2E7D33;
  --green-light: #E8F5E9;
  --navy: #1B3A5C;
  --navy-deep: #0F2840;
  --navy-light: #2A5078;
  --amber: #D4A531;
  --amber-deep: #B8902A;
  --amber-light: #FFF3D6;
  --ink: #1A2E3F;
  --muted: #546E7A;
  --border: #D0DDD4;

  --font: 'Plus Jakarta Sans', 'Inter', -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1200px;
  --edge: 5vw;
  --radius: 8px;
  --ease: cubic-bezier(.25,.65,.3,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .marquee-track{ animation-duration:0.001ms !important; }
}

body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }

::selection{ background:var(--navy); color:#fff; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--green);
  outline-offset:2px;
}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--edge);
}

/* ---------- shared type ------------------------------------------- */
.eyebrow{
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--green);
  margin:0 0 12px;
}
.eyebrow.on-dark{ color:var(--amber); }

h1,h2,h3,h4{
  font-family:var(--font);
  color:var(--navy);
  margin:0;
  font-weight:700;
  letter-spacing:-.01em;
}

.section-title{
  font-size:clamp(26px,3vw,38px);
  line-height:1.2;
  max-width:640px;
}
.section-sub{
  color:var(--muted);
  font-size:16px;
  max-width:56ch;
  margin-top:14px;
}
.section-head{
  margin-bottom:48px;
}
.section-head.center{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
.section-head.center .section-title,
.section-head.center .section-sub{
  margin-left:auto;
  margin-right:auto;
}

.section{
  padding:88px 0;
}
.section.tight{ padding:64px 0; }
.section.alt{ background:var(--sky); }

/* buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:700;
  font-size:14.5px;
  padding:14px 26px;
  border-radius:var(--radius);
  border:1.5px solid transparent;
  cursor:pointer;
  transition:background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active{ transform:translateY(1px); }
.btn-primary{
  background:var(--green);
  color:#fff;
}
.btn-primary:hover{ background:var(--green-mid); }
.btn-accent{
  background:var(--amber);
  color:var(--navy);
}
.btn-accent:hover{ background:var(--amber-deep); }
.btn-outline{
  background:transparent;
  border-color:rgba(255,255,255,.55);
  color:#fff;
}
.btn-outline:hover{ background:rgba(255,255,255,.12); }
.btn-outline-blue{
  background:transparent;
  border-color:var(--green);
  color:var(--green);
}
.btn-outline-blue:hover{ background:var(--green); color:#fff; }

/* reveal on scroll */
.reveal{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in{ opacity:1; transform:none; }

/* =========================================================================
   NAV — single-line, clean, responsive
   ========================================================================= */
.nav{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  background:rgba(255,255,255,.98);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--edge);
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:64px;
  gap:12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}
.brand img{ height:36px; width:auto; }
.brand-text{
  font-size:13px;
  font-weight:800;
  color:var(--navy);
  line-height:1.2;
  white-space:nowrap;
}
.brand-text span{
  display:block;
  font-size:10px;
  font-weight:600;
  color:var(--muted);
  letter-spacing:.08em;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:4px;
  font-size:13px;
  font-weight:600;
  color:var(--ink);
  margin:0;
  padding:0;
  list-style:none;
  white-space:nowrap;
}
.nav-links li{
  flex-shrink:0;
}
.nav-links a{
  position:relative;
  padding:6px 9px;
  border-radius:6px;
  transition:color .2s var(--ease), background .2s var(--ease);
}
.nav-links a::after{
  content:"";
  position:absolute; left:8px; right:8px; bottom:2px;
  height:2px; background:var(--green);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .25s var(--ease);
}
.nav-links a:hover{ color:var(--green); }
.nav-links a:hover::after{ transform:scaleX(1); }

.nav-cta-box{
  background:var(--green) !important;
  color:#fff !important;
  padding:8px 16px !important;
  border-radius:var(--radius) !important;
  font-weight:700;
  white-space:nowrap;
  transition:background .2s var(--ease), transform .15s var(--ease) !important;
  border:none;
}
.nav-cta-box:hover{
  background:var(--green-mid) !important;
  color:#fff !important;
  transform:translateY(-1px);
}
.nav-cta-box::after{ display:none !important; }

.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:40px;
  height:40px;
  border-radius:8px;
  padding:0;
  transition:background 0.2s var(--ease);
}
.nav-toggle:hover{ background:var(--sky); }
.nav-toggle span{
  width:22px;
  height:2px;
  background:var(--navy);
  display:block;
  border-radius:2px;
  transition:transform 0.25s var(--ease), opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2){
  opacity:0;
}
.nav-toggle.is-open span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

@media (max-width:1140px){
  .nav-links{
    position:fixed;
    top:64px;
    left:0;
    right:0;
    height:calc(100vh - 64px);
    background:#ffffff;
    flex-direction:column;
    align-items:stretch;
    padding:20px var(--edge) 40px;
    gap:4px;
    font-size:15px;
    transform:translateY(-10px);
    opacity:0;
    visibility:hidden;
    transition:opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    overflow-y:auto;
    box-shadow:0 16px 32px rgba(15,40,64,.15);
    white-space:normal;
    z-index:999;
  }
  .nav-links li{
    width:100%;
  }
  .nav-links a{
    display:flex;
    align-items:center;
    width:100%;
    padding:12px 14px;
    border-radius:8px;
    color:var(--navy);
    font-weight:600;
    border-bottom:1px solid var(--sky-deep);
  }
  .nav-links a:hover, .nav-links a.active{
    background:var(--sky);
    color:var(--green);
  }
  .nav-links a::after{
    display:none;
  }
  .nav-links .nav-cta-box{
    margin-top:12px;
    text-align:center;
    justify-content:center;
    width:100% !important;
    padding:14px 20px !important;
    font-size:15px !important;
  }
  .nav-links.is-open{
    opacity:1;
    transform:none;
    visibility:visible;
  }
  .nav-toggle{
    display:flex;
  }
}

/* =========================================================================
   HERO — perfectly fitted to 100vh above the fold
   ========================================================================= */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:72px 0 24px;
  background:
    linear-gradient(100deg, rgba(15,40,64,.88) 0%, rgba(27,58,92,.72) 45%, rgba(27,58,92,.50) 100%),
    url('src/hero-bg.jpg') center/cover no-repeat;
}
.hero-inner{ max-width:680px; }
.hero .eyebrow{ color:var(--amber); margin-bottom:8px; }
.hero h1{
  color:#fff;
  font-size:clamp(30px, 3.8vw, 46px);
  line-height:1.15;
  margin-bottom:14px;
}
.hero p.lead{
  color:#DCE9F2;
  font-size:clamp(15px, 1.4vw, 16.5px);
  max-width:54ch;
  margin:0 0 20px;
  line-height:1.5;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:20px;
}
.hero-actions .btn{
  padding:11px 22px;
  font-size:14px;
}
.hero-trust-bar{
  margin-bottom:20px;
  padding:10px 14px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  border-radius:var(--radius);
  backdrop-filter:blur(8px);
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.trust-title{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--amber);
  margin-bottom:0;
}
.trust-tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  font-size:12.5px;
  font-weight:600;
  color:#E1EFF8;
}
.trust-tags span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.trust-tags span::before{
  content:"•";
  color:var(--green);
}
.trust-tags span:first-child::before{
  display:none;
}
.hero-stats{
  display:flex;
  gap:32px;
  flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.22);
  padding-top:16px;
}
.hero-stat b{
  display:block;
  font-size:20px;
  color:#fff;
  font-weight:800;
  line-height:1.2;
}
.hero-stat span{
  font-size:12px;
  color:#B9CBD9;
}

/* =========================================================================
   SERVICES
   ========================================================================= */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}
@media (max-width:960px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .services-grid{ grid-template-columns:1fr; } }

.service-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:30px 26px;
  transition:border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.service-card:hover{
  border-color:var(--green);
  box-shadow:0 10px 28px -18px rgba(58,140,63,.4);
  transform:translateY(-3px);
}
.service-icon{
  width:46px; height:46px;
  border-radius:8px;
  background:var(--green-light);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
  color:var(--green);
}
.service-card h3{
  font-size:18px;
  margin-bottom:10px;
}
.service-card p{
  color:var(--muted);
  font-size:14.5px;
  margin:0 0 14px;
}
.tag-row{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.tag{
  font-size:11.5px;
  font-weight:600;
  color:var(--navy);
  background:var(--sky);
  padding:4px 9px;
  border-radius:4px;
}

/* =========================================================================
   INDUSTRIES — auto-sliding marquee
   ========================================================================= */
.marquee{
  position:relative;
  overflow:hidden;
  mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track{
  display:flex;
  gap:20px;
  width:max-content;
  will-change:transform;
  animation:scrollX 40s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state:paused; }

@keyframes scrollX{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

.industry-card{
  flex:0 0 260px;
  width:260px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px 22px;
  transition:border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.industry-card:hover{
  border-color:var(--green);
  box-shadow:0 6px 20px -10px rgba(58,140,63,.3);
}
.industry-card .idx{
  font-size:12px;
  font-weight:700;
  color:var(--amber-deep);
  margin-bottom:10px;
  display:block;
}
.industry-card h3{
  font-size:16.5px;
  margin-bottom:8px;
}
.industry-card p{
  font-size:13.5px;
  color:var(--muted);
  margin:0;
}

/* =========================================================================
   MARKETS
   ========================================================================= */
.markets-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:56px;
  align-items:center;
}
@media (max-width:900px){ .markets-grid{ grid-template-columns:1fr; } }

.map-card{
  background:var(--navy-deep);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius);
  padding:16px;
  overflow:hidden;
}
.map-card svg{ width:100%; height:auto; display:block; }
.map-img{
  width:100%;
  height:auto;
  display:block;
  border-radius:6px;
}
.map-legend{
  display:flex;
  gap:18px;
  justify-content:center;
  margin-top:14px;
  font-size:12.5px;
  color:rgba(255,255,255,.7);
}
.map-legend span{ display:flex; align-items:center; gap:6px; }
.map-legend i{
  width:9px; height:9px; border-radius:50%;
  display:inline-block;
}

.region-table{ width:100%; border-collapse:collapse; margin-bottom:28px; }
.region-table td{
  padding:12px 0;
  border-bottom:1px solid var(--border);
  font-size:15px;
}
.region-table td:first-child{ font-weight:700; color:var(--navy); }
.region-table td:last-child{ text-align:right; color:var(--green); font-weight:600; font-size:13px; }

.focus-list{ display:flex; flex-wrap:wrap; gap:8px; }
.focus-list span{
  font-size:13px;
  font-weight:600;
  color:var(--navy);
  background:var(--sky);
  border:1px solid var(--sky-deep);
  padding:6px 12px;
  border-radius:4px;
}

/* =========================================================================
   BANNER (mid.jpg) — Why Us
   ========================================================================= */
.banner{
  position:relative;
  padding:96px 0;
  background:
    linear-gradient(100deg, rgba(15,40,64,.90) 10%, rgba(27,58,92,.76) 60%, rgba(27,58,92,.58) 100%),
    url('src/why-us-bg.jpg') center/cover no-repeat;
  color:#fff;
}
.banner-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:56px;
  align-items:start;
}
@media (max-width:900px){ .banner-grid{ grid-template-columns:1fr; gap:36px; } }
.banner h2{ color:#fff; font-size:clamp(26px,3.2vw,36px); margin-bottom:16px; }
.banner p.lead{ color:#D6E6F0; font-size:16.5px; max-width:46ch; }

.why-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px 30px;
}
@media (max-width:560px){ .why-list{ grid-template-columns:1fr; } }
.why-item{
  display:flex;
  gap:14px;
}
.why-icon{
  flex:0 0 auto;
  width:34px; height:34px;
  border-radius:50%;
  background:var(--amber);
  color:var(--navy);
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
  font-size:14px;
}
.why-item h3{ color:#fff; font-size:15.5px; margin-bottom:6px; }
.why-item p{ color:#C7D9E4; font-size:13.5px; margin:0; }

/* =========================================================================
   PROCESS
   ========================================================================= */
.process-grid{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:0;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
}
@media (max-width:960px){ .process-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:600px){ .process-grid{ grid-template-columns:1fr; } }
.process-step{
  background:#fff;
  padding:26px 20px;
  border-right:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.process-step:last-child{ border-right:none; }
@media (max-width:960px){
  .process-step:nth-child(3){ border-right:none; }
}
@media (max-width:600px){
  .process-step{ border-right:none !important; }
}
.process-num{
  width:32px; height:32px;
  border-radius:50%;
  background:var(--green);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:700;
  font-size:13.5px;
  margin-bottom:16px;
}
.process-step h3{ font-size:15px; margin-bottom:8px; }
.process-step p{ font-size:13px; color:var(--muted); margin:0; }

/* =========================================================================
   TEAM
   ========================================================================= */
.team-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
@media (max-width:760px){ .team-grid{ grid-template-columns:1fr; } }
.team-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px 24px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  transition:border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.team-card:hover{
  border-color:var(--green);
  box-shadow:0 8px 24px -12px rgba(58,140,63,.3);
}
.team-photo-wrap{
  width:96px; height:96px;
  border-radius:50%;
  overflow:hidden;
  border:3px solid var(--sky-deep);
  background:var(--sky);
  margin-bottom:16px;
  display:flex; align-items:center; justify-content:center;
}
.team-photo{
  width:100%; height:100%;
  object-fit:cover;
}
.team-card h3{ font-size:18px; margin-bottom:4px; }
.team-role{ font-size:13px; color:var(--green); font-weight:700; margin-bottom:12px; }
.team-bio{ font-size:13.5px; color:var(--muted); margin:0 0 18px; line-height:1.55; }
.team-linkedin{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12.5px;
  font-weight:700;
  color:var(--navy);
  background:var(--sky);
  padding:6px 12px;
  border-radius:20px;
  transition:background .2s var(--ease), color .2s var(--ease);
}
.team-linkedin:hover{
  background:var(--navy);
  color:#fff;
}

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-list{ max-width:820px; margin:0 auto; }
.faq-item{
  border-bottom:1px solid var(--border);
}
.faq-q{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:22px 4px;
  background:none;
  border:none;
  text-align:left;
  font-size:16px;
  font-weight:700;
  color:var(--navy);
  cursor:pointer;
}
.faq-q .plus{
  flex:0 0 auto;
  width:28px; height:28px;
  border-radius:50%;
  border:1.5px solid var(--green);
  color:var(--green);
  display:flex; align-items:center; justify-content:center;
  transition:transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.faq-q .plus svg{
  width:12px; height:12px;
  display:block;
}
.faq-item.is-open .plus{
  transform:rotate(45deg);
  background:var(--green);
  color:#fff;
  border-color:var(--green);
}
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .3s var(--ease);
}
.faq-a p{
  margin:0 0 22px;
  color:var(--muted);
  font-size:14.5px;
  max-width:70ch;
}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:48px;
  align-items:start;
}
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

.contact-form{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:32px;
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
@media (max-width:520px){ .form-row{ grid-template-columns:1fr; } }
.field{ margin-bottom:18px; }
.field label{
  display:block;
  font-size:13px;
  font-weight:700;
  color:var(--navy);
  margin-bottom:7px;
}
.field input, .field textarea, .field select.select-field{
  width:100%;
  border:1px solid var(--border);
  border-radius:5px;
  padding:12px 14px;
  font-family:var(--font);
  font-size:14.5px;
  color:var(--ink);
  background:var(--sky);
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select.select-field:focus{
  border-color:var(--green);
  background:#fff;
  outline:none;
}
.field textarea{ resize:vertical; min-height:120px; }
.form-note{
  font-size:12.5px;
  color:var(--muted);
  margin-top:6px;
}
.form-status{
  margin-top:14px;
  font-size:14px;
  font-weight:600;
}
.form-status.ok{ color:#1c7a3f; }
.form-status.err{ color:#b3261e; }

.info-card{
  background:var(--sky);
  border:1px solid var(--sky-deep);
  border-radius:var(--radius);
  padding:28px;
  margin-bottom:20px;
}
.info-row{
  display:flex;
  justify-content:space-between;
  padding:12px 0;
  border-bottom:1px solid var(--sky-deep);
  font-size:14.5px;
}
.info-row:last-child{ border-bottom:none; }
.info-row span:first-child{ color:var(--muted); font-weight:600; }
.info-row a:hover{ color:var(--green); }

.map-embed{
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  aspect-ratio:16/10;
}
.map-embed iframe{ width:100%; height:100%; border:0; display:block; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer{
  background:var(--navy-deep);
  color:#9FB6C6;
  padding:48px 0 24px;
}
.footer-top{
  display:flex;
  justify-content:space-between;
  gap:32px;
  flex-wrap:wrap;
  padding-bottom:32px;
  border-bottom:1px solid rgba(255,255,255,.12);
  margin-bottom:24px;
}
.footer-brand{ display:flex; align-items:center; gap:10px; }
.footer-brand img{ height:30px; }
.footer-brand b{ color:#fff; font-size:14px; }
.footer-links{
  display:flex;
  gap:28px;
  flex-wrap:wrap;
  font-size:13.5px;
}
.footer-links a:hover{ color:#fff; }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  font-size:12.5px;
}

/* =========================================================================
   PROJECTS & PLATFORM PAGE & HOMEPAGE PLATFORM SECTION
   ========================================================================= */

.nav-links a.active {
  color: var(--green);
}
.nav-links a.active::after {
  transform: scaleX(1);
}

/* --- Platform Section (Homepage) --- */
.platform-section {
  background: var(--navy-deep);
  color: #fff;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.platform-banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 960px) {
  .platform-banner {
    grid-template-columns: 1fr;
  }
}
.platform-title {
  color: #fff;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.2;
  margin-bottom: 16px;
}
.platform-lead {
  color: #c9dbe8;
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.platform-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.p-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 16px 20px;
  backdrop-filter: blur(8px);
}
.p-stat-val {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--amber);
  line-height: 1.2;
}
.p-stat-lbl {
  font-size: 12.5px;
  color: #b9cbd9;
  font-weight: 600;
}
.platform-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.platform-preview-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(12px);
}
.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.preview-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
}
.preview-count {
  font-size: 12px;
  color: #a3c2d8;
  font-weight: 600;
}
.preview-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.preview-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13.5px;
}
.loc-name {
  font-weight: 700;
  color: #fff;
}
.loc-cap {
  color: var(--amber);
  font-weight: 600;
  font-size: 12.5px;
}
.loc-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.loc-tag.tag-loi {
  background: rgba(58, 140, 63, 0.25);
  color: #8be490;
  border: 1px solid rgba(58, 140, 63, 0.4);
}
.loc-tag.tag-ts {
  background: rgba(212, 165, 49, 0.25);
  color: #ffe494;
  border: 1px solid rgba(212, 165, 49, 0.4);
}
.preview-more {
  display: block;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--amber);
  transition: color 0.2s var(--ease);
}
.preview-more:hover {
  color: #fff;
}

/* --- Projects Page Hero / Banner Header --- */
.projects-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #15432a 100%);
  color: #fff;
  padding: 110px 0 48px;
}
.projects-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.projects-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.projects-hero-title {
  color: #fff;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  margin-top: 6px;
}
.projects-hero-desc {
  color: #c9dbe8;
  font-size: 16px;
  max-width: 620px;
  margin-top: 10px;
}
.projects-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.projects-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .projects-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .projects-stats-grid {
    grid-template-columns: 1fr;
  }
}
.p-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.p-stat-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.p-stat-card-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b9cbd9;
}
.p-stat-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
}
.p-stat-card-num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.p-stat-card-num span {
  font-size: 16px;
  color: var(--amber);
  font-weight: 700;
  margin-left: 4px;
}
.p-stat-card-sub {
  font-size: 12px;
  color: #a3c2d8;
  margin-top: 4px;
}

/* --- Projects Toolbar --- */
.toolbar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 32px 0 24px;
  box-shadow: 0 4px 16px -4px rgba(27, 58, 92, 0.06);
}
.toolbar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.toolbar-left, .toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.view-btn-group {
  display: inline-flex;
  background: var(--sky);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--border);
  gap: 4px;
}
.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.view-btn.active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.view-btn:hover:not(.active) {
  color: var(--green);
}

.toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  background: var(--sky);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.toggle-label input {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.search-input-wrap {
  position: relative;
  min-width: 220px;
}
.search-input-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  width: 16px;
  height: 16px;
}
.search-input-wrap input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  font-family: var(--font);
  font-size: 13.5px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--sky);
  transition: all 0.2s var(--ease);
}
.search-input-wrap input:focus {
  background: #fff;
  border-color: var(--green);
  outline: none;
}

.filter-select {
  padding: 9px 12px;
  font-family: var(--font);
  font-size: 13.5px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.filter-select:focus {
  border-color: var(--green);
}

/* --- Projects Table --- */
.projects-table-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px -6px rgba(27, 58, 92, 0.08);
  margin-bottom: 32px;
}
.projects-table-header {
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.projects-table-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.projects-table-title .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(212, 165, 49, 0.3);
}
.projects-table-badge {
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
}

.table-responsive {
  overflow-x: auto;
}
.projects-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.projects-table th {
  background: var(--navy-deep);
  color: #fff;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.projects-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--sky-deep);
  color: var(--ink);
  vertical-align: middle;
}
.projects-table tbody tr {
  transition: background 0.15s var(--ease);
}
.projects-table tbody tr:hover {
  background: var(--sky);
}
.sr-num-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--sky);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 12px;
  color: var(--navy);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.status-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.status-badge.badge-loi {
  background: var(--green-light);
  color: var(--green-mid);
  border: 1px solid #b7e1bd;
}
.status-badge.badge-loi .dot {
  background: var(--green);
}
.status-badge.badge-ts {
  background: var(--amber-light);
  color: var(--amber-deep);
  border: 1px solid #fce3a6;
}
.status-badge.badge-ts .dot {
  background: var(--amber);
}
.status-badge.badge-inv {
  background: #EEF2FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
}
.status-badge.badge-inv .dot {
  background: #4F46E5;
}

.type-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}
.type-pill.type-bess {
  background: #F3E8FF;
  color: #6B21A8;
  border: 1px solid #E9D5FF;
}
.type-pill.type-pv {
  background: var(--amber-light);
  color: var(--amber-deep);
  border: 1px solid #fce3a6;
}

.cap-tag {
  display: inline-block;
  font-weight: 800;
  color: var(--navy);
  background: var(--sky);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
  font-size: 12.5px;
}

/* --- Project Cards Grid View --- */
.projects-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
@media (max-width: 960px) {
  .projects-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .projects-cards-grid {
    grid-template-columns: 1fr;
  }
}
.project-card-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.project-card-item:hover {
  transform: translateY(-3px);
  border-color: var(--green);
  box-shadow: 0 12px 28px -12px rgba(27, 58, 92, 0.12);
}
.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.project-card-meta {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.project-card-title {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.project-card-type-row {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}
.project-card-cap-box {
  background: var(--sky);
  border: 1px solid var(--sky-deep);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.project-card-cap-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--amber-deep);
}
.project-card-status-text {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.5;
}
.project-card-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--sky-deep);
}
.share-bar-wrap {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.share-bar-bg {
  height: 6px;
  background: var(--sky-deep);
  border-radius: 3px;
  overflow: hidden;
}
.share-bar-fill {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
}

/* --- Capacity Chart Section --- */
.chart-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 40px;
  box-shadow: 0 4px 20px -6px rgba(27, 58, 92, 0.06);
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.chart-title {
  font-size: 20px;
  color: var(--navy);
}
.chart-legend {
  display: flex;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  flex-wrap: wrap;
}
.chart-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.chart-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.chart-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chart-row-label {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.chart-row-sub {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.chart-track {
  height: 12px;
  background: var(--sky);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--sky-deep);
}
.chart-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s var(--ease);
}

/* --- Embed Modal --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 40, 64, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.is-open {
  display: flex;
}
.modal-card {
  background: #fff;
  border-radius: 12px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(15, 40, 64, 0.4);
  display: flex;
  flex-direction: column;
}
.modal-header {
  background: var(--navy);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 {
  color: #fff;
  font-size: 18px;
}
.modal-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s var(--ease);
}
.modal-close:hover {
  color: #fff;
}
.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}
.modal-textarea {
  width: 100%;
  height: 240px;
  font-family: monospace;
  font-size: 12px;
  padding: 14px;
  border-radius: 8px;
  background: var(--navy-deep);
  color: var(--amber);
  border: 1px solid var(--navy-light);
  resize: vertical;
}

.is-hidden {
  display: none !important;
}

@media print {
  .nav, .toolbar-card, .projects-hero-actions, .modal-backdrop, .footer {
    display: none !important;
  }
  .projects-hero {
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
  }
  .projects-hero-title, .p-stat-card-num {
    color: #000 !important;
  }
  .p-stat-card {
    border: 1px solid #ccc !important;
    background: #fff !important;
  }
  body {
    background: #fff !important;
  }
}

