:root {
  --bg: #0b0f12;
  --surface: #1f2a30;
  --surface-soft: #182228;
  --text: #e6f2f4;
  --muted: #a9bcc1;
  --border: #718188;
  --line: #26343a;
  --accent: #0ea5b0;
  --accent-bright: #22d3ee;
  --accent-soft: #67e8f9;
  --black: #000;
  --max-width: 1240px;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(0,0,0,.22);
}

* { 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;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

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

.site-header {
  min-height: 72px;
  background: rgba(11, 15, 18, .98);
  border-bottom: 1px solid #26323a;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand-logo { width: 52px; height: 52px; object-fit: contain; }
.brand-name { font-size: 16px; white-space: nowrap; }
.site-nav { justify-self: center; }
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  margin: 0;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 44px;
  padding: 0 18px;
  border-radius: 0;
  text-decoration: none;
  font-size: 14px;
  color: #fff;
  transition: background .18s ease, color .18s ease, border-radius .18s ease;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--accent-soft); }
.nav-link.is-active {
  background: var(--accent);
  color: #fff;
  border-radius: 28px 28px 0 28px;
}
.header-spacer { justify-self: end; width: 52px; }
.nav-toggle { display: none; }

.hero {
  background:
    radial-gradient(circle at 42% 35%, rgba(14,165,176,.34), transparent 36%),
    linear-gradient(90deg, #0b161a 0%, #074950 45%, #0a242a 70%, #0b171b 100%);
}
.hero-grid {
  min-height: 405px;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: stretch;
  gap: 56px;
  padding-block: 0;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 0 36px 16px;
}
.eyebrow {
  display: inline-flex;
  align-self: flex-start;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 7px 16px;
  color: var(--accent-bright);
  font-size: 12px;
  margin-bottom: 9px;
  background: rgba(14,165,176,.08);
}
h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  font-size: clamp(42px, 4.2vw, 56px);
  line-height: 1.03;
  letter-spacing: -.045em;
  max-width: 540px;
  margin-bottom: 22px;
}
.hero-copy > p {
  max-width: 530px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.48;
  margin-bottom: 42px;
}
.hero-actions { display: flex; gap: 92px; align-items: center; }
.btn {
  min-width: 190px;
  height: 42px;
  border-radius: 5px;
  border: 1px solid transparent;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 18px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--text); color: #172127; }
.btn-outline { border-color: var(--accent-soft); color: var(--text); background: transparent; }
.hero-media {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  align-self: stretch;
  min-height: 405px;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.section { padding: 38px 0 36px; }
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
}
.section-heading h2,
.split-section h2,
.contact-copy h2 {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.035em;
  margin-bottom: 14px;
}
.section-heading p,
.split-section p,
.contact-copy p { color: var(--muted); margin-bottom: 0; }
.section-heading p { max-width: 720px; }
.section-heading-row .btn { min-width: 170px; }

.solution-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 10px;
}
.summary-card {
  min-height: 92px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  padding: 12px 18px 12px 0;
}
.summary-icon {
  width: 54px;
  height: 54px;
  margin-inline: auto;
  color: var(--accent);
}
.summary-card h3 { font-size: 17px; margin: 0 0 4px; letter-spacing: -.015em; }
.summary-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.35; }

.rule { border: 0; border-top: 1px solid var(--line); margin: 20px 0 0; }
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 30px 16px;
  border-bottom: 1px solid var(--line);
}
.guardrails {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 20px;
  padding: 18px 22px;
}
.guardrails h3 { font-size: 15px; margin-bottom: 8px; }
.guardrails ul { margin: 0; padding-left: 20px; color: var(--muted); }
.guardrails li { margin: 2px 0; }

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 68px;
  padding: 35px 16px 54px;
  scroll-margin-top: 90px;
}
.contact-copy p { max-width: 490px; }
.contact-icons { display: flex; gap: 52px; margin-top: 50px; color: var(--accent); }
.contact-icon { width: 68px; height: 68px; }

.contact-form { display: grid; gap: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row.company-phone { grid-template-columns: 1.65fr .8fr; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label { font-size: 13px; color: #fff; }
.required { color: #ff5f5f; }
.form-field input, .form-field textarea {
  width: 100%;
  color: var(--text);
  background: var(--surface);
  border: 1px solid #c8d1d5;
  border-radius: 5px;
  padding: 9px 12px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input { height: 40px; }
.form-field textarea { min-height: 84px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #7f8c92; font-style: italic; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent-bright); box-shadow: 0 0 0 3px rgba(34,211,238,.12); }
.form-submit { display: flex; justify-content: center; margin-top: 38px; }
.form-submit .btn { min-width: 205px; }
.hidden { display: none !important; }

.site-footer {
  min-height: 47px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8c3c8;
  font-size: 12px;
  text-align: center;
  padding: 12px 20px;
}

.solutions-hero {
  min-height: 235px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(115deg, #16b1bd 0%, #0b626b 52%, #0b171b 100%);
  padding: 40px 20px;
}
.solutions-hero h1 {
  font-size: clamp(38px, 4vw, 50px);
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.solutions-hero p { margin: 0 auto; max-width: 760px; color: #e6f2f4; font-size: 15px; }
.solutions-main { padding: 22px 0 86px; }
.center-heading { text-align: center; margin: 0 auto 30px; }
.center-heading h2 { font-size: 29px; letter-spacing: -.03em; margin-bottom: 10px; }
.center-heading p { color: #fff; margin: 0; font-size: 14px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.portfolio-card {
  min-height: 410px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  padding: 12px 16px 18px;
}
.card-tag {
  display: block;
  width: min(100%, 260px);
  margin: 0 auto 14px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent-bright);
  background: rgba(14,165,176,.16);
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 12px;
  text-transform: uppercase;
}
.portfolio-card h3 { text-align: center; font-size: 17px; margin-bottom: 18px; }
.portfolio-card p { color: #fff; font-size: 13.5px; margin-bottom: 18px; }
.portfolio-card ul { padding-left: 27px; margin: 0; color: #fff; font-size: 13.5px; }
.portfolio-card li { margin: 2px 0; }
.approach {
  margin-top: 40px;
  padding-top: 39px;
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--accent), transparent 100%) 1;
}
.approach .center-heading { margin-bottom: 34px; }
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.approach-card {
  min-height: 168px;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
}
.approach-card h3 { color: var(--accent-bright); font-size: 15px; margin-bottom: 14px; }
.approach-card p { margin: 0; font-size: 13px; color: #fff; }

.thanks-main {
  min-height: calc(100vh - 119px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 20px;
  background: radial-gradient(circle at 50% 30%, rgba(14,165,176,.22), transparent 35%);
}
.thanks-card { max-width: 620px; }
.thanks-card h1 { font-size: 42px; margin-bottom: 16px; }
.thanks-card p { color: var(--muted); margin-bottom: 30px; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0b0f12;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-link { width: 100%; border-radius: 8px !important; }
  .header-spacer { display: none; }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 10px;
    cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--text); display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 46px 8px 32px; }
  .hero-actions { gap: 16px; flex-wrap: wrap; }
  .hero-media { min-height: 340px; border-radius: 22px; margin-bottom: 32px; }
  .solution-summary-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section, .contact-section { grid-template-columns: 1fr; gap: 30px; }
  .contact-icons { margin-top: 32px; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .brand { gap: 12px; }
  .brand-logo { width: 46px; height: 46px; }
  .brand-name { font-size: 14px; }
  .hero h1 { font-size: 42px; }
  .hero-copy > p { font-size: 15px; margin-bottom: 28px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .section-heading-row { align-items: flex-start; flex-direction: column; }
  .section-heading-row .btn { width: auto; }
  .solution-summary-grid, .portfolio-grid, .approach-grid { grid-template-columns: 1fr; }
  .summary-card { grid-template-columns: 74px 1fr; }
  .split-section, .contact-section { padding-inline: 0; }
  .contact-icons { gap: 26px; }
  .contact-icon { width: 56px; height: 56px; }
  .form-row, .form-row.company-phone { grid-template-columns: 1fr; }
  .solutions-hero { min-height: 260px; }
  .portfolio-card { min-height: auto; }
}
