/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --deep-navy:   #0A1628;
  --duty-blue:   #1B3A5C;
  --steel-blue:  #3B6B96;
  --badge-blue:  #5A9BD5;
  --slate-gray:  #6B7B8D;
  --light-gray:  #E8ECF0;
  --off-white:   #F4F6F8;
  --white:       #FFFFFF;
  --signal-green:#00D4AA;
  --alert-amber: #F5A623;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--deep-navy);
  background: var(--white);
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ─── Utility ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-green);
  margin-bottom: 12px;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--signal-green);
  border-radius: 2px;
  margin: 12px 0 28px;
}

/* ─── Nav ──────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo .wordmark-top {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-logo .wordmark-bottom {
  font-size: 15px;
  font-weight: 700;
  color: var(--signal-green);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--signal-green);
  color: var(--deep-navy) !important;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover { opacity: 0.88; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--duty-blue);
  padding: 20px 24px 28px;
  gap: 20px;
}

.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu a:last-child { border-bottom: none; }

.mobile-menu.open { display: flex; }

/* ─── Hero ─────────────────────────────────────────────────── */
#hero {
  background: var(--deep-navy);
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Grid pattern overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,170,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,170,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Glow blobs */
#hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(27,58,92,0.6) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.25);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-badge span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal-green);
}

.hero-title {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hero-title .accent { color: var(--signal-green); }

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin: 20px 0 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--signal-green);
  color: var(--deep-navy);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 13px 24px;
  border-radius: 8px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}

.stat-number span { color: var(--signal-green); }

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Hero visual panel */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.code-window {
  background: #0d1f38;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

.code-toolbar {
  background: #0a1628;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.code-filename {
  margin-left: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}

.code-body {
  padding: 22px 24px;
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
}

.code-line { display: flex; white-space: pre; }
.ln { color: rgba(255,255,255,0.2); min-width: 28px; user-select: none; }
.kw  { color: #79b8ff; }
.fn  { color: #b392f0; }
.str { color: var(--signal-green); }
.cm  { color: rgba(255,255,255,0.3); }
.tx  { color: rgba(255,255,255,0.82); }
.pu  { color: rgba(255,255,255,0.55); }

/* ─── Services ─────────────────────────────────────────────── */
#services {
  background: var(--off-white);
  padding: 100px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-label { display: block; }
.services-header .divider { margin: 12px auto 28px; }

.services-title {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--deep-navy);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px 32px;
  border: 1px solid var(--light-gray);
  transition: box-shadow 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--signal-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.service-card:hover {
  box-shadow: 0 16px 48px rgba(10,22,40,0.1);
  transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(27,58,92,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--duty-blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14px;
  color: var(--slate-gray);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--slate-gray);
}

.service-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: rgba(0,212,170,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3 3 7-7' stroke='%2300D4AA' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--duty-blue);
  transition: gap 0.2s, color 0.2s;
}

.service-link:hover { gap: 10px; color: var(--signal-green); }
.service-link svg { width: 14px; height: 14px; }

/* ─── About ─────────────────────────────────────────────────── */
#about {
  background: var(--deep-navy);
  padding: 100px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-green);
  margin-bottom: 12px;
}

.about-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-body {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 16px;
}

.radio-callout {
  background: rgba(27,58,92,0.5);
  border-left: 3px solid var(--signal-green);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin: 32px 0;
}

.radio-callout p {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  font-style: italic;
  margin-bottom: 6px;
}

.radio-callout span {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pillar-card {
  background: rgba(27,58,92,0.35);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 20px 18px;
}

.pillar-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal-green);
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

/* ─── Process ──────────────────────────────────────────────── */
#process {
  background: var(--white);
  padding: 100px 0;
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
}

.process-header .divider { margin: 12px auto 28px; }

.process-title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--deep-navy);
  max-width: 520px;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 1px;
  background: var(--light-gray);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--deep-navy);
  color: var(--signal-green);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 3px solid var(--off-white);
  box-shadow: 0 0 0 1px var(--light-gray);
}

.step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13px;
  color: var(--slate-gray);
  line-height: 1.6;
}

/* ─── Contact ──────────────────────────────────────────────── */
#contact {
  background: var(--duty-blue);
  padding: 100px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-green);
  display: block;
  margin-bottom: 12px;
}

.contact-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact-body {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,212,170,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--signal-green);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail-text {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

.contact-detail-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* Form */
.contact-form {
  background: rgba(10,22,40,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: rgba(255,255,255,0.06);
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option { background: var(--duty-blue); color: var(--white); }

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--signal-green);
  background: rgba(0,212,170,0.04);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.btn-submit {
  width: 100%;
  background: var(--signal-green);
  color: var(--deep-navy);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}

.btn-submit:hover { opacity: 0.9; transform: translateY(-1px); }

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--deep-navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-bottom: 12px;
}

.footer-wordmark .top {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
}

.footer-wordmark .bot {
  font-size: 17px;
  font-weight: 700;
  color: var(--signal-green);
  letter-spacing: 0.03em;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-signal {
  font-size: 12px;
  font-weight: 600;
  color: var(--signal-green);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Work ──────────────────────────────────────────────────── */
#work {
  background: var(--off-white);
  padding: 100px 0;
}

.work-header {
  text-align: center;
  margin-bottom: 64px;
}

.work-header .divider { margin: 12px auto 20px; }

.work-title {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--deep-navy);
  max-width: 560px;
  margin: 0 auto 12px;
  line-height: 1.2;
}

.work-subtitle {
  font-size: 15px;
  color: var(--slate-gray);
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.work-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--light-gray);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
}

.work-card:hover {
  box-shadow: 0 20px 56px rgba(10,22,40,0.12);
  transform: translateY(-4px);
}

/* Card header — dark panel with mock UI */
.work-card-header {
  padding: 28px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 290px;
  overflow: hidden;
}

.work-card-visual {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* DealBoard logo mark */
.db-logo-mark {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 6px 6px 5px;
}

.db-bar {
  width: 6px;
  border-radius: 2px 2px 0 0;
  background: #1A73E8;
}

.db-bar-1 { height: 10px; }
.db-bar-2 { height: 15px; }
.db-bar-3 { height: 20px; background: #34A853; }

.db-wordmark { display: flex; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.db-deal  { color: #ffffff; }
.db-board { color: #1A73E8; }

/* HeatBuddy logo mark */
.hb-wordmark { display: flex; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.hb-heat   { color: #ffffff; }
.hb-buddy  { color: #E8712B; }

/* Mock UI panel */
.work-card-mock {
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mock-value {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  font-variant-numeric: tabular-nums;
}

.mock-date { color: rgba(255,255,255,0.6) !important; font-weight: 500 !important; }

.mock-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 2px 0;
}

.mock-deal-row, .mock-dealer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-customer, .mock-dealer-name {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

.mock-commission, .mock-dealer-price {
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,0.7);
}

/* Card body */
.work-card-body {
  padding: 24px 28px 28px;
}

.work-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.work-type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-gray);
}

.work-status {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
}

.work-status-dev {
  background: rgba(26,115,232,0.1);
  color: #1A73E8;
}

.work-status-rebuild {
  background: rgba(245,166,35,0.12);
  color: #c68000;
}

.work-card-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 4px;
}

.work-card-tagline {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-gray);
  margin-bottom: 14px;
  font-style: italic;
}

.work-card-desc {
  font-size: 14px;
  color: var(--slate-gray);
  line-height: 1.65;
  margin-bottom: 20px;
}

.work-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.stack-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--duty-blue);
  background: rgba(27,58,92,0.07);
  border: 1px solid rgba(27,58,92,0.12);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.work-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--light-gray);
}

.work-industry {
  font-size: 11px;
  color: rgba(107,123,141,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--duty-blue);
  transition: gap 0.2s, color 0.2s;
}

.work-link:hover { gap: 10px; color: var(--signal-green); }
.work-link svg { width: 14px; height: 14px; }

.work-card-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.work-link-visit { color: var(--signal-green); }
.work-link-visit:hover { color: var(--badge-blue); }

/* ─── Scroll-reveal animation ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 40px; }
}

@media (max-width: 640px) {
  nav { height: auto; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .contact-form { padding: 28px 20px; }
}
