:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #eef3ff;
  --primary: #0d3b66;
  --primary-2: #0b6bbf;
  --accent: #f59e0b;
  --accent-soft: #fff2d8;
  --text: #112033;
  --muted: #5d6b7c;
  --line: rgba(17, 32, 51, 0.08);
  --shadow: 0 24px 60px rgba(13, 59, 102, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(245, 247, 251, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  width: 210px;
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--primary-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 30px rgba(11, 107, 191, 0.22);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid rgba(13, 59, 102, 0.14);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  margin: 6px 0;
  border-radius: 2px;
}

.hero {
  position: relative;
  padding: 72px 0 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(11, 107, 191, 0.16), transparent 32%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary-2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-copy h1,
.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.06em;
  color: var(--text);
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  max-width: 620px;
}

.subtitle {
  margin-top: 18px;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.mini-stats {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.mini-stats li {
  min-width: 120px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
}

.mini-stats strong {
  display: block;
  font-size: 1.3rem;
  color: var(--primary);
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.panel {
  width: min(100%, 460px);
  background: linear-gradient(180deg, #101d2a 0%, #183a5d 100%);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: auto -40px -90px auto;
  width: 180px;
  height: 180px;
  background: rgba(245, 158, 11, 0.22);
  border-radius: 50%;
}

.panel-header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff6b6b; }
.dot-yellow { background: #f6c453; }
.dot-green { background: #57d38c; }

.panel-body {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 18px;
}

.metric-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #eaf4ff;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.metric-box span {
  opacity: 0.8;
}

.metric-box strong {
  font-size: clamp(2rem, 4vw, 3rem);
}

.chart-bars {
  margin-top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 120px;
}

.chart-bars span {
  display: block;
  width: 100%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #5cc8ff, #f59e0b);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.2);
}

.list-demo {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.list-demo div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: #eff8ff;
}

.list-demo b {
  color: #7ef0b1;
}

.trust-bar {
  padding: 14px 0 2px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.trust-grid span {
  padding: 14px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.section {
  padding: 88px 0;
}

.alt-bg {
  background: var(--surface-alt);
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.cards-grid {
  display: grid;
  gap: 24px;
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(17, 32, 51, 0.04);
}

.service-card {
  padding: 28px 24px;
}

.icon-box {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.12), rgba(11, 107, 191, 0.2));
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 20px;
}

.service-card h3,
.project-info h3 {
  margin: 0 0 12px;
  font-size: 1.42rem;
}

.service-card p,
.project-info p,
.about-copy p,
.contact-intro {
  margin: 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.about-copy {
  max-width: 600px;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-points {
  display: grid;
  gap: 18px;
}

.point-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px 20px;
  box-shadow: 0 10px 24px rgba(17, 32, 51, 0.04);
}

.point-box strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
  color: var(--primary);
}

.point-box span {
  color: var(--muted);
}

.project-card {
  overflow: hidden;
}

.project-thumb {
  height: 210px;
  background-size: cover;
  background-position: center;
}

.thumb-one {
  background: linear-gradient(135deg, rgba(13,59,102,0.7), rgba(11,107,191,0.8)),
    url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=900&q=80") center/cover;
}

.thumb-two {
  background: linear-gradient(135deg, rgba(18,55,89,0.7), rgba(245,158,11,0.7)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80") center/cover;
}

.thumb-three {
  background: linear-gradient(135deg, rgba(7,42,73,0.7), rgba(45,136,212,0.8)),
    url("https://images.unsplash.com/photo-1521572267360-ee0c2909d518?auto=format&fit=crop&w=900&q=80") center/cover;
}

.project-info {
  padding: 22px 20px 24px;
}

.contact-section {
  background: linear-gradient(180deg, var(--surface-alt), rgba(255,255,255,0.25));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 14px;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-list li strong {
  color: var(--text);
  text-align: right;
}

.full-width {
  width: 100%;
}

.site-footer {
  background: #0c1d2d;
  color: #dfeaf8;
  padding: 24px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-wrap p {
  margin: 0;
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: 0 18px 40px rgba(17, 32, 51, 0.08);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .btn {
    padding: 0.8rem 1.2rem;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .three-col {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    min-height: 72px;
  }

  .brand {
    width: 160px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .mini-stats {
    flex-direction: column;
  }

  .contact-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-list li strong {
    text-align: left;
  }
}
