:root {
  --navy: #0D1B2A;
  --navy-deep: #091421;
  --navy-raise: #112338;
  --royal: #1B3A6B;
  --steel: #415A77;
  --teal: #16B5C4;
  --teal-hover: #2cc7d5;
  --gray: #F2F4F7;
  --white: #FFFFFF;
  --text: #F2F4F7;
  --muted: #A3B1C2;
  --line: rgba(65, 90, 119, 0.45);
  --line-soft: rgba(65, 90, 119, 0.25);
  --head: "Sora", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--text);
  background: var(--navy);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(13, 27, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo img { height: 58px; width: auto; }
.nav-links { display: flex; gap: 36px; align-items: center; list-style: none; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color 0.2s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-family: var(--body); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--teal); background: var(--teal); color: var(--navy);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--teal-hover); border-color: var(--teal-hover); transform: translateY(-1px); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--steel); }
.btn-ghost:hover { background: rgba(65, 90, 119, 0.2); border-color: var(--muted); }
.nav-links .btn { padding: 10px 22px; color: var(--navy); }
.nav-links .btn:hover { color: var(--navy); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 128px 0 120px;
  background:
    radial-gradient(ellipse 70% 60% at 85% 30%, rgba(27, 58, 107, 0.55), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--teal); }
.hero h1 {
  font-family: var(--head); font-weight: 600;
  font-size: clamp(40px, 5.4vw, 68px); line-height: 1.08; letter-spacing: -0.03em;
  color: var(--white);
}
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 580px; margin: 28px 0 44px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: end; width: 100%; }
.hero-art svg { width: 100%; height: 100%; }

/* Divisions strip */
.strip { border-bottom: 1px solid var(--line-soft); background: var(--navy-deep); }
.strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-item { padding: 28px 24px; border-left: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.strip-item:last-child { border-right: 1px solid var(--line-soft); }
.strip-item strong { display: block; font-family: var(--head); font-weight: 600; font-size: 15px; color: var(--white); margin-bottom: 2px; }

/* Sections */
section { padding: 112px 0; }
.section-head { max-width: 680px; margin-bottom: 64px; }
.section-head h2 {
  font-family: var(--head); font-weight: 600;
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -0.025em;
  color: var(--white); margin-bottom: 18px;
}
.section-head p { color: var(--muted); font-size: 18px; }
.band { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* Services */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  position: relative;
  background: linear-gradient(180deg, rgba(27, 58, 107, 0.32) 0%, rgba(17, 35, 56, 0.6) 100%);
  border: 1px solid var(--line);
  border-radius: 8px; padding: 40px 34px 34px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pillar::before {
  content: ""; position: absolute; top: -1px; left: 34px; right: 34px; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.pillar:hover { border-color: var(--steel); transform: translateY(-4px); }
.pillar:hover::before { transform: scaleX(1); }
.pillar-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.icon {
  width: 52px; height: 52px; border-radius: 8px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(13, 27, 42, 0.6);
}
.icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.num { font-family: var(--head); font-size: 13px; color: var(--steel); letter-spacing: 0.08em; }
.pillar h3 { font-family: var(--head); font-weight: 600; font-size: 24px; letter-spacing: -0.015em; color: var(--white); margin-bottom: 12px; }
.pillar > p { color: var(--muted); font-size: 15.5px; margin-bottom: 26px; }
.pillar ul { list-style: none; border-top: 1px solid var(--line-soft); }
.pillar li { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: var(--gray); }
.pillar li small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }

/* How we work */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.point { padding: 40px 36px 8px 0; }
.point + .point { padding-left: 36px; border-left: 1px solid var(--line-soft); }
.point .step { font-family: var(--head); font-size: 13px; color: var(--teal); letter-spacing: 0.08em; margin-bottom: 16px; }
.point h3 { font-family: var(--head); font-weight: 600; font-size: 20px; color: var(--white); margin-bottom: 12px; letter-spacing: -0.01em; }
.point p { color: var(--muted); font-size: 16px; }
.languages {
  margin-top: 72px; padding: 28px 32px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 8px;
  background: rgba(27, 58, 107, 0.18);
}
.languages .label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.lang-list { display: flex; gap: 10px; flex-wrap: wrap; }
.lang-list span { padding: 6px 14px; border: 1px solid var(--line); border-radius: 100px; font-size: 14px; color: var(--gray); }
.languages .note { font-size: 14px; color: var(--muted); }

/* Experience */
.exp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.exp-item {
  padding: 34px 30px; border-radius: 8px;
  border: 1px solid var(--line-soft); background: var(--navy-raise);
  transition: border-color 0.3s var(--ease);
}
.exp-item:hover { border-color: var(--line); }
.exp-item .tag { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.exp-item h3 { font-family: var(--head); font-size: 19px; font-weight: 600; color: var(--white); margin-bottom: 10px; letter-spacing: -0.01em; }
.exp-item p { color: var(--muted); font-size: 15.5px; }

/* CTA */
.cta { padding: 0 0 112px; }
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  padding: 88px 32px; border-radius: 10px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse 80% 120% at 50% 0%, rgba(27, 58, 107, 0.75), rgba(13, 27, 42, 0.2) 70%), var(--navy-deep);
}
.cta-box h2 { font-family: var(--head); font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.025em; color: var(--white); margin-bottom: 16px; }
.cta-box p { color: var(--muted); margin: 0 auto 36px; font-size: 18px; max-width: 540px; }

/* Contact */
.contact-page {
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(27, 58, 107, 0.5), transparent 70%),
    var(--navy);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; padding: 112px 0; align-items: start; }
.contact-intro h1 { font-family: var(--head); font-weight: 600; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.1; letter-spacing: -0.03em; color: var(--white); margin-bottom: 22px; }
.contact-intro p { color: var(--muted); font-size: 18px; margin-bottom: 18px; }
.checklist { list-style: none; margin-top: 32px; border-top: 1px solid var(--line-soft); }
.checklist li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; color: var(--gray); }
.checklist li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
form {
  background: linear-gradient(180deg, rgba(27, 58, 107, 0.3) 0%, rgba(17, 35, 56, 0.7) 100%);
  border: 1px solid var(--line); border-radius: 10px; padding: 44px;
}
.field { margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 9px; color: var(--gray); letter-spacing: 0.01em; }
input, select, textarea {
  width: 100%; font-family: var(--body); font-size: 16px; color: var(--white);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px;
  background: rgba(9, 20, 33, 0.7);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A3B1C2' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
select option, select optgroup { background: var(--navy); color: var(--white); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(22, 181, 196, 0.15); }
textarea { min-height: 170px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
form .btn { width: 100%; justify-content: center; margin-top: 6px; }
form .btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.form-status { margin-top: 18px; font-size: 15px; min-height: 1em; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #f08a7a; }

/* Footer */
footer { background: var(--navy-deep); border-top: 1px solid var(--line-soft); padding: 56px 0 40px; font-size: 14px; color: var(--muted); }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 36px; border-bottom: 1px solid var(--line-soft); }
.foot-top img { height: 44px; width: auto; }
.foot-links { display: flex; gap: 28px; list-style: none; }
.foot-links a { text-decoration: none; transition: color 0.2s var(--ease); }
.foot-links a:hover { color: var(--teal); }
.foot-bottom { padding-top: 28px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .pillars, .exp { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr; }
  .point, .point + .point { padding: 32px 0; border-left: none; border-bottom: 1px solid var(--line-soft); }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item { border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; padding: 72px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 72px; }
  .logo img { height: 40px; }
  .nav-links li:not(:last-child) { display: none; }
  .hero { padding: 80px 0 72px; }
  section { padding: 80px 0; }
  .cta { padding-bottom: 80px; }
  .cta-box { padding: 64px 24px; }
  form { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .languages { padding: 24px; }
}
