:root {
  --ink: #081526;
  --navy: #0b1e3d;
  --blue: #1a6fe8;
  --cyan: #00bfb5;
  --green: #3bb273;
  --red: #e45858;
  --gold: #f6b64b;
  --paper: #ffffff;
  --mist: #f5f8fc;
  --line: #dbe5f3;
  --muted: #5c6f8c;
  --soft: #edf4ff;
  --shadow: 0 22px 60px rgba(8, 21, 38, 0.12);
  --radius: 8px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 229, 243, 0.9);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
}

.brand img { width: 42px; height: 42px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.nav-link-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: #293b56;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.nav-links a:hover,
.nav-link-button:hover,
.nav-links .active { background: var(--soft); color: var(--blue); }

.button.primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--blue), #0d51ba);
  box-shadow: 0 12px 28px rgba(26, 111, 232, 0.24);
}

.nav-cta {
  color: var(--navy) !important;
  background: var(--soft);
  border: 1.5px solid var(--blue);
  box-shadow: none;
}

.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  display: none;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.dropdown.open .dropdown-menu { display: grid; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  padding: 92px 0 76px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 30, 61, 0.96), rgba(15, 58, 112, 0.9)),
    url("../images/etp-1256x622.webp") center / cover;
}

.page-hero {
  padding: 98px 0 74px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 30, 61, 0.98), rgba(21, 85, 155, 0.88)),
    radial-gradient(circle at 80% 20%, rgba(0, 191, 181, 0.36), transparent 32%);
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 56px;
  align-items: center;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero h1 { font-size: clamp(38px, 5vw, 62px); }

.hero p,
.page-hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

.hero-actions,
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 800;
}

.button.secondary { background: rgba(255, 255, 255, 0.08); }
.button.light { color: var(--navy); background: #fff; border-color: #fff; }
.button.ghost { color: var(--blue); background: var(--soft); border-color: var(--soft); }

.button:hover { opacity: 0.88; }
.button.primary:hover,
.nav-cta:hover { filter: brightness(1.1); opacity: 1; }
.button.light:hover { background: var(--mist); opacity: 1; }
.button.ghost:hover { background: #dce9ff; opacity: 1; }

.dashboard {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.metric strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
}

.metric span { color: var(--muted); font-size: 13px; }

.bars {
  display: flex;
  align-items: end;
  height: 150px;
  gap: 9px;
  margin: 22px 0;
  padding: 16px;
  border-radius: var(--radius);
  background: #f8fbff;
}

.bar {
  flex: 1;
  min-width: 14px;
  border-radius: 5px 5px 0 0;
  background: var(--blue);
}

.bar:nth-child(even) { background: var(--cyan); }

.progress-list { display: grid; gap: 12px; }

.progress-line {
  display: grid;
  grid-template-columns: 118px 1fr 42px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

.track {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #dfe8f4;
}

.fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

section { padding: 86px 0; }

.section-alt { background: var(--mist); }

.section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head.left {
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.2; }
h4 { margin: 0 0 8px; font-size: 19px; line-height: 1.25; }
p { margin: 0; color: var(--muted); }

.grid-3,
.grid-2,
.grid-1 {
  display: grid;
  gap: 22px;
}

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

.card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 34px rgba(8, 21, 38, 0.06);
}

.card.dark {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.card.dark p,
.card.dark li { color: rgba(255, 255, 255, 0.76); }

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--blue);
  background: var(--soft);
}

.icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.feature-list,
.check-list {
  display: grid;
  gap: 13px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--cyan);
}

.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.band {
  padding: 70px 0;
  color: #fff;
  background: var(--navy);
}

.band p { color: rgba(255, 255, 255, 0.72); }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.stat {
  padding: 34px 18px;
  text-align: center;
  background: #fff;
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 24px;
  align-items: start;
}

.form {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  border-color: var(--blue);
}

.notice {
  padding: 16px;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: var(--soft);
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #06111f;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

.reveal.visible {
  transform: none;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; opacity: 1; transition: none; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }
  .site-nav.open .nav-links { display: grid; }
  .nav-links a,
  .nav-link-button { width: 100%; justify-content: flex-start; }
  .dropdown-menu {
    position: static;
    display: none;
    margin: 6px 0 8px 12px;
    box-shadow: none;
  }
  .dropdown.open .dropdown-menu { display: grid; }
  .hero-grid,
  .split,
  .contact-grid { grid-template-columns: 1fr; }
  .grid-3,
  .grid-2,
  .stat-strip,
  .field-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 70px; }
  section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand span { display: none; }
  .hero-actions,
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .metric-row { grid-template-columns: 1fr; }
  .progress-line { grid-template-columns: 1fr; }
}
