:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5d6974;
  --line: #d9e1e8;
  --panel: #ffffff;
  --soft: #f4f8fb;
  --accent: #0f8f83;
  --accent-dark: #09685f;
  --gold: #e4ad38;
  --navy: #19304a;
  --shadow: 0 18px 48px rgba(28, 45, 63, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  box-shadow: 0 12px 24px rgba(15, 143, 131, 0.24);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.76);
  transform: rotate(36deg);
}

.brand-mark::after {
  transform: rotate(-36deg);
}

.mark-core {
  position: relative;
  z-index: 2;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(228, 173, 56, 0.25);
}

.mark-node {
  position: absolute;
  z-index: 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.node-one {
  top: 9px;
  left: 11px;
}

.node-two {
  right: 9px;
  top: 17px;
}

.node-three {
  bottom: 10px;
  left: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: var(--accent-dark);
}

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

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

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(48px, 8vw, 100px) clamp(18px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 24, 37, 0.88), rgba(11, 24, 37, 0.58)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=82") center/cover;
  color: #fff;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 24vh;
  content: "";
  background: linear-gradient(0deg, var(--soft), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.button.full {
  width: 100%;
}

.hero-media {
  position: absolute;
  right: clamp(18px, 6vw, 90px);
  bottom: 14vh;
  z-index: 1;
  width: min(430px, 42vw);
  aspect-ratio: 1.2;
  opacity: 0.82;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  height: 100%;
}

.vision-grid span {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(15, 143, 131, 0.16);
}

.vision-grid span:nth-child(3),
.vision-grid span:nth-child(6),
.vision-grid span:nth-child(11) {
  border-color: var(--gold);
  background: rgba(228, 173, 56, 0.28);
}

.scan-line {
  position: absolute;
  top: 18%;
  right: -3%;
  left: -3%;
  height: 3px;
  background: var(--gold);
  box-shadow: 0 0 28px rgba(228, 173, 56, 0.85);
  animation: scan 5s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(230px); }
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  background: var(--soft);
}

.intro h2,
.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.intro p:last-child,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.solution-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.solution-card,
.project-card,
.steps > div,
.contact-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.solution-card {
  min-height: 250px;
  padding: 24px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
}

.solution-card h3,
.project-card h3,
.steps h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.solution-card p,
.project-card p,
.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.project-section {
  background: #fff;
}

.project-card {
  min-height: 215px;
  padding: 22px;
}

.project-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--accent-dark);
  background: #e7f6f3;
  font-size: 0.78rem;
  font-weight: 800;
}

.process {
  background: #eef4f7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps > div {
  padding: 26px;
}

.steps strong {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 1.8rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--navy);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  padding: 24px;
  color: var(--ink);
}

.contact-panel p {
  margin: 0 0 18px;
  color: var(--ink);
}

.contact-panel span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer {
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1050px) {
  .solution-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-media {
    width: min(340px, 38vw);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 67px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: calc(100vh - 68px);
    padding-top: 54px;
  }

  .hero-media {
    right: 18px;
    bottom: 10vh;
    width: min(150px, 38vw);
    opacity: 0.42;
  }

  .intro,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .project-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 430px) {
  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    display: none;
  }

  .hero-actions .button {
    width: 100%;
  }
}
