:root {
  --bg: #05070d;
  --bg-soft: #0a1020;
  --panel: rgba(10, 18, 34, 0.72);
  --panel-strong: rgba(10, 18, 34, 0.92);
  --surface: #10182b;
  --surface-alt: #111f37;
  --text: #edf2ff;
  --muted: #aab7d4;
  --line: rgba(196, 211, 255, 0.16);
  --gold: #d8b36a;
  --gold-soft: rgba(216, 179, 106, 0.18);
  --silver: #dce4f4;
  --navy: #0c1730;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --transition: 0.35s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 179, 106, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(76, 122, 207, 0.12), transparent 30%),
    linear-gradient(180deg, #06080f 0%, #08101c 48%, #04060b 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  line-height: 1.1;
  font-family: "Playfair Display", serif;
  color: var(--silver);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--muted {
  background: linear-gradient(180deg, rgba(10, 15, 27, 0.9), rgba(7, 11, 22, 0.95));
}

.section--accent {
  padding: 0 0 96px;
}

.section--cta {
  padding-top: 24px;
}

.section-tag,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 700;
}

.section-tag::before,
.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-heading h2,
.section-copy h2,
.cta-panel h2,
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: var(--transition);
}

.site-header.scrolled,
.inner-header {
  background: rgba(5, 9, 18, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  z-index: 55;
}

.brand__mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(216, 179, 106, 0.28), rgba(17, 31, 55, 0.95));
  border: 1px solid rgba(216, 179, 106, 0.35);
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__text strong {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  position: relative;
  color: rgba(237, 242, 255, 0.88);
  font-size: 0.95rem;
  transition: var(--transition);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--silver);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(6, 10, 19, 0.84);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--silver);
  margin: 5px auto;
  transition: var(--transition);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 132px 0 80px;
  overflow: hidden;
}

.hero__media,
.page-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(3, 7, 15, 0.35), rgba(3, 7, 15, 0.88)),
    url("images/hero-energy.svg") center/cover no-repeat;
  opacity: 0.68;
}

.hero__grid,
.page-hero::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent);
}

.hero__content,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  display: grid;
  gap: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 6.4rem);
  max-width: 900px;
}

.hero__lead {
  font-size: 1.08rem;
  max-width: 720px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__actions--center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(135deg, #f1d69a, #c49338);
  color: #101010;
  box-shadow: 0 14px 34px rgba(216, 179, 106, 0.35);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(216, 179, 106, 0.34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero__metrics,
.card-grid,
.pillars,
.footer-grid,
.dual-banner,
.dashboard-grid,
.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.hero__metrics {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1rem;
}

.glass-card,
.service-card,
.pillar,
.insight-card,
.feature-panel,
.dashboard-panel,
.contact-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.metric-card,
.glass-card,
.service-card,
.pillar,
.insight-card,
.dashboard-panel,
.contact-panel {
  padding: 1.65rem;
}

.metric-card strong,
.stats-band strong,
.feature-panel__stats strong,
.dashboard-value {
  display: block;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  color: var(--gold);
  font-family: "Playfair Display", serif;
}

.metric-card span,
.feature-panel__stats span,
.stats-band span {
  color: var(--muted);
  font-size: 0.92rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.split-section--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-panel {
  padding: 1.25rem;
}

.feature-panel__visual {
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(12, 23, 48, 0.88), rgba(5, 9, 18, 0.92));
}

.feature-panel__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.feature-panel__stats div {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.pillar,
.insight-card {
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover,
.pillar:hover,
.insight-card:hover,
.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(216, 179, 106, 0.36);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.icon-badge {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(216, 179, 106, 0.22), rgba(25, 41, 72, 0.95));
  border: 1px solid rgba(216, 179, 106, 0.28);
  color: var(--gold);
  font-weight: 800;
}

.pillars {
  grid-template-columns: repeat(4, 1fr);
}

.pillars--stacked {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.8rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(216, 179, 106, 0.12), rgba(12, 23, 48, 0.82));
  border: 1px solid rgba(216, 179, 106, 0.2);
}

.operations-map {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.96), rgba(8, 12, 24, 0.96));
}

.operations-map--large {
  min-height: 420px;
}

.operations-map img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.route {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 14px rgba(216, 179, 106, 0.5);
  animation: routePulse 4.5s linear infinite;
}

.route--one {
  top: 36%;
  left: 15%;
  width: 56%;
  transform: rotate(14deg);
}

.route--two {
  top: 56%;
  left: 28%;
  width: 46%;
  transform: rotate(-17deg);
  animation-delay: 1s;
}

.route--three {
  top: 44%;
  left: 48%;
  width: 28%;
  transform: rotate(40deg);
  animation-delay: 2s;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.inline-list li,
.benefit-list span {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--silver);
  font-size: 0.92rem;
}

.benefit-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.dual-banner {
  grid-template-columns: repeat(2, 1fr);
}

.cta-panel {
  padding: 2.5rem;
  text-align: center;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, rgba(216, 179, 106, 0.14), rgba(10, 18, 34, 0.92));
  border: 1px solid rgba(216, 179, 106, 0.2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  color: var(--gold);
  font-weight: 700;
}

.text-link::after {
  content: "\2192";
}

.page-hero {
  position: relative;
  padding: 170px 0 92px;
  overflow: hidden;
}

.page-hero p {
  max-width: 760px;
  font-size: 1.05rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.2rem;
  padding: 1.4rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline__item span:first-child {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(216, 179, 106, 0.2), rgba(17, 31, 55, 0.92));
  color: var(--gold);
  font-weight: 800;
}

.expertise-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
}

.dashboard-grid {
  grid-template-columns: repeat(2, 1fr);
}

.skill-meter + .skill-meter {
  margin-top: 1.2rem;
}

.skill-meter__label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  color: var(--silver);
}

.skill-meter__track {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #bb8b31, #f2d79d);
  transition: width 1.4s ease;
}

.stats-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.3rem;
}

.stats-stack div {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-stack strong {
  display: inline-block;
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  line-height: 1;
}

.contact-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 1.5rem;
}

.contact-panel__actions {
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.contact-panel__actions .btn {
  min-width: 170px;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 420px;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(1) invert(0.92) hue-rotate(175deg) saturate(0.55) contrast(1.1);
}

.site-footer {
  padding: 72px 0 22px;
  background: rgba(3, 5, 10, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  align-items: start;
}

.brand--footer {
  align-items: flex-start;
  gap: 1rem;
}

.brand--footer .brand__mark {
  margin-bottom: 0.35rem;
}

.brand--footer .brand__text {
  gap: 0.15rem;
}

.footer-grid h3 {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 0.72rem;
  color: var(--muted);
}

.footer-copy {
  max-width: 420px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-row {
  display: flex;
  gap: 0.75rem;
}

.social-row a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-weight: 700;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  gap: 1rem;
  background: radial-gradient(circle at center, rgba(18, 27, 48, 0.92), rgba(2, 4, 8, 0.98));
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__ring {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--gold);
  animation: spin 1.1s linear infinite;
}

.loader__text {
  color: var(--silver);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(216, 179, 106, 0.92), rgba(149, 101, 21, 0.95));
  color: #111;
  box-shadow: 0 16px 38px rgba(216, 179, 106, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-cta {
  position: fixed;
  left: 18px;
  bottom: 22px;
  z-index: 42;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(8, 14, 26, 0.9);
  border: 1px solid rgba(216, 179, 106, 0.22);
  color: var(--silver);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  transition: var(--transition);
}

.floating-cta a:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 179, 106, 0.44);
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes routePulse {
  0%,
  100% {
    opacity: 0.2;
    filter: blur(0);
  }
  50% {
    opacity: 1;
    filter: blur(0.5px);
  }
}
