/* ============================================================
   AJ-Tech Consulting — Main Stylesheet
   Static site. Plain CSS, no frameworks.
   ============================================================ */

:root {
  --navy: #0b2a4a;
  --navy-dark: #071c33;
  --navy-soft: #143a5f;
  --accent: #0e8fa3;
  --accent-dark: #0a7484;
  --accent-light: #e6f6f9;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --bg-card: #ffffff;
  --text: #1e2a38;
  --muted: #5b6b7c;
  --border: #dde6ee;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(11, 42, 74, 0.08);
  --shadow-md: 0 6px 18px rgba(11, 42, 74, 0.10);
  --shadow-lg: 0 14px 34px rgba(11, 42, 74, 0.14);
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-stack);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a {
  color: var(--accent-dark);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: 4.5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #e8eef4; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #ffffff; }
.section-navy p { color: #c9d6e2; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}
.section-navy .eyebrow { color: #7fd4e0; }

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 44rem;
}
.section-navy .lead { color: #c9d6e2; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent-dark);
}
.btn-outline:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
  box-shadow: var(--shadow-sm);
}

.btn-light {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--navy);
}
.btn-light:hover { box-shadow: var(--shadow-md); color: var(--navy); }

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 60%, var(--accent) 130%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex: none;
}
.brand small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text);
  font-weight: 600;
  border-radius: 8px;
}
.nav-links a:hover {
  color: var(--accent-dark);
  background: var(--accent-light);
  text-decoration: none;
}
.nav-links a[aria-current="page"] {
  color: var(--accent-dark);
  background: var(--accent-light);
}
.nav-cta { margin-left: 0.5rem; }
.nav-cta .btn { padding: 0.6rem 1.25rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(14, 143, 163, 0.14), transparent 60%),
    radial-gradient(900px 420px at 10% 110%, rgba(11, 42, 74, 0.10), transparent 60%),
    var(--bg);
  padding: 5.5rem 0 5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent-text { color: var(--accent-dark); }
.hero .lead { margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 70%);
  border-radius: 18px;
  padding: 2.25rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 260px at 100% 0%, rgba(14, 143, 163, 0.35), transparent 60%);
  pointer-events: none;
}
.hero-visual h3 { color: #fff; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.hero-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
}
.hero-checks li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #dbe6f0;
  font-size: 0.98rem;
}
.hero-checks .check {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  margin-top: 2px;
}

/* ============ Value strip ============ */
.value-strip {
  border-block: 1px solid var(--border);
  background: var(--bg);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
}
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.value-item h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.value-item p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ============ Cards grid ============ */
.section-head { max-width: 46rem; margin-bottom: 2.75rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #c4d8e6;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--accent-dark) 140%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.15rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 1rem; flex: 1; }
.card-link {
  font-weight: 700;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.card-link:hover { gap: 0.55rem; text-decoration: none; }

/* ============ Why choose us ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.why-item {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.why-num {
  flex: none;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  opacity: 0.9;
}
.why-item h3 { margin-bottom: 0.4rem; }
.why-item p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ============ Process steps ============ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 0.8rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ============ Testimonials ============ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testi .quote-mark {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent);
  font-family: Georgia, serif;
}
.testi blockquote {
  margin: 0;
  color: var(--text);
  font-size: 0.99rem;
  flex: 1;
}
.testi footer {
  font-size: 0.88rem;
  color: var(--muted);
  font-style: normal;
}
.testi footer strong { display: block; color: var(--navy); font-size: 0.94rem; }
.todo-note {
  background: #fff8e6;
  border: 1px dashed #d9a800;
  color: #7a5b00;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ============ CTA band ============ */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 65%, #123f68 100%);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 300px at 50% -20%, rgba(14, 143, 163, 0.35), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; position: relative; }
.cta-band p { color: #c9d6e2; max-width: 40rem; margin: 0 auto 1.8rem; position: relative; }
.cta-band .hero-ctas { justify-content: center; position: relative; }

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-dark);
  color: #b9c9d8;
  padding: 3.5rem 0 1.75rem;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 0.75rem; display: block; }
.footer-brand:hover { text-decoration: none; }
.site-footer p { margin-bottom: 1rem; color: #9fb2c5; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: #b9c9d8; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: #8ba0b4;
}

/* ============ Page hero (inner pages) ============ */
.page-hero {
  background:
    radial-gradient(900px 380px at 85% -20%, rgba(14, 143, 163, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero .lead { margin-bottom: 0; }

/* ============ Service detail blocks ============ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail:nth-child(even) .service-detail-copy { order: 2; }
.service-detail-copy h2 { margin-bottom: 0.6rem; }
.service-detail-copy > p { color: var(--muted); margin-bottom: 1.25rem; }
.includes {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.75rem;
}
.includes h3 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.9rem;
}
.includes ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.includes li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.96rem;
}
.includes li::before {
  content: "✓";
  flex: none;
  color: var(--accent-dark);
  font-weight: 800;
}

/* ============ About page ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.diff-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.diff-list li { display: flex; gap: 1rem; align-items: flex-start; }
.diff-list .check {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-top: 2px;
}
.leader-card {
  background: var(--bg-card);
  border: 1px dashed #c3cfda;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  max-width: 26rem;
}
.leader-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* ============ Contact page ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.contact-cards {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-card .value-icon { width: 48px; height: 48px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.contact-card a { font-weight: 600; }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.form-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }

.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}
.field label .req { color: #b42318; }
.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 143, 163, 0.18);
}
.field-error {
  display: none;
  color: #b42318;
  font-size: 0.86rem;
  margin-top: 0.35rem;
  font-weight: 600;
}
.field.invalid .field-error { display: block; }
.field.invalid input,
.field.invalid textarea { border-color: #d92d20; }

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1rem;
}
.form-success {
  display: none;
  background: #ecfdf3;
  border: 1px solid #a6f4c5;
  color: #027a48;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ============ Scroll reveal ============ */
/* Visible by default so content shows with JavaScript disabled,
   for search engines, and before the observer fires. The fade-in
   only applies when JS is active (html.js, set in <head>). */
.reveal {
  opacity: 1;
  transform: none;
}
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; max-width: 36rem; margin-inline: auto; }
  .service-detail { grid-template-columns: 1fr; gap: 1.75rem; padding: 2.25rem 0; }
  .service-detail:nth-child(even) .service-detail-copy { order: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; max-width: 34rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 3.25rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 2.5rem 1.5rem; border-radius: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-card { padding: 1.5rem; }
  .hero-ctas .btn { width: 100%; text-align: center; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 0.25rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 1rem; }
  .nav-cta { margin-left: 0; margin-top: 0.5rem; }
  .nav-cta .btn { width: 100%; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ Tech stack ============ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.tech-group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.tech-group h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.9rem;
}
.tech-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
.tech-badges li {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 143, 163, 0.25);
  white-space: nowrap;
}

/* ============ Forms: selects & checkbox groups ============ */
.field select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background-color: #fff;
}
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 143, 163, 0.18);
}
.field-checks { border: none; padding: 0; margin: 0 0 1.1rem; }
.field-checks legend {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  padding: 0;
}
.muted-note { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.45rem 1rem;
}
.checks-grid label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
}
.checks-grid input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
  flex: none;
}
.field input[type="file"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px dashed var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: var(--bg-soft);
}

/* ============ Industries row ============ */
.industries-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.industries-row li {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.industries-row .check { color: var(--accent-dark); font-weight: 700; }

/* ============ Footer legal ============ */
.footer-legal { margin-top: 0.75rem; font-size: 0.85rem; color: var(--muted); }
.footer-legal a { color: var(--muted); text-decoration: underline; }

/* ============ Policy page ============ */
.policy-body h2 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.policy-body p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ============ Honeypot (spam trap, hidden from humans) ============ */
.honeypot {
  position: absolute !important;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  opacity: 0;
}
