/* =========================================================
   HelpMeBlue — Global Styles
   Brand: dot-grid "H" logo, two-tone blue
   ========================================================= */

:root {
  /* Brand blues sampled from logo */
  --navy-900: #0a1f4d;
  --navy-800: #0f2a66;
  --navy-700: #1a3d8c;
  --navy-600: #2a55b5; /* deep blue dots */
  --blue-500: #3a78d4;
  --blue-400: #5aa1e8; /* bright cyan-blue dots */
  --blue-300: #7fbcef;
  --ice-50:   #eaf3fc;

  --ink-900: #0b1530;
  --ink-700: #324063;
  --ink-500: #6b7896;
  --ink-300: #b9c2d6;

  --bg:        #ffffff;
  --bg-soft:   #f5f8fc;
  --bg-tint:   #eef3fa;
  --line:      #e1e8f2;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(10, 31, 77, 0.06), 0 2px 6px rgba(10, 31, 77, 0.04);
  --shadow:    0 4px 14px rgba(10, 31, 77, 0.08), 0 12px 30px rgba(10, 31, 77, 0.06);
  --shadow-lg: 0 20px 60px rgba(10, 31, 77, 0.18);

  --container: 1240px;
  --header-h:  76px;

  /* Type */
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 17px;
  --text-lg: 19px;
  --text-xl: clamp(22px, 2.4vw, 28px);
  --text-2xl: clamp(28px, 3.4vw, 40px);
  --text-3xl: clamp(36px, 5vw, 56px);
  --text-hero: clamp(44px, 7vw, 88px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}
.section { padding: clamp(72px, 9vw, 140px) 0; position: relative; }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.grid-2.reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2.reverse > :first-child { order: 0; }
}

/* ---------- Typography ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--navy-700);
  margin-bottom: 18px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue-400);
}
.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink-900);
  max-width: 22ch;
}
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-title { margin-inline: auto; }
.section-lead {
  color: var(--ink-700);
  font-size: var(--text-lg);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0;
}
.section-head.center .section-lead { margin-inline: auto; }
.lead {
  font-size: var(--text-lg);
  color: var(--ink-700);
  line-height: 1.6;
  margin: 0 0 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-700);
  color: #fff;
  box-shadow: 0 8px 22px rgba(26, 61, 140, 0.28);
}
.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(26, 61, 140, 0.36);
}
.btn-ghost {
  color: var(--navy-800);
  background: transparent;
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy-700); color: var(--navy-900); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(20px, 4vw, 40px);
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; }
.logo-text {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 18px;
  color: var(--navy-900);
}
.nav {
  display: flex;
  gap: clamp(14px, 2.5vw, 28px);
  font-size: var(--text-sm);
  font-weight: 500;
}
.nav a { color: var(--ink-700); transition: color 0.2s; }
.nav a:hover { color: var(--navy-900); }
.nav-cta { padding: 10px 18px; }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

@media (max-width: 980px) {
  .nav, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.menu-open { background: #fff; }
  .site-header.menu-open .nav {
    display: flex;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    padding: 24px 28px 40px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    gap: 18px;
    font-size: var(--text-md);
  }
  .site-header.menu-open .nav-cta {
    display: inline-flex;
    position: fixed;
    inset: auto 28px 28px 28px;
    justify-content: center;
  }
  .site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(90, 161, 232, 0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(26, 61, 140, 0.10), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 60%);
}
.dot-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
  mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
  max-width: 920px;
  padding-bottom: clamp(40px, 6vw, 80px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(26, 61, 140, 0.08);
  color: var(--navy-800);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  border: 1px solid rgba(26, 61, 140, 0.12);
}
.eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--blue-400);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(90, 161, 232, 0.25);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(90, 161, 232, 0.25); }
  50%      { box-shadow: 0 0 0 8px rgba(90, 161, 232, 0.05); }
}
.hero-title {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--ink-900);
  margin: 0 0 24px;
}
.grad {
  background: linear-gradient(90deg, var(--navy-700) 0%, var(--blue-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: var(--text-lg);
  color: var(--ink-700);
  max-width: 60ch;
  line-height: 1.6;
  margin: 0 0 36px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding-top: 36px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.meta-num {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy-800);
  margin-bottom: 6px;
  background: linear-gradient(180deg, var(--navy-700), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.meta-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
}
@media (max-width: 600px) {
  .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .meta-label { font-size: 10px; letter-spacing: 0.08em; }
}

.hero-image {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 7;
  background: var(--bg-tint);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 50%, rgba(10, 31, 77, 0.45) 100%),
    linear-gradient(90deg, rgba(10, 31, 77, 0.18) 0%, transparent 40%);
  pointer-events: none;
}
@media (max-width: 600px) {
  .hero-image { aspect-ratio: 4 / 3; }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-500);
  z-index: 3;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--navy-700), transparent);
  animation: drop 2s ease-in-out infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 880px) { .hero-scroll { display: none; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--navy-900);
  color: #fff;
  padding: 22px 0;
  overflow: hidden;
  border-block: 1px solid var(--navy-800);
}
.marquee-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  animation: scroll 40s linear infinite;
  width: max-content;
}
.marquee-track span:nth-child(even) { color: var(--blue-400); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- ABOUT ---------- */
.about { background: var(--bg); }
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-tint);
  box-shadow: var(--shadow);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-tag {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.tag-dot {
  width: 12px; height: 12px;
  background: var(--blue-400);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(90,161,232,0.25);
  flex-shrink: 0;
}
.tag-title { font-weight: 700; font-size: var(--text-sm); color: var(--navy-900); }
.tag-sub { font-size: var(--text-xs); color: var(--ink-500); margin-top: 2px; }

.check-list { margin-top: 28px; display: grid; gap: 14px; }
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: var(--text-base);
  color: var(--ink-900);
}
.check-list .check {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--navy-700);
  position: relative;
  margin-top: 2px;
}
.check-list .check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 9px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- SERVICES ---------- */
.services { background: var(--bg-soft); position: relative; }
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 61, 140, 0.08) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.services .container { position: relative; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(26, 61, 140, 0.25);
}
.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  color: #fff;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(26, 61, 140, 0.25);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--ink-700);
  margin: 0 0 18px;
  font-size: var(--text-base);
  line-height: 1.55;
}
.service-card ul {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.service-card ul li {
  font-size: var(--text-sm);
  color: var(--ink-700);
  padding-left: 18px;
  position: relative;
}
.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 2px;
  background: var(--blue-400);
}
@media (max-width: 980px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .service-grid { grid-template-columns: 1fr; } }

/* ---------- CAPABILITIES ---------- */
.capabilities { background: var(--bg); }
.cap-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  background: var(--bg-tint);
}
.cap-image img { width: 100%; height: 100%; object-fit: cover; }
.cap-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 32px;
}
.cap-item { display: flex; gap: 14px; }
.cap-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--blue-500);
  font-weight: 600;
  flex-shrink: 0;
  padding-top: 4px;
  min-width: 28px;
}
.cap-item h4 {
  font-size: var(--text-md);
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--navy-900);
  letter-spacing: -0.005em;
}
.cap-item p {
  font-size: var(--text-sm);
  color: var(--ink-700);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 520px) { .cap-grid { grid-template-columns: 1fr; } }

/* ---------- PROCESS ---------- */
.process {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(90, 161, 232, 0.18) 1.4px, transparent 1.4px),
    radial-gradient(rgba(90, 161, 232, 0.10) 1.4px, transparent 1.4px);
  background-size: 32px 32px, 32px 32px;
  background-position: 0 0, 16px 16px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;
}
.process .container { position: relative; }
.process .kicker { color: var(--blue-300); }
.process .kicker::before { background: var(--blue-400); }
.process .section-title { color: #fff; }
.process .section-lead { color: rgba(255, 255, 255, 0.78); }

.process-list {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0 0 64px;
  padding: 0;
}
.process-list li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.process-list li:hover {
  background: rgba(90, 161, 232, 0.08);
  border-color: rgba(90, 161, 232, 0.4);
  transform: translateY(-3px);
}
.step-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--blue-400);
  font-weight: 600;
  margin-bottom: 16px;
}
.step-body h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
  letter-spacing: -0.01em;
}
.step-body p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 1080px) { .process-list { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 720px)  { .process-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .process-list { grid-template-columns: 1fr; } }

.process-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  box-shadow: var(--shadow-lg);
  margin-top: 8px;
}
.process-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- INDUSTRIES ---------- */
.industries { background: var(--bg-soft); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid var(--line);
  display: block;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--navy-700);
}
.industry-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.industry-card p {
  margin: 0;
  color: var(--ink-700);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.industry-card .arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 18px;
  color: var(--blue-500);
  transition: transform 0.3s ease;
}
.industry-card:hover .arrow { transform: translate(4px, -4px); }
@media (max-width: 980px) { .industry-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .industry-grid { grid-template-columns: 1fr; } }

/* ---------- WHY ---------- */
.why { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.why-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.why-card:hover {
  background: #fff;
  border-color: var(--navy-700);
  box-shadow: var(--shadow);
}
.why-num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--blue-500);
  font-weight: 600;
  margin-bottom: 18px;
}
.why-card h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
.why-card p {
  font-size: var(--text-sm);
  color: var(--ink-700);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px)  { .why-grid { grid-template-columns: 1fr; } }

.why-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 6;
  box-shadow: var(--shadow);
}
.why-image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CONTACT ---------- */
.contact { background: var(--bg-tint); }
.contact-direct {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.cd-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: 4px;
}
.cd-value {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--navy-900);
}
a.cd-value:hover { color: var(--navy-700); text-decoration: underline; }

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.contact-form .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) { .contact-form { padding: 26px; } .contact-form .row-2 { grid-template-columns: 1fr; } }
.contact-form label {
  display: grid;
  gap: 8px;
}
.contact-form span {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-size: var(--text-base);
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink-900);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--navy-700);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 61, 140, 0.12);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-success {
  margin: 8px 0 0;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(58, 120, 212, 0.10);
  color: var(--navy-800);
  font-weight: 600;
  font-size: var(--text-sm);
  border: 1px solid rgba(58, 120, 212, 0.25);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 32px;
}
.site-footer .logo-text { color: #fff; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  margin: 18px 0 0;
  max-width: 38ch;
  font-size: var(--text-sm);
  line-height: 1.6;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-cols ul { display: grid; gap: 10px; }
.footer-cols a {
  color: rgba(255,255,255,0.72);
  font-size: var(--text-sm);
  transition: color 0.2s;
}
.footer-cols a:hover { color: var(--blue-400); }
.footer-cols li { font-size: var(--text-sm); }

.footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
}
.footer-tag { color: var(--blue-400); font-weight: 600; }

@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

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