:root {
  --navy: #06111f;
  --navy-2: #0b1c31;
  --blue: #0f4c81;
  --cyan: #1bc7df;
  --gold: #d7a642;
  --red: #c62038;
  --ink: #142033;
  --muted: #66788f;
  --line: #dce6f1;
  --soft: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 20px 48px rgba(6, 17, 31, 0.14);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.topbar {
  background: #020814;
  color: #b9c8d9;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cn { color: var(--gold); font-weight: 700; }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 17, 31, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 6px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 900;
  letter-spacing: .02em;
}
.brand-logo {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain;
  flex: 0 0 34px;
  border-radius: 6px;
  background: var(--white);
  padding: 2px;
  box-shadow: 0 6px 16px rgba(27,199,223,.16);
}
.brand small {
  display: block;
  margin-top: 1px;
  color: #9fb2c8;
  font-size: 11px;
  letter-spacing: .15em;
}
.nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #d9e7f6;
  font-size: 14px;
  font-weight: 700;
}
.nav a:hover, .nav a.active { color: var(--cyan); }
.nav-cta {
  background: var(--cyan);
  color: #06111f !important;
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: 900;
}

.hero {
  min-height: 690px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6,17,31,.94), rgba(6,17,31,.72) 50%, rgba(6,17,31,.22)),
    url("img/panga-energy.jpg") center/cover no-repeat;
}
.hero-inner { width: min(780px, 100%); padding: 98px 0 122px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
  color: #d9eef5;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
h1 {
  margin: 22px 0 18px;
  color: var(--white);
  font-size: clamp(44px, 7vw, 78px);
  line-height: .96;
  letter-spacing: 0;
}
h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}
h3 { color: var(--navy); margin: 0 0 10px; }
p { margin: 0 0 15px; }
.lead {
  color: #dbe8f5;
  font-size: 19px;
  max-width: 730px;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
}
.btn-primary { background: var(--cyan); color: #04101f; }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-outline { color: var(--white); border-color: rgba(255,255,255,.42); }
.btn:hover { transform: translateY(-2px); }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 760px;
  margin-top: 44px;
}
.stat {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.1);
}
.stat strong { display: block; color: var(--gold); font-size: 28px; }
.stat span { color: #d8e6f5; font-size: 13px; }

section { padding: 88px 0; }
.soft { background: var(--soft); }
.dark { background: var(--navy); color: #d5e4f4; }
.dark h2, .dark h3 { color: var(--white); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}
.section-head p { max-width: 620px; color: var(--muted); }
.dark .section-head p { color: #b9c8d9; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-pad { padding: 28px; }
.image-tall { width: 100%; height: 430px; object-fit: cover; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(6,17,31,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card figure { margin: 0; position: relative; background: #d9e4ee; }
.card img { width: 100%; height: 240px; object-fit: cover; }
.badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 5px;
  background: rgba(6,17,31,.88);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body p { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.tag {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--blue);
  background: #eaf7fb;
  border: 1px solid #cdeaf3;
  font-size: 12px;
  font-weight: 800;
}

.step {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
}
.step strong {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--cyan);
  color: var(--navy);
  margin-bottom: 16px;
}
.step p { color: #b9c8d9; }

.page-hero {
  padding: 86px 0;
  background:
    linear-gradient(90deg, rgba(6,17,31,.94), rgba(6,17,31,.78)),
    url("img/megatechs.jpg") center/cover no-repeat;
  color: var(--white);
}
.page-hero h1 { font-size: clamp(38px, 6vw, 64px); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; color: var(--muted); }
.contact-list strong { display: block; color: var(--navy); }
form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: 14px; font-weight: 800; color: var(--navy); }
input, select, textarea {
  width: 100%;
  margin-top: 6px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
  background: #fbfdff;
  color: var(--ink);
}
textarea { min-height: 130px; resize: vertical; }
.submit { width: 100%; border: 0; }

footer {
  background: #020814;
  color: #aebed0;
  padding: 36px 0;
  font-size: 14px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  padding: 12px 16px;
  border-radius: 999px;
  background: #25d366;
  color: #062611;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(37,211,102,.3);
}

@media (max-width: 980px) {
  .nav ul { display: none; }
  .grid-2, .grid-3, .grid-4, .contact-grid, .stats { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .hero { min-height: auto; }
  .hero-inner { padding: 76px 0 92px; }
}
@media (max-width: 620px) {
  section { padding: 62px 0; }
  .form-row { grid-template-columns: 1fr; }
  .image-tall { height: 300px; }
  .card img { height: 220px; }
  .brand span { font-size: 14px; }
}
