/* ==========================================================================
   Forge QA — Design tokens
   ========================================================================== */
:root {
  --bg: #0D1117;
  --panel: #161B22;
  --panel-border: #262c36;
  --green: #00E676;
  --lime: #7CFF8A;
  --text: #F5F5F5;
  --grey: #8B949E;
  --success: #00C853;
  --error: #FF5C5C;

  --font-heading: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1160px;
  --nav-h: 76px;

  --shadow-panel: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  --glow-green: 0 0 0 1px rgba(0, 230, 118, 0.25), 0 0 32px rgba(0, 230, 118, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--grey); }

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

.mono { font-family: var(--font-mono); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

section { padding: 88px 0; position: relative; }
.section-tight { padding: 56px 0; }
.solutions-teaser { padding-top: 40px; }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green);
  color: #04140c;
  box-shadow: 0 0 0 1px rgba(0, 230, 118, 0.4), 0 12px 30px -10px rgba(0, 230, 118, 0.55);
}
.btn-primary:hover { background: var(--lime); box-shadow: 0 0 0 1px rgba(124, 255, 138, 0.5), 0 14px 34px -8px rgba(124, 255, 138, 0.6); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--panel-border);
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); }

.btn-block { width: 100%; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(13, 17, 23, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--panel-border);
}

.nav .container {
  max-width: none;
  width: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

.nav-cta-mobile { display: none; }

.nav .container > nav {
  position: absolute;
  left: calc(max(24px, (100vw - 1160px) / 2 + 24px) + 269px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--grey);
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.nav-links li.has-dropdown { position: relative; }
.nav-links a .nav-caret {
  margin-left: 4px;
  vertical-align: -1px;
  opacity: 0.7;
  transition: transform 0.15s ease;
}
.nav-links li.has-dropdown:hover .nav-caret,
.nav-links li.has-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 14px 0 0;
  padding: 8px;
  min-width: 240px;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-panel);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 110;
}
.nav-links li.has-dropdown:hover .dropdown,
.nav-links li.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  color: var(--text);
}
.dropdown a:hover { background: rgba(0, 230, 118, 0.1); color: var(--green); }

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Hero + canvas background
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 70px;
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(0, 230, 118, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(124, 255, 138, 0.08), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--panel-border);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }

.hero-inner { max-width: 760px; }

.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 18px;
  color: var(--grey);
  max-width: 560px;
  margin-bottom: 36px;
}

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

.page-hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(ellipse 50% 60% at 10% 0%, rgba(0, 230, 118, 0.12), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--panel-border);
}
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); }
.page-hero p { max-width: px; font-size: 17px; }

.contact-hero-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(0, 230, 118, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(124, 255, 138, 0.08), transparent 60%),
    var(--bg);
}
.contact-hero-wrap .container { position: relative; z-index: 2; }
.contact-hero { border-bottom: none; }

/* ==========================================================================
   Trusted-by strip
   ========================================================================== */
.trusted {
  padding: 40px 0;
  border-bottom: 1px solid var(--panel-border);
}
.trusted-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 20px;
}
.trusted-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.trusted-pill {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--grey);
  border: 1px solid var(--panel-border);
  background: var(--panel);
  border-radius: 999px;
  padding: 8px 18px;
}

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid {
  display: grid;
  gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-panel);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: rgba(0, 230, 118, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--glow-green), var(--shadow-panel);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.25);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p {font-size: 13px;}

.cards-compact.grid { gap: 16px; }
.cards-compact .card { padding: 20px; }
.cards-compact .card-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
}
.cards-compact .card-icon svg { width: 16px; height: 16px; }
.cards-compact .card h3 { font-size: 15px; margin-bottom: 0; }

.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card ul li {
  color: var(--grey);
  font-size: 14px;
  padding-left: 18px;
  position: relative;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 1px;
  background: var(--green);
}
.ordered-list {
  font-size: 15px;
}


/* ==========================================================================
   Pricing
   ========================================================================== */
.price-card { position: relative; }
.price-card.featured { border-color: rgba(0, 230, 118, 0.4); }
.price-card .price-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--green);
  color: #04140c;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-card .price-value {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin: 4px 0 14px;
}
.price-card .price-value span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  display: block;
  margin-top: 4px;
}
.price-card ul { margin-bottom: 22px; }
.price-card .btn { width: 100%; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 22px;
}
.price-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--panel-border);
}
.price-table th:last-child,
.price-table td:last-child { text-align: right; }
.price-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--panel-border);
  font-size: 14px;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table td:first-child { color: var(--green); font-weight: 500; }
.price-table td:last-child { color: var(--text); font-weight: 700; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  margin-bottom: 14px;
}
.faq-item summary {
  padding: 18px 0;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 20px;
  color: var(--green);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0 0 20px;
  color: var(--grey);
  font-size: 15px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}
.stat-card .stat-num {
  font-family: var(--font-mono);
  font-size: 30px;
  color: var(--green);
  margin-bottom: 6px;
}
.stat-card .stat-label {
  font-size: 13.5px;
  color: var(--grey);
}

/* Tag chips (industries / tech stack) */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  padding: 9px 16px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.tag:hover { border-color: var(--green); color: var(--green); }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
.about-photo-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1c2531, #0d1117);
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--glow-green), var(--shadow-panel);
  overflow: hidden;
}
.about-photo span {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 700;
  color: var(--green);
  opacity: 0.85;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-photo--logo {
  aspect-ratio: 253 / 180;
  padding: 32px;
}
.about-photo--logo img {
  object-fit: contain;
}
.about-copy h2 { font-size: 30px; }
.about-copy p { font-size: 16px; color: var(--grey); }
.about-copy p b { color: var(--green); }

.credential-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.credential-list.reveal { opacity: 1; transform: none; transition: none; }
.credential-list li {
  list-style: none;
  font-size: 14px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.credential-list.is-visible li { opacity: 1; transform: none; }
.credential-list.is-visible li:nth-child(1) { transition-delay: 0.05s; }
.credential-list.is-visible li:nth-child(2) { transition-delay: 0.15s; }
.credential-list.is-visible li:nth-child(3) { transition-delay: 0.25s; }
.credential-list.is-visible li:nth-child(4) { transition-delay: 0.35s; }
.credential-list.is-visible li:nth-child(5) { transition-delay: 0.45s; }
.credential-list.is-visible li:nth-child(6) { transition-delay: 0.55s; }
.credential-list.is-visible li:hover {
  transition-delay: 0s;
  border-color: rgba(0, 230, 118, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--glow-green), var(--shadow-panel);
}

/* ==========================================================================
   Case studies
   ========================================================================== */
.case-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-panel);
}
.case-card .case-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  display: block;
}
.case-card h3 { font-size: 20px; }

.testimonial-card {
  background: var(--panel);
  border: 1px dashed var(--panel-border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  color: var(--grey);
}
.testimonial-card .quote-mark {
  font-family: var(--font-heading);
  font-size: 42px;
  color: var(--green);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}

/* ==========================================================================
   Process timeline
   ========================================================================== */
.process {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 4px 4px, rgba(0, 230, 118, 0.35) 1px, transparent 0) 0 0 / 22px 22px,
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 230, 118, 0.1), transparent 60%),
    var(--bg);
  mask-image: radial-gradient(ellipse 90% 100% at 50% 30%, #000 55%, transparent 100%);
}
.process .section-head h2 span { color: var(--green); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
  padding-top: 8px;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 61px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: rgba(0, 230, 118, 0.4);
  z-index: 0;
}
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.process-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--green);
  font-size: 14px;
  margin-bottom: 10px;
}
.process-icon {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--panel-border);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.process-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 22px 18px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.process-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}
.process-card p { font-size: 13.5px; color: var(--grey); margin: 0; }
.process-extra {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  text-align: left;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease, padding-top 0.3s ease;
}
.process-extra li {
  font-size: 13px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.process-extra li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.process-step:hover .process-icon,
.process-step:focus-within .process-icon {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.15), 0 0 20px rgba(0, 230, 118, 0.5);
}
.process-step:hover .process-card,
.process-step:focus-within .process-card {
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow: var(--glow-green), var(--shadow-panel);
}
.process-step:hover .process-extra,
.process-step:focus-within .process-extra {
  max-height: 220px;
  opacity: 1;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--panel-border);
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-green), var(--shadow-panel);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 240px;
  background: radial-gradient(ellipse at center, rgba(0, 230, 118, 0.18), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 12px; }
.cta-band .actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info .info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-info .info-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 9px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.25);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.contact-info .info-label { font-size: 12.5px; color: var(--grey); margin-bottom: 2px; }
.contact-info .info-value { font-size: 15px; color: var(--text); font-weight: 500; }

.form-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-panel);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13.5px;
  color: var(--grey);
  margin-bottom: 8px;
}
.required-mark { color: var(--green); margin-left: 2px; }
.field-row {
  display: flex;
  gap: 18px;
}
.field-row .field { flex: 1; }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.12);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%238B949E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field select option { background: var(--bg); color: var(--text); }
.form-note { font-size: 13px; color: var(--grey); margin-top: 14px; }
.form-note.success { color: var(--success); }
.form-note.error { color: var(--error); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--panel-border);
  padding: 48px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-brand p { max-width: 320px; font-size: 14px; }
.footer-location { font-size: 14px; color: var(--grey); margin: 6px 0 0; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.social-icon:hover { color: var(--green); border-color: var(--green); }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; color: var(--grey); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 10px;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--panel-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--grey);
}
.footer-bottom a { color: var(--grey); transition: color 0.15s ease; }
.footer-bottom a:hover { color: var(--green); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .credential-list li { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process-grid::before { display: none; }
}

@media (max-width: 1000px) {
  .nav .container > nav { position: static; transform: none; display: block; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta-mobile { display: block; margin-top: 6px; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--panel-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
  }
  .nav.open .nav-links a.active::after { display: none; }
  .nav-links a .nav-caret { display: none; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 0 0 4px;
    margin: 6px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .dropdown a { padding: 0; font-size: 13.5px; color: var(--grey); }
  .dropdown a:hover { background: none; color: var(--green); }
}

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 22px; }
  .footer-top { flex-direction: column; }
  .field-row { flex-direction: column; gap: 0; }
  .process-grid { grid-template-columns: 1fr; row-gap: 32px; }
}

/* ==========================================================================
   Legal pages (Privacy Policy, Terms & Conditions)
   ========================================================================== */
.legal { max-width: 760px; }
.legal p, .legal li { color: var(--grey); font-size: 15.5px; }
.legal h2 { font-size: 22px; margin-top: 48px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; margin-top: 28px; color: var(--text); }
.legal ul { margin: 0 0 1em; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal-updated { font-family: var(--font-mono); font-size: 13px; color: var(--green); margin-top: 14px; margin-bottom: 0; }
.legal .legal-table-wrap { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--panel-border); border-radius: var(--radius-sm); }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--panel-border); vertical-align: top; }
.legal th { color: var(--text); background: var(--panel); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.legal td { color: var(--grey); }
.legal tr:last-child td { border-bottom: none; }
.legal-toc { background: var(--panel); border: 1px solid var(--panel-border); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 48px; }
.legal-toc h4 { font-size: 13px; color: var(--grey); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.legal-toc ol { margin: 0; padding-left: 0; list-style: none; columns: 2; column-gap: 32px; }
.legal-toc li { margin-bottom: 8px; font-size: 14px; }
.legal-toc a:hover { color: var(--green); }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } }
