/* ============================================
   JABU DESIGNS — GLOBAL STYLESHEET
   ============================================ */

:root {
  --bg: #0c0f14;
  --bg-alt: #141821;
  --bg-card: #1a1f2a;
  --border: #252a35;
  --border-light: #2e3342;
  --text: #f2f4f7;
  --text-muted: #8b94a3;
  --text-dim: #5a6371;
  --accent: #2dd4bf;
  --accent-hover: #14b8a6;
  --accent-soft: rgba(45, 212, 191, 0.1);
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ========= TOP BAR ========= */
.topbar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 10px 40px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 300;
}
.topbar-left { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar-left span::before {
  content: "▸";
  color: var(--accent);
  margin-right: 8px;
  font-size: 10px;
}
.topbar-right { display: flex; gap: 20px; }
.topbar a:hover { color: var(--accent); }

/* ========= HEADER / NAV ========= */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 15, 20, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  color: var(--text);
}
.logo .us { color: var(--accent); font-weight: 800; }
.logo .brand-suffix { color: var(--accent); font-weight: 700; }

nav ul { display: flex; gap: 36px; align-items: center; }
nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
nav a:hover { color: var(--accent); }
nav a.active { color: var(--accent); }
nav a.has-caret::after {
  content: "▾";
  margin-left: 6px;
  font-size: 10px;
  color: var(--text-muted);
}

.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-cta:hover {
  background: var(--accent-hover);
  color: var(--bg) !important;
  transform: translateY(-1px);
}
.nav-cta::after { content: "_"; font-weight: 800; }

/* Hamburger button: teal circle with black burger icon */


/* ========= HERO (HOMEPAGE) ========= */
.hero {
  padding: 50px 40px 80px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: stretch;
}
.hero > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-brand-label {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(18px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1;
}
.hero-brand-label .us {
  color: var(--accent);
  font-weight: 800;
}

.hero-title {
  font-size: clamp(36px, 4.5vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero-title .accent { color: var(--accent); }
.hero-title .underscore {
  color: var(--accent);
  display: inline-block;
  animation: blink 1.4s infinite;
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.2; }
}
.hero-sub-h2 {
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.hero-tag {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.5;
}
.hero-tag strong { color: var(--text); font-weight: 500; }
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  align-items: center;
}
.hero-actions .btn {
  padding: 14px 22px;
  font-size: 14px;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .hero-actions .btn { padding: 16px 28px; font-size: 15px; }
}
/* Mobile: keep buttons on one line, shrink them to fit */
@media (max-width: 700px) {
  .hero-actions {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .hero-actions .btn {
    flex: 1 1 0;
    padding: 12px 10px;
    font-size: 12px;
    min-width: 0;
    text-align: center;
    justify-content: center;
  }
}
@media (max-width: 380px) {
  .hero-actions .btn { font-size: 11px; padding: 11px 6px; }
}

/* ========= PAGE HERO (INTERIOR) ========= */
.page-hero {
  padding: 70px 40px 90px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 {
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 1000px;
  margin-bottom: 26px;
}
.page-hero h1 .accent { color: var(--accent); }
.page-hero .lede {
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.55;
  margin-bottom: 36px;
}
.page-hero .hero-actions { margin-top: 20px; }

/* ========= BREADCRUMB ========= */
.breadcrumb {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 40px 0;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep {
  margin: 0 10px;
  color: var(--text-dim);
}
.breadcrumb .current { color: var(--accent); }

/* ========= BUTTONS ========= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(45, 212, 191, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn::after { content: "_"; font-weight: 800; margin-left: -2px; }

/* ========= HERO TERMINAL VISUAL =========
   Animated terminal window over a subtle pulsing dot grid.
   Plays directly to the "Jabu_" underscore/terminal cursor branding. */

.hero-visual {
  position: relative;
  min-height: 460px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

/* Background dot grid - subtle geometric pattern */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(45, 212, 191, 0.18) 1px, transparent 1.5px);
  background-size: 22px 22px;
  background-position: 0 0;
  opacity: 0.55;
  z-index: 0;
}

/* Soft radial glow behind the terminal */
.hero-visual::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(45, 212, 191, 0.08) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

/* Pulsing dots - 3 nodes that light up at different intervals */
.hero-pulse {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  z-index: 1;
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.6);
  animation: heroPulse 4s ease-in-out infinite;
}
.hero-pulse-1 { top: 14%; right: 18%; animation-delay: 0s; }
.hero-pulse-2 { bottom: 22%; left: 12%; animation-delay: 1.4s; }
.hero-pulse-3 { top: 60%; right: 8%; animation-delay: 2.8s; }

@keyframes heroPulse {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* The terminal window itself - sits within visual, fills most of the height */
.hero-terminal {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  width: 86%;
  display: flex;
  flex-direction: column;
  background: rgba(10, 13, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(45, 212, 191, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2;
  overflow: hidden;
}

/* Title bar */
.hero-terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.hero-terminal-dot:nth-child(1) { background: #ff5f57; }
.hero-terminal-dot:nth-child(2) { background: #febc2e; }
.hero-terminal-dot:nth-child(3) { background: #28c840; }
.hero-terminal-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-family: "SF Mono", "Monaco", "Consolas", monospace;
  letter-spacing: 0.02em;
}

/* Body of the terminal where lines stream in */
.hero-terminal-body {
  padding: 22px 22px 26px;
  font-family: "SF Mono", "Monaco", "Consolas", monospace;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  flex: 1;
  overflow: hidden;
}
.hero-terminal-line {
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
  opacity: 0;
  animation: terminalAppear 0.3s ease forwards;
}
.hero-terminal-line .prompt { color: var(--accent); margin-right: 8px; }
.hero-terminal-line .out { color: rgba(255, 255, 255, 0.55); }
.hero-terminal-line .ok { color: var(--accent); }
.hero-terminal-line .accent { color: var(--accent); font-weight: 600; }
.hero-terminal-line .hashes { color: rgba(255, 255, 255, 0.3); }

@keyframes terminalAppear {
  to { opacity: 1; }
}

/* Blinking cursor at the end of the active line */
.hero-terminal-cursor {
  display: inline-block;
  width: 9px;
  height: 16px;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: cursorBlink 1s steps(2) infinite;
  box-shadow: 0 0 6px rgba(45, 212, 191, 0.6);
}
@keyframes cursorBlink {
  50% { opacity: 0; }
}

@media (max-width: 1024px) {
  .hero-visual { min-height: 460px; }
  .hero-terminal-body { font-size: 12px; padding: 18px 16px 22px; }
}
@media (max-width: 700px) {
  .hero-visual {
    min-height: 380px;
    width: 100%;
  }
  .hero-pulse { width: 5px; height: 5px; }
  .hero-terminal { width: 92%; top: 24px; bottom: 24px; }
  .hero-terminal-body { font-size: 11.5px; }
}

/* ========= LOGO STRIP (formerly marquee) ========= */
.strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
/* Soft fade on edges so logos don't visually clip at the boundaries */
.strip::before,
.strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.strip::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-alt), transparent);
}
.strip::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-alt), transparent);
}
.strip-track {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  animation: scroll 50s linear infinite;
  padding-right: 16px;
}
.strip-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 32px;
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.3s;
}
.strip-logo:hover { opacity: 1; }
.strip-logo img,
.strip-logo svg {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 700px) {
  .strip { padding: 24px 0; }
  .strip-track { gap: 10px; padding-right: 10px; }
  .strip-logo { width: 100px; height: 24px; }
  .strip::before, .strip::after { width: 60px; }
}

/* ========= SECTIONS ========= */
.section {
  padding: 100px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
/* When .section directly follows .page-hero, kill the doubled-up vertical padding */
.page-hero:has(+ .section) { padding-bottom: 14px; }
.page-hero + .section { padding-top: 12px; }
.section-full {
  max-width: none;
  background: var(--bg-alt);
  padding: 100px 40px;
}
.section-full-inner { max-width: 1400px; margin: 0 auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  margin-bottom: 20px;
}
.eyebrow::after { content: "_"; font-weight: 800; }

.section-heading {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin-bottom: 24px;
}
.section-heading .accent { color: var(--accent); }

.section-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 50px;
}

/* ========= PHILOSOPHY ========= */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: stretch;
}
.philosophy-grid > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== PHILOSOPHY PANEL (right side) ===== */
.philo-panel {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  min-height: 460px;
  overflow: hidden;
}

/* Subtle dot grid background, matching the hero */
.philo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(45, 212, 191, 0.10) 1px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}
.philo-panel > * { position: relative; z-index: 1; }

/* ASCII corner marks - reinforces the terminal brand */
.philo-corner {
  position: absolute;
  font-family: "SF Mono", "Monaco", "Consolas", monospace;
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
  z-index: 2;
  user-select: none;
}
.philo-corner-tl { top: 14px; left: 14px; }
.philo-corner-tr { top: 14px; right: 14px; }
.philo-corner-bl { bottom: 14px; left: 14px; }
.philo-corner-br { bottom: 14px; right: 14px; }

/* "Quotes within 24 hours" badge */
.philo-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
  z-index: 3;
}
.philo-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.7);
  animation: philoBadgePulse 2s ease-in-out infinite;
}
@keyframes philoBadgePulse {
  0%, 100% { opacity: 0.6; transform: scale(0.85); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

/* Hero stats: 15+ years, 400+ projects */
.philo-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
}
.philo-stat-num {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 8px;
}
.philo-stat-plus {
  color: var(--accent);
  font-weight: 800;
  margin-left: 2px;
}
.philo-stat-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Capability checklist inside the panel */
.philo-capabilities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
.philo-capabilities li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.philo-tick {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Divider lines between sections */
.philo-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Studio location row */
.philo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.philo-row-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 600;
}
.philo-row-value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* Pulsing teal dot - links visually to the hero terminal nodes */
.philo-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.6);
  animation: philoPulseDot 2.4s ease-in-out infinite;
}
@keyframes philoPulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1.25); }
}

/* Closing brand tagline */
.philo-tagline {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}
.philo-us {
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 700px) {
  .philo-panel { padding: 60px 28px 32px; min-height: 0; }
  .philo-badge {
    top: 18px;
    right: 18px;
    font-size: 11px;
    padding: 6px 11px;
  }
  .philo-corner { font-size: 18px; top: 10px; bottom: 10px; }
  .philo-corner-tl, .philo-corner-bl { left: 10px; }
  .philo-corner-tr, .philo-corner-br { right: 10px; }
  .philo-stats { gap: 20px; margin-top: 28px; }
  .philo-capabilities { grid-template-columns: 1fr; gap: 10px; }
  .philo-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}
.philo-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 36px 0;
}
.philo-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.3s;
}
.philo-check:hover { border-color: var(--accent); }
.philo-check .tick {
  width: 22px; height: 22px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

/* ========= LOGO STRIP ========= */
.logos-section {
  padding: 70px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-inner { max-width: 1400px; margin: 0 auto; }
.logos-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.logos-label::after { content: "_"; color: var(--accent); font-weight: 800; }
.logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
}
.logo-item {
  padding: 24px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  color: var(--text-muted);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
}
.logo-item-img {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-item-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  filter: grayscale(1) brightness(1.4) contrast(0.85);
  opacity: 0.7;
  transition: filter 0.3s, opacity 0.3s;
}
.logo-item-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  line-height: 1.3;
  transition: color 0.3s;
}
.logo-item:hover {
  background: var(--bg);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.logo-item:hover .logo-item-img img {
  filter: none;
  opacity: 1;
}
.logo-item:hover .logo-item-name {
  color: var(--text);
}

/* ========= SERVICES LIST ========= */
.services-list { margin-top: 40px; }
.service-row {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 80px 1fr 2fr 60px;
  gap: 40px;
  align-items: center;
  transition: all 0.3s;
  position: relative;
  color: var(--text);
}
.service-row:last-child { border-bottom: 1px solid var(--border); }
.service-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.4s;
}
.service-row:hover { padding-left: 30px; }
.service-row:hover::before { width: 4px; }
.service-row:hover .service-arrow { color: var(--accent); transform: rotate(-45deg); }
.service-row:hover .service-name { color: var(--accent); }
.service-num {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dim);
}
.service-name {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.service-name::after { content: "_"; color: var(--accent); font-weight: 800; }
.service-desc {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.55;
}
.service-arrow {
  font-size: 26px;
  color: var(--text-dim);
  transition: all 0.3s;
  text-align: right;
}

/* ========= WORK GRID ========= */
.work-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.work-grid-home {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .work-grid-home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .work-grid-home { grid-template-columns: 1fr; }
}
.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s;
  position: relative;
  color: var(--text);
}
.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
.work-img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg);
}
.work-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(0.1);
}
.work-card:hover .work-img-wrap img { transform: scale(1.04); filter: none; }
.work-body {
  padding: 28px 32px 32px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.work-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.work-type {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}
.work-type::before { content: "— "; color: var(--accent); }
.work-view {
  font-size: 22px;
  color: var(--text-dim);
  transform: rotate(-45deg);
  transition: all 0.3s;
  flex-shrink: 0;
  margin-top: 4px;
}
.work-card:hover .work-view { color: var(--accent); transform: rotate(0deg); }

/* ========= TESTIMONIALS ========= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.test-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}
.test-card:hover { border-color: var(--accent); }
.test-quote-mark {
  font-size: 60px;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 20px;
  font-weight: 800;
}
.test-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 28px;
  flex: 1;
  font-weight: 300;
}
.test-author {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.test-name { font-size: 15px; font-weight: 600; }
.test-role { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ========= TIMELINE ========= */
.timeline { margin-top: 50px; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 120px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 60px;
  padding: 32px 0;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 114px; top: 42px;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg-alt);
  z-index: 1;
}
.timeline-year {
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.timeline-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.timeline-content h3::after { content: "_"; color: var(--accent); font-weight: 800; }
.timeline-content p {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  max-width: 680px;
}

/* ========= NEWS/INSIGHTS GRID ========= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.news-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s;
  color: var(--text);
  display: block;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.news-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-card);
}
.news-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 24px 28px 28px; }
.news-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 400;
}
.news-meta .dot { color: var(--accent); margin: 0 8px; }
.news-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 14px;
}
.news-link {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.news-link::after { content: "_"; font-weight: 800; }

/* ========= LONG-FORM CONTENT (SERVICE PAGES) ========= */
.prose {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 80px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.prose-sidebar {
  position: sticky;
  top: 100px;
}
.prose-sidebar h4 {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.prose-sidebar h4::after { content: "_"; font-weight: 800; }
.prose-sidebar ul li { margin-bottom: 12px; }
.prose-sidebar ul a {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 400;
  transition: color 0.2s;
  display: block;
  padding: 6px 0;
  border-left: 2px solid transparent;
  padding-left: 14px;
}
.prose-sidebar ul a:hover,
.prose-sidebar ul a.active {
  color: var(--accent);
  border-left-color: var(--accent);
}

.prose-body {
  max-width: 820px;
}
.prose-body h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 60px;
  margin-bottom: 20px;
  line-height: 1.2;
}
.prose-body h2:first-child { margin-top: 0; }
.prose-body h2 .accent { color: var(--accent); }
.prose-body h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 36px;
  margin-bottom: 14px;
}
.prose-body p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 300;
}
.prose-body p strong { color: var(--text); font-weight: 500; }
.prose-body a {
  color: var(--accent);
  border-bottom: 1px solid rgba(45, 212, 191, 0.3);
  transition: border-color 0.2s;
}
.prose-body a:hover { border-bottom-color: var(--accent); }
.prose-body ul, .prose-body ol {
  margin-bottom: 24px;
  padding-left: 0;
}
.prose-body ul li, .prose-body ol li {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
  font-weight: 300;
  line-height: 1.55;
}
.prose-body ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 14px;
  top: 3px;
}
.prose-body ol { counter-reset: list; }
.prose-body ol li { counter-increment: list; }
.prose-body ol li::before {
  content: counter(list, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  top: 2px;
}

.prose-body .pull-quote {
  border-left: 3px solid var(--accent);
  padding: 14px 0 14px 28px;
  margin: 40px 0;
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.45;
  font-style: italic;
}

/* ========= FAQ ========= */
.faq-list { margin-top: 30px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 30px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  padding: 0;
}
.faq-question:hover { color: var(--accent); }
.faq-question .toggle {
  color: var(--accent);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-question .toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 16px;
}

/* ========= MINI CTA BANNER (in-page) ========= */
.mini-cta {
  margin: 50px 0;
  padding: 28px 36px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.mini-cta h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.mini-cta h3::after { content: "_"; color: var(--accent); font-weight: 800; }
.mini-cta p {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 0;
}
/* Buttons inside prose-body need their own colour, not the inherited link teal */
.prose-body a.btn,
.prose-body a.btn-primary,
.prose-body a.btn-ghost,
.prose-body a.cta-btn,
.prose-body a.visit-site-cta {
  border-bottom: none;
}
.prose-body a.btn-primary,
.prose-body a.cta-btn,
.prose-body a.visit-site-cta { color: var(--bg); }
.prose-body a.btn-primary:hover,
.prose-body a.cta-btn:hover,
.prose-body a.visit-site-cta:hover { color: var(--bg); }

/* Post CTA box (insight pages) - sits outside .prose-body, needs explicit colour */
.post-cta-box a.btn-primary,
.post-cta-box a.btn-primary:hover { color: var(--bg); }
.prose-body a.btn-ghost { color: var(--text); }

/* ========= BIG CTA SECTION ========= */
.cta-section {
  padding: 120px 40px;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(45, 212, 191, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(45, 212, 191, 0.06), transparent 50%),
    var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-eyebrow {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cta-eyebrow::after { content: "_"; font-weight: 800; }
.cta-title {
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.cta-title em { font-style: normal; color: var(--accent); }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  transition: all 0.3s;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(45, 212, 191, 0.35);
}
.cta-btn::after { content: "_"; font-weight: 800; }

/* ========= CONTACT FORM ========= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}
.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 44px 40px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-submit {
  margin-top: 10px;
  width: auto;
  cursor: pointer;
}

.contact-details h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 30px;
  letter-spacing: -0.01em;
}
.contact-details h3:first-child { margin-top: 0; }
.contact-details h3::after { content: "_"; color: var(--accent); font-weight: 800; }
.contact-details p, .contact-details a {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
  display: block;
}
.contact-details a { color: var(--text); font-weight: 500; }
.contact-details a:hover { color: var(--accent); }
.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* ========= FOOTER ========= */
footer {
  background: var(--bg-alt);
  padding: 80px 40px 30px;
}
.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { margin-bottom: 20px; }
.footer-tag {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 340px;
}
.footer-offices { display: grid; gap: 18px; }
.office h5 {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.office h5::after { content: "_"; font-weight: 800; }
.office p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 300;
}
.office a {
  color: var(--text);
  font-weight: 500;
  font-size: 13px;
}
.office a:hover { color: var(--accent); }

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.footer-col h4::after { content: "_"; color: var(--accent); font-weight: 800; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 300;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 20px;
}
.footer-socials { display: flex; gap: 10px; }
.social {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
}
.social:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* ========= REVEAL ANIMATION ========= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ========= RESPONSIVE ========= */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 50px; }
  .logos-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 40px; }
  .prose { grid-template-columns: 1fr; gap: 40px; padding: 40px 40px 60px; }
  .prose-sidebar { position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  header { padding: 16px 20px; }
  nav ul { display: none; }
  .hero { padding: 60px 20px; }
  .page-hero { padding: 50px 20px 70px; }
  .section { padding: 70px 20px; }
  .section-full { padding: 70px 20px; }
  .strip { font-size: 22px; padding: 22px 20px; }
  .logos-section { padding: 60px 20px; }
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .philo-checks { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 60px 1fr 40px; gap: 20px; }
  .service-desc { display: none; }
  .service-name { font-size: 20px; }
  .timeline::before { left: 8px; }
  .timeline-item { grid-template-columns: 1fr; gap: 12px; padding-left: 40px; }
  .timeline-item::before { left: 2px; top: 12px; }
  .timeline-year { font-size: 32px; }
  .cta-section { padding: 80px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  footer { padding: 60px 20px 30px; }
  .prose { padding: 30px 20px 50px; }
  .breadcrumb { padding: 20px 20px 0; }
  .prose-body h2 { font-size: 28px; margin-top: 40px; }
  .mini-cta { padding: 30px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
}

/* =========================================
   PROJECT DETAIL PAGES
   ========================================= */

/* Two-column hero: title + tagline + button on the left, screenshot on the right */
.project-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 1280px;
  margin: 50px auto 70px;
  padding: 0 40px;
}
.project-hero-grid > div:first-child { min-width: 0; }
.project-hero-grid .eyebrow { margin-bottom: 16px; }

.project-hero-grid h1 {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.project-hero-grid h1 .accent { color: var(--accent); }

.project-hero-grid .lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 26px;
  max-width: 95%;
}

.project-hero-image {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
  background: var(--bg-card);
}
.project-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .project-hero-grid { gap: 36px; padding: 0 30px; margin: 40px auto 56px; }
  .project-hero-grid .lede { max-width: 100%; }
}
/* Stay 2-column down to 700px so even tablets and narrow viewports keep the layout */
@media (max-width: 700px) {
  .project-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 30px auto 50px;
    padding: 0 24px;
  }
}

/* Project meta: 4 separate cards with breathing space between them */
.project-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto 80px;
  padding: 0 40px;
  background: transparent;
  border: none;
}
.project-meta-item {
  padding: 26px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.project-meta-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}
.project-meta-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.project-meta-value a {
  color: var(--accent);
  word-break: break-word;
}
.project-meta-value a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .project-meta { padding: 0 30px; gap: 16px; }
}
@media (max-width: 700px) {
  .project-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 24px;
    margin-bottom: 60px;
  }
  .project-meta-item { padding: 22px 20px; }
}

/* Visit Live Site primary CTA button */
.visit-site-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  border-radius: 999px;
  font-size: 15px;
  transition: transform 0.2s, background 0.2s;
}
.visit-site-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  color: var(--bg);
}
.visit-site-cta .arrow { font-size: 18px; line-height: 1; }

/* Related projects strip at bottom of project pages */
.related-projects {
  border-top: 1px solid var(--border);
  padding: 80px 24px;
  background: var(--bg-alt);
}
.related-projects-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.related-projects h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-weight: 600;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.related-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, transform 0.2s;
}
.related-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.related-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.related-card-name {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 14px;
}
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .related-grid { grid-template-columns: 1fr; } }

/* =========================================
   INSIGHT / BLOG POST PAGES
   ========================================= */

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.post-meta .dot {
  color: rgba(255,255,255,0.25);
  font-size: 16px;
}
.post-meta .post-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 999px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post-hero-image {
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 0 40px;
}
.post-hero-image-inner {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 7;
  background: var(--bg-card);
}
.post-hero-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 700px) {
  .post-hero-image { padding: 0 24px; margin-bottom: 40px; }
  .post-hero-image-inner { aspect-ratio: 16 / 9; }
}

.post-body { max-width: 760px; margin: 0 auto; padding: 0 40px; }
.post-body p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  margin-bottom: 22px;
}
.post-body h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 50px 0 18px;
  line-height: 1.2;
}
.post-body h2 .accent { color: var(--accent); }
.post-body h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 36px 0 12px;
}
.post-body ul, .post-body ol {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  margin-bottom: 22px;
  padding-left: 22px;
}
.post-body ul li, .post-body ol li { margin-bottom: 10px; }
.post-body strong { color: var(--text); font-weight: 600; }
.post-body a {
  color: var(--accent);
  border-bottom: 1px solid rgba(45, 212, 191, 0.3);
  transition: border-color 0.2s;
}
.post-body a:hover { border-bottom-color: var(--accent); }
.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 14px 24px;
  margin: 32px 0;
  background: var(--bg-alt);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text);
}
.post-body blockquote p { margin: 0; font-size: 18px; }

.post-cta-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 32px 36px;
  margin: 48px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.post-cta-box h3 {
  font-size: 20px;
  margin: 0 0 4px;
  font-weight: 600;
}
.post-cta-box p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.5;
}

.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 48px 0 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.post-tags-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
  padding: 5px 0;
  margin-right: 6px;
}
.post-tag-link {
  display: inline-block;
  padding: 5px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.2s;
}
.post-tag-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Related posts strip */
.related-posts {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 80px 24px;
}
.related-posts-inner { max-width: 1280px; margin: 0 auto; }
.related-posts h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-weight: 600;
}

/* =========================================
   SERVICES MEGA-DROPDOWN (desktop)
   ========================================= */

.has-dropdown {
  position: relative;
}
.services-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 720px;
  /* Padding (not margin) keeps the cursor inside the hover region */
  padding-top: 18px;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
}
.has-dropdown:hover .services-dropdown,
.has-dropdown:focus-within .services-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.services-dropdown-inner {
  position: relative;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.services-dropdown-inner::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.service-dd-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
  border: 1px solid transparent;
}
.service-dd-item:hover {
  background: var(--bg-alt);
  border-color: rgba(45, 212, 191, 0.2);
}
.service-dd-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.service-dd-name .us {
  color: var(--accent);
  font-weight: 800;
}
.service-dd-desc {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .services-dropdown { min-width: 600px; }
  .services-dropdown-inner { grid-template-columns: 1fr 1fr; }
}

/* Hide dropdown on mobile - use the mobile-submenu instead */
@media (max-width: 768px) {
  .services-dropdown { display: none; }
}

/* =========================================
   SERVICE PAGE FEATURE GRID
   ========================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.feature-card {
  display: flex;
  gap: 12px;
  padding: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(45, 212, 191, 0.4);
  transform: translateY(-2px);
}
.feature-tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.feature-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
}
.feature-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* =========================================
   RELATED SERVICES STRIP
   ========================================= */
.related-services {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.related-service-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
}
.related-service-card:hover {
  border-color: var(--accent);
  background: var(--bg-card);
  transform: translateY(-2px);
}
.related-service-card .arrow {
  color: var(--accent);
  font-size: 14px;
}

/* =========================================
   MOBILE NAVIGATION (rebuilt fresh)
   ========================================= */

/* Hamburger - teal circle with black burger icon */
.hamburger {
  display: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  position: relative;
  padding: 0;
  z-index: 200;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background 0.2s, transform 0.15s;
}
.hamburger:hover { background: var(--accent-hover); }
.hamburger:active { transform: scale(0.95); }
.hamburger span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--bg);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: top 0.25s, transform 0.25s, opacity 0.25s;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }

/* Show hamburger on mobile */
@media (max-width: 900px) {
  .hamburger { display: block; }
}

/* ===== Mobile nav root - just a wrapper, no positioning ===== */
.mobile-nav {
  /* Empty - children handle their own positioning */
}

/* Backdrop - full viewport, fades in. Hidden by default. */
.mobile-nav__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  z-index: 100;
}
.mobile-nav.is-open .mobile-nav__backdrop {
  opacity: 1;
  visibility: visible;
}

/* Slide-in panel - 80% width, anchored right. Always positioned, slides off-screen by default. */
.mobile-nav__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 420px;
  background: var(--bg);
  border-left: 1px solid var(--border);
  padding: 80px 28px 32px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 110;
  visibility: hidden;
}
.mobile-nav.is-open .mobile-nav__panel {
  transform: translateX(0);
  visibility: visible;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}

/* Close button - teal circle with X, top right of panel */
.mobile-nav__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background 0.2s, transform 0.15s;
}
.mobile-nav__close:hover { background: var(--accent-hover); }
.mobile-nav__close:active { transform: scale(0.95); }
.mobile-nav__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: var(--bg);
  border-radius: 2px;
  transform-origin: center;
}
.mobile-nav__close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-nav__close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

/* Top-level nav list */
.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav__list > li {
  border-bottom: 1px solid var(--border);
}
.mobile-nav__list > li > a {
  display: block;
  padding: 16px 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mobile-nav__list > li > a:hover { color: var(--accent); }

/* Services row with submenu - uses native <details>/<summary> */
.mobile-nav__has-sub > details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  gap: 12px;
}
.mobile-nav__has-sub > details > summary::-webkit-details-marker { display: none; }
.mobile-nav__has-sub > details > summary::marker { content: ""; }
.mobile-nav__has-sub > details > summary > a {
  flex: 1;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mobile-nav__has-sub > details > summary > a:hover { color: var(--accent); }

/* Non-link parent label (e.g. Pricing) - styled to match link siblings */
.mobile-nav__sublabel {
  flex: 1;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* Teal circular chevron */
.mobile-nav__chev {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.mobile-nav__chev svg {
  width: 16px;
  height: 16px;
  stroke: var(--bg);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mobile-nav__has-sub > details[open] > summary .mobile-nav__chev {
  transform: rotate(180deg);
}

/* Submenu list - shown when <details> is open */
.mobile-nav__sublist {
  list-style: none;
  margin: 0;
  padding: 0 0 12px 16px;
}
.mobile-nav__sublist li { border-bottom: none; }
.mobile-nav__sublist a {
  display: block;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mobile-nav__sublist a:hover { color: var(--accent); }
.mobile-nav__sublist li:last-child a { border-bottom: none; }

/* Lock body scroll when nav is open */
body.nav-open { overflow: hidden; }

/* "See all client projects" CTA below the logo grid */
.logos-cta {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}
.logos-cta .btn {
  font-size: 14px;
  padding: 14px 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logos-cta .btn .arrow {
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
}
@media (max-width: 700px) {
  .logos-cta { margin-top: 36px; }
}

/* =========================================
   PRICING DROPDOWN (desktop nav)
   ========================================= */

.pricing-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 460px;
  padding-top: 14px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 80;
}
.has-dropdown:hover .pricing-dropdown,
.has-dropdown:focus-within .pricing-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.pricing-dropdown-inner {
  position: relative;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.pricing-dropdown-inner::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

@media (max-width: 1100px) {
  .pricing-dropdown { min-width: 380px; }
}
@media (max-width: 768px) {
  .pricing-dropdown { display: none; }
}

/* Non-link nav item styling - looks like a link but with caret */
.nav-no-link { cursor: default; }

/* =========================================
   PRICING CARDS (pricing pages)
   ========================================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(45, 212, 191, 0.1);
  position: relative;
}

.pricing-card-header {
  background: var(--bg);
  color: var(--text);
  padding: 24px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.pricing-card-header-featured {
  background: var(--accent);
  color: var(--bg);
  border-bottom-color: var(--accent);
}

.pricing-star { color: #ffd44f; margin-left: 6px; font-size: 13px; }

.pricing-card-body {
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pricing-price {
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  color: var(--accent);
  margin-bottom: 4px;
}
.pricing-currency {
  font-size: 28px;
  font-weight: 600;
  margin-top: 8px;
}
.pricing-amount {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.pricing-asterisk {
  font-size: 24px;
  font-weight: 600;
  margin-top: 6px;
  color: var(--accent);
}
.pricing-amount-text {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent);
  letter-spacing: -0.01em;
  padding: 16px 0;
}

.pricing-period {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 14px;
  font-style: italic;
}
.pricing-setup {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.pricing-best-for {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 22px;
}

.pricing-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}
.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 14px;
  color: var(--text);
  text-align: center;
}
.pricing-features li:last-child { border-bottom: none; }

.pricing-best-line {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 22px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.pricing-best-line strong { color: var(--text); }

.pricing-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 22px;
}

.pricing-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* =========================================
   FACEBOOK SOCIAL ICON
   ========================================= */
.social-fb {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  border: none;
  background: transparent;
  border-radius: 50%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.social-fb:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.5);
}
.social-fb img {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 50%;
}

/* =========================================
   FOOTER BOTTOM - sitemap link + facebook
   ========================================= */
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-sitemap-link {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.footer-sitemap-link:hover { color: var(--accent); }

/* =========================================
   SITEMAP PAGE
   ========================================= */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.sitemap-grid-wide {
  grid-template-columns: 1fr 1fr;
  margin-top: 30px;
  padding-top: 50px;
  border-top: 1px solid var(--border);
}
@media (max-width: 1024px) {
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-grid-wide { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .sitemap-grid, .sitemap-grid-wide { grid-template-columns: 1fr; gap: 36px; }
}

.sitemap-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sitemap-list li {
  margin-bottom: 10px;
}
.sitemap-list a {
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.sitemap-list a:hover {
  color: var(--accent);
  padding-left: 4px;
}

/* =========================================
   FORM ERROR BANNER (shown if PHP handler
   redirects back with ?error=...)
   ========================================= */
.form-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-left: 4px solid #ef4444;
  color: #fca5a5;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}

/* =========================================
   FORM ERROR BANNER (contact.html)
   ========================================= */
.form-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #fca5a5;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* =========================================
   CLOUDFLARE TURNSTILE WIDGET
   ========================================= */
.cf-turnstile {
  margin: 20px 0 6px;
  display: flex;
  justify-content: flex-start;
}
@media (max-width: 700px) {
  .cf-turnstile { justify-content: center; }
}

/* =========================================
   FORM SUBMIT - LOADING STATE
   ========================================= */
.form-submit {
  position: relative;
  min-height: 50px;
}

/* Default: show label, hide spinner */
.form-submit-spinner {
  display: none;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

/* When sending: hide label, show spinner */
.form-submit.is-sending .form-submit-label { display: none; }
.form-submit.is-sending .form-submit-spinner { display: inline-flex; }
.form-submit.is-sending {
  pointer-events: none;
  opacity: 0.85;
}

/* Spinner rotation */
.form-submit-spinner svg {
  animation: form-spinner 0.8s linear infinite;
}
@keyframes form-spinner {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Whole form fades slightly while submitting */
.contact-form form.is-submitting {
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.2s;
}
.contact-form form.is-submitting .form-submit { opacity: 1; pointer-events: none; }
