/* ============ DESIGN TOKENS ============ */
:root {
  --blue-900: #003049;
  --blue-700: #00496f;
  --blue-600: #005b8c;
  --blue-500: #2a86b8;
  --blue-100: #d9eaf3;
  --blue-50:  #f0f7fb;

  --ink-900: #0b1220;
  --ink-700: #243049;
  --ink-500: #4a5772;
  --ink-400: #6b7794;
  --ink-300: #aab3c9;
  --ink-200: #d6dce8;
  --ink-100: #eef1f7;
  --ink-50:  #f7f9fc;

  --white:   #ffffff;
  --warm:    #fbfbf8;

  --accent:  #ffd23f;          /* discreet warm accent for highlights */
  --success: #18a957;
  --danger:  #d83a3a;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(11,18,32,.06), 0 1px 1px rgba(11,18,32,.04);
  --shadow:    0 8px 24px rgba(11,18,32,.08), 0 2px 6px rgba(11,18,32,.04);
  --shadow-lg: 0 24px 60px rgba(11,18,32,.18), 0 8px 16px rgba(11,18,32,.06);

  --container: 1240px;
  --gutter: 28px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-700);
  background: var(--warm);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  color: var(--ink-900);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); font-weight: 700; }

p { margin: 0; text-wrap: pretty; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue-700);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--blue-600);
  display: inline-block;
  flex-shrink: 0;
}
.eyebrow.light { color: rgba(255,255,255,.7); }
.eyebrow.light::before { background: rgba(255,255,255,.6); }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease), transform .4s var(--ease);
}
.nav.is-hidden {
  transform: translateY(-110%);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  padding: 0 var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.nav__logo img {
  height: 52px;
  width: auto;
  display: block;
  transition: opacity .35s var(--ease);
}
.nav__logo-white {
  position: absolute;
  top: 0;
  left: 0;
}
/* white logo over hero, color logo over solid white nav */
.nav__logo-color { opacity: 0; }
.nav__logo-white { opacity: 1; }
.nav.is-solid .nav__logo-color { opacity: 1; }
.nav.is-solid .nav__logo-white { opacity: 0; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  position: relative;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav__links a.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--white);
  color: var(--blue-700);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  margin-left: 12px;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.nav__links a.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.18); background: var(--white); color: var(--blue-700); }
.nav__cta svg { transition: transform .2s var(--ease); }
.nav__cta:hover svg { transform: translateX(3px); }

/* solid state when scrolled past hero */
.nav.is-solid {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(11,18,32,.06), 0 6px 18px rgba(11,18,32,.04);
}
.nav.is-solid .nav__links a { color: var(--ink-700); }
.nav.is-solid .nav__links a:hover { background: var(--ink-100); }
.nav.is-solid .nav__links a.nav__cta { background: var(--blue-600); color: #fff; }
.nav.is-solid .nav__links a.nav__cta:hover { background: var(--blue-700); }
.nav.is-solid .nav__logo .wordmark { color: var(--ink-900); }

.nav__burger { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(1100px 700px at 80% -10%, #3a9fd0 0%, transparent 60%),
              radial-gradient(900px 600px at 0% 100%, #00466b 0%, transparent 55%),
              linear-gradient(180deg, #00466b 0%, #00324d 100%);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}
.hero::before {
  /* subtle grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero__bubbles { position: absolute; inset: 0; pointer-events: none; }
.hero__bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), rgba(255,255,255,.05) 60%, transparent 70%);
  filter: blur(.5px);
  opacity: .6;
  animation: float 14s var(--ease) infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-30px) translateX(8px); }
}

.hero__mark {
  position: absolute;
  bottom: -60px;
  right: -80px;
  width: 520px;
  height: auto;
  opacity: .045;
  pointer-events: none;
  transform: rotate(-8deg);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero__content { max-width: 640px; }
.hero h1 {
  color: #fff;
  margin-top: 22px;
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, #5cb3dd 0%, #fff 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 700;
}
.hero__lead {
  font-size: 19px;
  color: rgba(255,255,255,.78);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.24); }
.btn--ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.04);
}
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--solid {
  background: var(--blue-600);
  color: #fff;
}
.btn--solid:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,91,216,.32); }
.btn svg { transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.hero__meta {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: 540px;
}
.hero__meta div { color: rgba(255,255,255,.7); font-size: 13.5px; }
.hero__meta strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

/* hero visual: stacked service tiles */
.hero__visual {
  position: relative;
  height: 520px;
}
.tile {
  position: absolute;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: #fff;
  transition: transform .4s var(--ease);
}
.tile__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12);
  margin-bottom: 14px;
}
.tile__icon svg { width: 22px; height: 22px; stroke: #fff; }
.tile h4 {
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
}
.tile p { font-size: 13px; color: rgba(255,255,255,.7); }

.tile--1 { top: 20px; left: 30px; width: 230px; transform: rotate(-3deg); }
.tile--2 { top: 70px; right: 0; width: 240px; transform: rotate(2deg); }
.tile--3 { top: 240px; left: 0; width: 250px; transform: rotate(1deg); }
.tile--4 { top: 290px; right: 40px; width: 220px; transform: rotate(-2deg); }
.tile:hover { transform: rotate(0) translateY(-6px) scale(1.03); z-index: 5; background: rgba(255,255,255,.1); }

.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: "JetBrains Mono", monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: pulse-line 2s ease infinite;
}
@keyframes pulse-line {
  0%, 100% { opacity: .35; transform: scaleY(.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============ SERVICES ============ */
.services {
  padding: 130px 0 120px;
  background: var(--warm);
  position: relative;
}
.services__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 70px;
  align-items: end;
}
.services__head h2 { max-width: 580px; }
.services__head p {
  color: var(--ink-500);
  font-size: 17px;
  max-width: 460px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.svc {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  cursor: pointer;
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--blue-600), var(--blue-700));
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: 0;
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.svc:hover::before { opacity: 1; }
.svc:hover .svc__num,
.svc:hover .svc__title,
.svc:hover .svc__desc,
.svc:hover .svc__more { color: #fff; }
.svc:hover .svc__icon-wrap { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.2); }
.svc:hover .svc__icon { stroke: #fff; }
.svc:hover .svc__more { border-color: rgba(255,255,255,.4); }
.svc:hover .svc__more svg { transform: translateX(4px); }

.svc > * { position: relative; z-index: 1; }

.svc__num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-400);
  margin-bottom: 24px;
  transition: color .35s;
}
.svc__icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  display: grid; place-items: center;
  margin-bottom: 24px;
  transition: background .35s, border-color .35s;
}
.svc__icon { width: 28px; height: 28px; stroke: var(--blue-600); fill: none; stroke-width: 1.6; transition: stroke .35s; }

.svc__title {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
  line-height: 1.2;
  transition: color .35s;
}
.svc__desc {
  font-size: 14px;
  color: var(--ink-500);
  margin-bottom: 22px;
  flex-grow: 1;
  transition: color .35s;
}
.svc__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  padding-top: 18px;
  border-top: 1px solid var(--ink-100);
  transition: color .35s, border-color .35s;
}
.svc__more svg { transition: transform .25s var(--ease); }

/* layout spans (legacy modifiers — now uniform grid) */

/* ============ ABOUT / NUMBERS ============ */
.about {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--warm) 0%, #f3f6fb 100%);
  position: relative;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__text h2 { margin: 22px 0 22px; }
.about__text p {
  color: var(--ink-500);
  font-size: 17px;
  margin-bottom: 16px;
  max-width: 520px;
}
.about__bullets {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
}
.about__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-700);
}
.about__bullets li svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 1px;
  color: var(--blue-600);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat:nth-child(2n) { transform: translateY(28px); }
.stat:nth-child(2n):hover { transform: translateY(24px); }

.stat__num {
  font-family: "Manrope", sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--blue-700);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat__num .suffix { color: var(--blue-500); font-size: .65em; }
.stat__label {
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 500;
  text-wrap: balance;
}
.stat::after {
  content: "";
  position: absolute;
  width: 80px; height: 80px;
  background: var(--blue-50);
  border-radius: 50%;
  bottom: -30px; right: -30px;
  opacity: .6;
}

/* ============ REQUEST SERVICE ============ */
.request {
  padding: 130px 0;
  background: var(--warm);
  position: relative;
}
.request__inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.request__head h2 { margin: 22px 0 22px; }
.request__head p {
  color: var(--ink-500);
  font-size: 17px;
  margin-bottom: 12px;
  max-width: 480px;
}
.request__checks {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 14px;
}
.request__checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-700);
  font-weight: 500;
}
.request__checks svg {
  width: 20px; height: 20px;
  color: var(--blue-600);
  flex-shrink: 0;
}

.request__form {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative;
}
.request__form .field label { color: var(--ink-700); }
.request__form .field input,
.request__form .field select,
.request__form .field textarea {
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  color: var(--ink-900);
}
.request__form .field input::placeholder,
.request__form .field textarea::placeholder { color: var(--ink-300); }
.request__form .field input:focus,
.request__form .field select:focus,
.request__form .field textarea:focus {
  background: #fff;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(47,109,240,.12);
}
.request__form .field--error { color: var(--danger); }
.request__form .form__nav { margin-top: 24px; padding-top: 22px; }

.request__success {
  display: none;
  text-align: center;
  padding: 30px 10px 10px;
}
.request__success.is-shown { display: block; }
.request__success h3 { margin-bottom: 8px; }

@media (max-width: 1024px) {
  .request__inner { grid-template-columns: 1fr; gap: 50px; }
}
@media (max-width: 640px) {
  .request__form { padding: 28px 22px; }
}
.recruit {
  padding: 130px 0;
  background: linear-gradient(180deg, #00466b 0%, #00324d 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.recruit::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(47,109,240,.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(31,91,216,.15) 0%, transparent 45%);
  pointer-events: none;
}
.recruit__inner {
  position: relative;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 80px;
  align-items: start;
}
.recruit__head h2 { color: #fff; margin: 22px 0 22px; }
.recruit__head p {
  color: rgba(255,255,255,.7);
  font-size: 17px;
  margin-bottom: 30px;
  max-width: 480px;
}
.recruit__roles {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}
.role {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  transition: background .25s, border-color .25s, transform .25s var(--ease);
  cursor: pointer;
}
.role:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.25);
  transform: translateX(6px);
}
.role.is-active {
  background: rgba(47,109,240,.18);
  border-color: rgba(47,109,240,.6);
}
.role__title {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}
.role__meta {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
}
.role__arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  margin-left: 18px;
  transition: background .2s, transform .25s var(--ease);
}
.role:hover .role__arrow { background: var(--blue-500); transform: rotate(-45deg); }
.role.is-active .role__arrow { background: var(--blue-500); transform: rotate(-45deg); }

/* form */
.form {
  position: relative;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(10px);
}
.form__watermark {
  height: 26px;
  width: auto;
  opacity: .55;
  pointer-events: none;
}
@media (max-width: 640px) {
  .form__watermark { display: none; }
}
.form__steps {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}
.form__step-dot {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.form__step-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue-500);
  transform: translateX(-100%);
  transition: transform .5s var(--ease);
}
.form__step-dot.is-done::after { transform: translateX(0); }
.form__step-dot.is-current::after { transform: translateX(0); background: linear-gradient(90deg, var(--blue-500), #fff); }

.form__step-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 8px;
}
.form__step-title {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
}

.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  margin-bottom: 8px;
}
.field label .req { color: #ff8b8b; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.35); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-500);
  background: rgba(47,109,240,.08);
  box-shadow: 0 0 0 4px rgba(47,109,240,.15);
}
.field input.is-error,
.field select.is-error { border-color: #ff8b8b; }

.field--error {
  font-size: 12px;
  color: #ff8b8b;
  margin-top: 6px;
  display: none;
}
.field.has-error .field--error { display: block; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* radio chips for license */
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { background: rgba(255,255,255,.08); }
.chip.is-active {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: #fff;
}

/* file upload */
.upload {
  border: 1.5px dashed rgba(255,255,255,.22);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: border-color .25s, background .25s;
  position: relative;
}
.upload:hover { border-color: var(--blue-500); background: rgba(47,109,240,.06); }
.upload.has-file { border-style: solid; border-color: var(--blue-500); background: rgba(47,109,240,.08); }
.upload__icon {
  width: 44px; height: 44px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
}
.upload__icon svg { width: 22px; height: 22px; stroke: rgba(255,255,255,.7); }
.upload__text { font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 4px; font-weight: 500; }
.upload__hint { font-size: 12px; color: rgba(255,255,255,.45); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.form__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.form__back {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}
.form__back:hover { color: #fff; }
.form__back:disabled { opacity: 0; pointer-events: none; }

.form .field select option,
.form .field select {
  color: #fff;
}
.form .field select option {
  color: #0b1220;
  background: #fff;
}

.form__success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}
.form__success.is-shown { display: block; }
.form__success-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(24,169,87,.15);
  border: 2px solid var(--success);
  display: grid; place-items: center;
  margin: 0 auto 22px;
  animation: pop .5s var(--ease) backwards;
}
.form__success-icon svg { width: 32px; height: 32px; stroke: var(--success); stroke-width: 3; }
@keyframes pop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}
.form__success h3 { color: #fff; margin-bottom: 10px; }
.form__success p { color: rgba(255,255,255,.65); }

/* ============ CONTACT ============ */
.contact {
  padding: 120px 0;
  background: var(--warm);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.contact__head h2 { margin: 22px 0 22px; }
.contact__head p {
  color: var(--ink-500);
  font-size: 17px;
  margin-bottom: 30px;
  max-width: 460px;
}
.contact__list {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.contact__item:hover {
  transform: translateY(-2px);
  border-color: var(--blue-100);
  box-shadow: var(--shadow);
}
.contact__icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--blue-50);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact__icon svg { width: 20px; height: 20px; stroke: var(--blue-600); fill: none; stroke-width: 1.8; }
.contact__label { font-size: 12px; color: var(--ink-400); font-family: "JetBrains Mono", monospace; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.contact__value { font-size: 16px; color: var(--ink-900); font-weight: 600; }

/* map placeholder */
.map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 540px;
  background: linear-gradient(135deg, #e7eef9 0%, #d8e3f3 100%);
  border: 1px solid var(--ink-100);
}
.map__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(31,91,216,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,91,216,.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map__roads {
  position: absolute; inset: 0;
  pointer-events: none;
}
.map__pin {
  position: absolute;
  top: 48%; left: 52%;
  transform: translate(-50%, -100%);
}
.map__pin-dot {
  width: 22px; height: 22px;
  background: var(--blue-600);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(31,91,216,.4);
  position: relative;
  z-index: 2;
}
.map__pin-pulse {
  position: absolute;
  top: 0; left: 0;
  width: 22px; height: 22px;
  background: var(--blue-600);
  border-radius: 50%;
  opacity: .4;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(4); opacity: 0; }
}
.map__card {
  position: absolute;
  bottom: 24px; left: 24px;
  background: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
}
.map__card strong { display: block; font-family: "Manrope", sans-serif; font-size: 15px; color: var(--ink-900); }
.map__card span { font-size: 13px; color: var(--ink-500); }

/* ============ NEWS ============ */
.news {
  padding: 120px 0;
  background: linear-gradient(180deg, #f3f6fb 0%, var(--warm) 100%);
}
.news__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  align-items: end;
}
.news__head p {
  color: var(--ink-500);
  font-size: 17px;
  max-width: 440px;
}
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.news-card__img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Single featured news card */
.news__grid--single {
  grid-template-columns: 1fr;
  max-width: 900px;
}
.news-card--feature {
  flex-direction: row;
  align-items: stretch;
}
.news-card--feature .news-card__img {
  width: 46%;
  height: auto;
  min-height: 280px;
  flex-shrink: 0;
}
.news-card--feature .news-card__body {
  justify-content: center;
  padding: 40px 42px;
}
.news-card--feature .news-card__title {
  font-size: 26px;
}
.news-card--feature .news-card__excerpt {
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .news-card--feature { flex-direction: column; }
  .news-card--feature .news-card__img { width: 100%; min-height: 220px; }
}
.news-card__body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.news-card__cat {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 5px 12px;
  border-radius: 999px;
}
.news-card__date {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--ink-400);
}
.news-card__title {
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.25;
  margin-bottom: 12px;
}
.news-card__excerpt {
  font-size: 14px;
  color: var(--ink-500);
}

@media (max-width: 1024px) {
  .news__head { grid-template-columns: 1fr; gap: 20px; }
  .news__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .news__grid { grid-template-columns: 1fr; }
}

/* ============ GALLERY ============ */
.gallery {
  padding: 120px 0;
  background: var(--white);
  border-top: 1px solid var(--ink-100);
}
.gallery__head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
}
.gallery__head h2 { margin: 22px 0 18px; }
.gallery__head p {
  color: var(--ink-500);
  font-size: 17px;
}
.gallery__head .eyebrow { justify-content: center; }

.gallery__carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}
.gallery__viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink-100);
}
.gallery__track {
  display: flex;
  transition: transform .5s var(--ease);
}
.gallery__slide {
  margin: 0;
  flex: 0 0 100%;
  aspect-ratio: 16 / 10;
}
.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__arrow {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--blue-700);
  box-shadow: var(--shadow);
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.gallery__arrow:hover {
  background: var(--blue-600);
  color: #fff;
  transform: scale(1.06);
}
.gallery__dots {
  position: absolute;
  left: 0; right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.gallery__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: background .25s, transform .25s var(--ease);
}
.gallery__dot.is-active {
  background: #fff;
  transform: scale(1.35);
}

@media (max-width: 640px) {
  .gallery__carousel { gap: 8px; }
  .gallery__arrow { width: 40px; height: 40px; }
  .gallery__slide { aspect-ratio: 4 / 3; }
}

/* ============ SOCIAL ============ */
.social {
  padding: 120px 0;
  background: linear-gradient(180deg, #00466b 0%, #00324d 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.social::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(58,159,208,.20) 0%, transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(0,91,140,.30) 0%, transparent 45%);
  pointer-events: none;
}
.social__head {
  position: relative;
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
}
.social__head h2 { color: #fff; margin: 22px 0 18px; }
.social__head p {
  color: rgba(255,255,255,.7);
  font-size: 17px;
}
.social__head .eyebrow.light { justify-content: center; }
.social__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 36px 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s;
}
.social-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.3);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.social-card__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08);
  color: #fff;
  margin-bottom: 8px;
  transition: background .3s, transform .3s var(--ease);
}
.social-card:hover .social-card__icon {
  background: var(--blue-500);
  transform: scale(1.06);
}
.social-card__icon svg { width: 28px; height: 28px; }
.social-card__name {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.social-card__handle {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
}

@media (max-width: 1024px) {
  .social__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .social__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .social-card { padding: 28px 16px; }
}

/* ============ FOOTER MARK ============ */
.footer-mark {
  background: var(--warm);
  padding: 80px 20px 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--ink-100);
  position: relative;
  overflow: hidden;
}
.footer-mark::before,
.footer-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  width: calc(50% - 100px);
  background: linear-gradient(to right, transparent, var(--ink-200), transparent);
}
.footer-mark::before { left: 0; }
.footer-mark::after  { right: 0; }
.footer-mark img {
  width: 64px;
  height: auto;
  opacity: .9;
  position: relative;
  z-index: 1;
}
.footer-mark__text {
  text-align: center;
  font-family: "Manrope", sans-serif;
  position: relative;
  z-index: 1;
  background: var(--warm);
  padding: 0 18px;
}
.footer-mark__text strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.footer-mark__text span {
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-400);
}

/* ============ FOOTER ============ */
.footer {
  background: #07142e;
  color: rgba(255,255,255,.6);
  padding: 60px 0 30px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}
.footer__logo { height: 36px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.contact__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 14px;
  margin-bottom: 4px;
}
.contact__brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.footer__mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  font-size: 14px;
  max-width: 280px;
  line-height: 1.6;
}
.footer h5 {
  font-family: "Manrope", sans-serif;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }
.reveal--delay-4 { transition-delay: .4s; }
.reveal--delay-5 { transition-delay: .5s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { display: none; }
  .services__head { grid-template-columns: 1fr; gap: 20px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc--wide, .svc--med, .svc--sm { grid-column: span 1; }
  .about__inner { grid-template-columns: 1fr; gap: 50px; }
  .recruit__inner { grid-template-columns: 1fr; gap: 50px; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .map { height: 360px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .nav__links { display: none; }
  .nav__burger { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); }
  .nav.is-solid .nav__burger { background: var(--ink-100); }
  .hero { padding: 100px 0 60px; }
  .hero__meta { flex-wrap: wrap; gap: 24px; }
  .services__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat:nth-child(2n) { transform: none; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 28px 22px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ============ Honeypot anti-spam (invisível) ============ */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
}

/* ============ Erro de envio ============ */
.submit-error {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(220, 38, 38, .35);
  background: rgba(220, 38, 38, .08);
  color: #dc2626;
  font-size: 13px;
  line-height: 1.5;
}
.form .submit-error {
  border-color: rgba(255, 120, 120, .45);
  background: rgba(255, 80, 80, .12);
  color: #ffb4b4;
}

/* ============ Campo com checkbox (RGPD) ============ */
.field--check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.field--check .field--error { flex-basis: 100%; }

/* ============ Botão em estado de envio ============ */
.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}
