:root {
  --navy: #0f2a44;
  --navy-2: #16395c;
  --teal: #17958a;
  --teal-dark: #107b72;
  --teal-bright: #1fb3a5;
  --ink: #24313f;
  --muted: #5b6b7b;
  --line: #e3e9ef;
  --bg-soft: #f5f8fa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #ffffff;
}

h1, h2, h3 {
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4em;
}

p {
  margin: 0 0 1em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.9em;
}

.eyebrow-light {
  color: var(--teal-bright);
}

/* ====== Buttons ====== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-2);
}

.btn-accent {
  background: var(--teal);
  color: #fff;
}

.btn-accent:hover {
  background: var(--teal-dark);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.9);
}

/* ====== Navigation ====== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 46px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-cta {
  padding: 10px 20px;
}

@media (max-width: 720px) {
  .nav-inner {
    padding: 10px 16px;
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
    padding: 9px 14px;
    font-size: 0.88rem;
  }

  .logo {
    height: 34px;
  }
}

/* ====== Hero ====== */
.hero {
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(31, 179, 165, 0.28), transparent 65%),
    linear-gradient(150deg, var(--navy) 0%, #123252 55%, #0c2238 100%);
  color: #fff;
  padding: 96px 24px 110px;
  text-align: center;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5.5vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}

.hero .accent {
  color: var(--teal-bright);
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #cfdce8;
  max-width: 680px;
  margin: 0 auto 2em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====== Sections ====== */
section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-intro {
  max-width: 720px;
  color: var(--muted);
  margin-bottom: 0;
}

/* ====== Cards ====== */
.grid {
  display: grid;
  gap: 22px;
  margin-top: 40px;
}

.grid-services {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.grid-industries {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: #cdd9e3;
  box-shadow: 0 10px 28px rgba(15, 42, 68, 0.09);
  transform: translateY(-2px);
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(23, 149, 138, 0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon svg {
  width: 23px;
  height: 23px;
}

/* ====== Experience band ====== */
.band {
  max-width: none;
  background: linear-gradient(135deg, var(--navy) 0%, #123252 100%);
  color: #d7e2ec;
  padding: 72px 24px;
}

.band-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.band h2 {
  color: #fff;
}

.band strong {
  color: var(--teal-bright);
}

.band p {
  margin-bottom: 0;
}

/* ====== Contact ====== */
.contact {
  max-width: none;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.contact-copy p {
  color: var(--muted);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(15, 42, 68, 0.07);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ccd6df;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(23, 149, 138, 0.18);
}

/* Honeypot field — visually removed, still in the DOM for bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .btn {
  width: 100%;
}

.contact-form .btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

.form-status {
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 500;
  min-height: 1.4em;
}

.form-status.ok {
  color: var(--teal-dark);
}

.form-status.err {
  color: #b3382c;
}

/* ====== Footer ====== */
footer {
  background: #0c2238;
  color: #8fa3b5;
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

footer .logo {
  height: 52px;
  margin: 0 auto 18px;
}

footer p {
  margin: 0;
  font-size: 0.88rem;
}

.logo-on-dark {
  --logo-primary: #ffffff;
  --logo-accent: #1fb3a5;
}
