/* ============================================================
   THE GLOBAL VA — DESIGN SYSTEM
   Palette: brand blues only. Type: Manrope / Inter / IBM Plex Mono.
   Signature: the "ledger line" — a hairline rule with a tick,
   used as a divider and underline throughout the site.
   ============================================================ */

:root {
  /* Color */
  --blue-primary: #1F4FA8;
  --blue-secondary: #123B87;
  --navy: #0D2C63;
  --blue-light: #DCEBFF;
  --bg: #FFFFFF;
  --bg-section: #F7F9FC;
  --text: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --white: #FFFFFF;

  /* Type */
  --font-display: 'Manrope', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Layout */
  --container: 1240px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-sm: 0 1px 2px rgba(13, 44, 99, 0.06), 0 1px 1px rgba(13, 44, 99, 0.04);
  --shadow-md: 0 4px 16px rgba(13, 44, 99, 0.08), 0 2px 4px rgba(13, 44, 99, 0.04);
  --shadow-lg: 0 20px 48px rgba(13, 44, 99, 0.12), 0 4px 12px rgba(13, 44, 99, 0.06);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { color: var(--text-muted); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.65;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--blue-primary);
  display: inline-block;
}

/* ---------- Signature: the ledger line ---------- */

.ledger {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 16px 0 22px;
  max-width: 130px;
}

.ledger::before {
  content: '';
  width: 46px;
  height: 2px;
  background: var(--blue-primary);
}

.ledger::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-primary);
  margin-left: -1px;
}

.ledger-full {
  width: 100%;
  height: 1px;
  background: var(--border);
  position: relative;
  max-width: none;
  margin: 0;
}

.ledger-full::before {
  content: '';
  position: absolute;
  left: 0; top: -1px;
  width: 46px;
  height: 3px;
  background: var(--blue-primary);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--secondary, var(--blue-secondary));
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  background: var(--blue-light);
}

.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}

.btn-ghost-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
}

.btn-arrow {
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 26px 0;
  transition: all 0.35s var(--ease);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span { color: var(--blue-primary); }

.nav.light .nav-logo,
.nav.light .nav-logo span { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.25s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 16px 0;
}

.nav.scrolled .nav-logo,
.nav.scrolled .nav-logo span,
.nav.scrolled .nav-links a { color: var(--navy) !important; }

.nav-cta { display: flex; align-items: center; gap: 28px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}

.nav-toggle span {
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: all 0.25s var(--ease);
}

.nav.light:not(.scrolled) .nav-toggle span { background: var(--white); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-primary { display: none; }
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 44, 99, 0.55);
  z-index: 290;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(78vw, 360px);
  background: var(--navy);
  z-index: 300;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 36px;
  box-shadow: -12px 0 40px rgba(13, 44, 99, 0.35);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.mobile-menu a.active {
  color: var(--blue-light);
}

.mobile-menu a.active::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
}

.mobile-close {
  position: absolute;
  top: 30px; right: 32px;
  color: var(--white);
  font-size: 1.6rem;
}

/* ---------- Sections ---------- */

section { position: relative; }

.section-pad { padding: 68px 0 48px; }
.section-pad-sm { padding: 48px 0 36px; }

@media (max-width: 768px) {
  .section-pad { padding: 48px 0 36px; }
  .section-pad-sm { padding: 36px 0 28px; }
}

.bg-section { background: var(--bg-section); }
.bg-navy { background: var(--navy); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,0.7); }

.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .ledger { margin-left: auto; margin-right: auto; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: all 0.3s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.card-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--blue-primary);
  margin-bottom: 18px;
  display: block;
}

/* ---------- Grids ---------- */

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

@media (max-width: 900px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

/* ---------- Split layout (image/text alternating) ---------- */

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

.split.reverse .split-media { order: 2; }
.split.reverse .split-copy { order: 1; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media,
  .split.reverse .split-copy { order: unset; }
}

.split-media img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.media-frame {
  position: relative;
}

.media-frame::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 60%; height: 60%;
  border: 2px solid var(--blue-light);
  border-radius: var(--radius-md);
  z-index: -1;
}

/* ---------- Trust bar ---------- */

.trust-bar {
  background: var(--navy);
  padding: 28px 0;
}

.trust-items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
}

.trust-item .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .trust-items { justify-content: flex-start; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13,44,99,0.97) 34%, rgba(13,44,99,0.82) 62%, rgba(13,44,99,0.4) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 640px;
  padding: 56px 0 64px;
  text-align: left;
}

.hero .eyebrow { color: var(--blue-light); }
.hero .eyebrow::before { background: var(--blue-light); }

.hero h1 { color: var(--white); margin-top: 18px; }

.hero-lede {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 520px;
  margin-top: 20px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.hero-note .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  background: var(--navy);
  padding: 152px 0 64px;
}

.page-hero h1 { color: var(--white); }
.page-hero .lede { color: rgba(255,255,255,0.72); }

/* ---------- Feature list rows (services) ---------- */

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.service-row:last-child { border-bottom: none; }

@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
}

.service-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--blue-light);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--text);
  font-size: 0.96rem;
  border-top: 1px solid var(--border);
}

.checklist li:first-child { border-top: none; }

.checklist li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-primary);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ---------- Software / tech grid ---------- */

.tech-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  transition: all 0.25s var(--ease);
}

.tech-card:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.tech-card.featured {
  border-color: var(--blue-primary);
  background: var(--blue-light);
}

.tech-logo-wrap {
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--blue-light);
}

.tech-card.featured .tech-logo-wrap {
  background: var(--blue-primary);
}

.tech-logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
  z-index: 2;
}

.tech-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  z-index: 1;
}

.tech-card.featured .tech-logo {
  color: var(--white);
}

.tech-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.tech-role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ---------- Process timeline ---------- */

.timeline {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 48px; }
  .timeline::before { display: none; }
}

.timeline-step { padding-right: 32px; }

.timeline-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--blue-primary);
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
  transition: all 0.3s var(--ease);
}

.timeline-step:hover .timeline-mark {
  background: var(--blue-primary);
  color: var(--white);
}

/* ---------- Industries ---------- */

.industry-pill {
  padding: 14px 26px;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.25s var(--ease);
}

.industry-pill:hover {
  border-color: var(--blue-primary);
  background: var(--blue-light);
  color: var(--blue-secondary);
}

.industry-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Counters ---------- */

.counter-item { text-align: center; }

.counter-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.counter-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 12px;
}

/* ---------- Testimonials ---------- */

.testimonial-track-wrap { overflow: hidden; }

.testimonial-track {
  display: flex;
  transition: transform 0.5s var(--ease);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 4px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 56px;
  max-width: 780px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .testimonial-card { padding: 32px 22px; }
  .card { padding: 28px 22px; }
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.author-role { font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-muted); }

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.testimonial-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}

.testimonial-arrow:hover { border-color: var(--blue-primary); background: var(--blue-light); }

.testimonial-dots { display: flex; gap: 8px; }

.testimonial-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.25s var(--ease);
}

.testimonial-dot.active { background: var(--blue-primary); width: 22px; border-radius: 4px; }

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
}

.faq-icon {
  width: 20px; height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--blue-primary);
  transition: transform 0.3s var(--ease);
}

.faq-icon::before { width: 100%; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-icon::after { width: 1.5px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }

.faq-item.open .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-answer-inner { padding-bottom: 26px; max-width: 760px; }

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--navy);
  padding: 84px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta h2 { color: var(--white); }
.final-cta .lede { color: rgba(255,255,255,0.72); margin: 0 auto; }
.final-cta .ledger { margin: 16px auto; }

.final-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
}

.footer-logo span { color: var(--blue-light); }

.footer-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-top: 18px;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 22px;
}

.footer-col a, .footer-col p {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  padding: 7px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--blue-secondary);
  background: var(--blue-light);
  padding: 6px 12px;
  border-radius: 4px;
}

/* Contact page */

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

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

.form-group { margin-bottom: 22px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px var(--blue-light);
}

.contact-info-item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.contact-info-item:first-child { border-top: none; }

.contact-info-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--blue-primary);
  outline-offset: 2px;
}

/* ---------- Thank You Modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 44, 99, 0.55);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.modal-overlay.open {
  display: flex;
}

.modal-overlay.visible {
  opacity: 1;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s var(--ease);
}

@media (max-width: 480px) {
  .modal-card { padding: 36px 26px; }
}

.modal-overlay.visible .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 1.4rem;
  color: var(--text-muted);
  line-height: 1;
}

.modal-close:hover { color: var(--navy); }

.modal-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 1.5rem;
  font-weight: 700;
}

.modal-card h3 { color: var(--navy); }
.modal-card p { color: var(--text-muted); }
