:root {
  --navy: #002060;
  --navy-dark: #00143d;
  --cyan: #4bccff;
  --ink: #17223b;
  --muted: #5d6678;
  --light: #f4f7fb;
  --white: #fff;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 68px; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Segoe UI", Raleway, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 0.65em; line-height: 1.18; }
h1 { font-size: clamp(2.45rem, 6.6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.15em; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.eyebrow {
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-heading { max-width: 880px; margin-bottom: 50px; }
.section-heading p { color: var(--muted); font-size: 1.2rem; }
.button {
  display: inline-block;
  padding: 12px 21px;
  border: 2px solid var(--cyan);
  border-radius: 2px;
  background: var(--cyan);
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); background: #91e2ff; }
.button-outline { background: transparent; color: var(--white); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  width: 100%;
  background: transparent;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease;
}
.site-header.scrolled, .site-header.open { background: var(--navy); box-shadow: 0 8px 26px rgb(0 0 0 / 0.16); }
.nav-wrap { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 91px; height: 55px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-links a:hover, .nav-links a:focus { color: var(--cyan); }
.language { padding-left: 18px; border-left: 1px solid rgb(255 255 255 / 0.35); }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 1.6rem;
  cursor: pointer;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  padding: 118px 0 70px;
  overflow: hidden;
  background: var(--navy-dark) url("images/hero.png") center / cover no-repeat;
  color: var(--white);
  text-align: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgb(0 20 61 / 0.58); }
.hero-content { position: relative; max-width: 1050px; }
.hero h1 { max-width: 100%; letter-spacing: 0.01em; overflow-wrap: break-word; text-wrap: balance; }
.hero h1 span { color: var(--cyan); }
.hero .lead { max-width: 850px; margin: 0 auto 32px; font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 700; text-transform: uppercase; }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.intro { text-align: center; }
.intro .section-heading { margin-inline: auto; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.benefit { padding: 18px 22px; }
.benefit img { width: 140px; margin: 0 auto 20px; }
.benefit h3 { font-weight: 500; }

.technology { background: var(--light); }
.tech-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 7vw, 90px); }
.challenge-list { padding: 0; margin: 25px 0; list-style: none; }
.challenge-list li { padding: 12px 0 12px 27px; position: relative; border-bottom: 1px solid #dce3ed; }
.challenge-list li::before { content: "•"; position: absolute; left: 5px; color: var(--cyan); font-weight: 900; }
.engine { background: var(--navy); color: var(--white); }
.engine .muted { color: #d5dcf1; }
.engine-visual { max-width: 400px; margin-inline: auto; }

.portfolio-grid { display: grid; gap: 26px; grid-template-columns: repeat(2, 1fr); }
.project { overflow: hidden; border: 1px solid #e1e7ef; background: var(--white); box-shadow: 0 14px 35px rgb(0 31 97 / 0.08); }
.project img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.project-copy { padding: 27px; }
.project-label { margin-bottom: 8px; color: var(--navy); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.09em; }
.project h3 { margin-bottom: 8px; }
.project p { margin-bottom: 0; color: var(--muted); }
.project a { color: var(--navy); text-decoration-color: var(--cyan); text-underline-offset: 4px; }
.featured-project { position: relative; border-top: 5px solid var(--cyan); }
.featured-project .project-copy a::after { position: absolute; inset: 0; content: ""; }
.featured-project .project-art {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  padding: 30px;
  background: linear-gradient(135deg, var(--navy), #0b4890);
  color: white;
  text-align: center;
}
.featured-project .project-art strong { display: block; color: var(--cyan); font-size: clamp(2rem, 5vw, 4rem); line-height: 1; }

.about { padding-bottom: 0; background: var(--navy); color: var(--white); text-align: center; }
.about-copy { max-width: 900px; margin-inline: auto; }
.about p { color: #e1e7f4; }
.team-banner { min-height: 360px; margin-top: 55px; background: url("images/team.jpg") center / cover no-repeat; }
.contact { background: var(--navy); color: var(--white); }
.contact-intro { max-width: 900px; margin: 0 auto 48px; text-align: center; }
.contact-intro a { color: var(--cyan); }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: center; }
.person img { width: 180px; height: 180px; margin: auto; border-radius: 50%; object-fit: cover; }
.person h3 { margin: 17px 0 2px; }
.person p { color: #dce4f5; font-size: 0.9rem; }
.person a { color: var(--cyan); }
.address { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 820px; margin: 65px auto 0; padding-top: 42px; border-top: 1px solid rgb(255 255 255 / 0.25); }
.footer { padding: 24px 20px; background: var(--navy-dark); color: #b7c2dc; font-size: 0.82rem; text-align: center; }

.article-hero { padding: 145px 0 78px; background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: white; }
.article-hero h1 { max-width: 1000px; font-size: clamp(2.3rem, 5vw, 4.3rem); }
.article-hero .summary { max-width: 850px; font-size: 1.25rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 260px; align-items: start; gap: 70px; }
.article { padding: 80px 0; }
.article section { padding: 0 0 55px; margin-bottom: 55px; border-bottom: 1px solid #dce3ed; }
.article section:last-child { border: 0; }
.article h2 { font-size: clamp(1.7rem, 3vw, 2.55rem); }
.article li { margin-bottom: 12px; }
.article a { color: #064c91; overflow-wrap: anywhere; }
.stat { padding: 25px; margin: 28px 0; border-left: 5px solid var(--cyan); background: var(--light); font-size: 1.1rem; }
.price { color: var(--navy); font-size: 2rem; font-weight: 800; }
.article-nav { position: sticky; top: 95px; padding: 25px; background: var(--light); }
.article-nav strong { display: block; margin-bottom: 12px; }
.article-nav a { display: block; padding: 6px 0; color: var(--muted); font-size: 0.85rem; text-decoration: none; }
.article-nav a:hover { color: var(--navy); }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    padding: 20px;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-header.open .nav-links { display: flex; }
  .nav-links a { padding: 10px; }
  .language { border: 0; padding-left: 10px; }
  .benefit-grid, .people { grid-template-columns: 1fr; }
  .tech-split { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-nav { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding-block: 64px; }
  .hero { min-height: 760px; }
  .hero .lead { font-size: 0.9rem; }
  .hero h1 { text-wrap: wrap; }
  .address { grid-template-columns: 1fr; }
  .team-banner { min-height: 190px; }
  .article-hero { padding-top: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
