/* ════════════════════════════════════════════════════════════════
   TMS Outsource — Homepage Redesign
   Design system inspired by TMS Blog, elevated for agency homepage
   ════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Fraunces:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,500&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  /* Ink scale */
  --ink: #1a1a2e;
  --ink-soft: #3d3d5c;
  --ink-muted: #7a7a9a;
  --ink-faint: #b0b0c8;

  /* Brand accent */
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-light: #dbeafe;
  --accent-glow: rgba(37, 99, 235, 0.08);

  /* TMS brand colors (from logo SVG) */
  --tms-teal: #5FC1CE;
  --tms-coral: #E36767;
  --tms-yellow: #E9BC29;
  --tms-green: #37B18E;
  --tms-brown: #785B62;

  /* Backgrounds */
  --bg: #ffffff;
  --bg-soft: #f8f8fc;
  --bg-mid: #f0f0f8;
  --bg-dark: #111118;
  --bg-dark-soft: #1a1a28;

  /* Borders */
  --border: #e2e2f0;
  --border-dark: #c8c8e0;
  --border-dark-mode: #2a2a3a;

  /* Tags / categories */
  --tag-bg: #eef2ff;
  --tag-color: #4338ca;
  --green: #5a9e72; --green-bg: #edf7f1; --green-border: #b6dfc6;
  --yellow: #b8922a; --yellow-bg: #fdf6e3; --yellow-border: #e8d49a;
  --blue: #3d78b5; --blue-bg: #e8f1fb; --blue-border: #a8c8e8;
  --red: #b84040; --red-bg: #fdeaea; --red-border: #e8a8a8;

  /* Typography */
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Layout */
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-w: 1200px;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ════════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(17, 17, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(17, 17, 24, 0.95);
  border-bottom-color: rgba(255,255,255,0.1);
}
.nav-inner {
  max-width: var(--max-w); width: 100%; margin: 0 auto;
  padding: 0 40px; display: flex; align-items: center; gap: 16px;
}
.nav-logo img { height: 32px; flex-shrink: 0; }
.nav-links {
  display: flex; gap: 4px; font-size: 13px; font-weight: 500;
  color: #aaa; align-items: center; flex: 1; justify-content: center;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 6px;
  color: #aaa; transition: color 0.15s, background 0.15s; white-space: nowrap;
}
.nav-links > li > a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links > li.active > a { color: #fff; }

.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  padding-top: 8px; min-width: 240px; z-index: 300;
}
.nav-dropdown::before {
  content: ''; position: absolute; inset: 0; top: 8px;
  background: #1c1c28; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; box-shadow: 0 16px 48px rgba(0,0,0,0.5); z-index: -1;
}
.nav-links > li:hover > .nav-dropdown { display: block; }
.nav-dropdown li a {
  display: block; padding: 9px 14px; margin: 2px 6px;
  border-radius: 6px; font-size: 13px; color: #bbb;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown li a:hover { color: #fff; background: rgba(255,255,255,0.06); }

.nav-cta {
  background: var(--accent); color: #fff; padding: 9px 18px;
  border-radius: 7px; font-size: 13px; font-weight: 600;
  transition: background 0.2s, transform 0.15s; white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; padding: 4px; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; height: 2px; background: #aaa; border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg-dark); overflow-y: auto; z-index: 199; padding: 16px 0 40px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 14px 24px; color: #ccc; font-size: 15px;
  font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
}
.mobile-menu a:hover { color: #fff; }

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; background: var(--bg-dark); color: #fff;
  padding: 140px 40px 100px; overflow: hidden;
  min-height: 90vh; display: flex; align-items: center;
}

/* Animated gradient mesh background */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(37,99,235,0.15), transparent),
    radial-gradient(ellipse 50% 40% at 80% 60%, rgba(95,193,206,0.08), transparent),
    radial-gradient(ellipse 40% 30% at 50% 80%, rgba(227,103,103,0.06), transparent);
  pointer-events: none;
}

/* Dot grid overlay */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner {
  position: relative; max-width: var(--max-w); width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.hero-content { max-width: 560px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: 0.04em; color: var(--tms-teal);
  margin-bottom: 28px; padding: 6px 14px;
  background: rgba(95,193,206,0.08); border: 1px solid rgba(95,193,206,0.15);
  border-radius: 100px;
}
.hero-eyebrow .pulse {
  width: 6px; height: 6px; background: var(--tms-teal); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--serif); font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 500; line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 24px; color: #fff;
}
.hero-title i { font-style: italic; color: var(--tms-teal); }

.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.6); line-height: 1.7;
  margin-bottom: 40px; max-width: 480px;
}

.hero-ctas { display: flex; gap: 12px; margin-bottom: 48px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; padding: 14px 28px;
  border-radius: 10px; font-size: 14px; font-weight: 600;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--accent-dark); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.3);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); color: #fff; padding: 14px 28px;
  border-radius: 10px; font-size: 14px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s, transform 0.15s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* Trust strip inside hero */
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06);
}
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500;
}
.trust-item .stars { color: var(--tms-yellow); letter-spacing: 1px; }
.trust-item strong { color: #fff; font-weight: 600; }

/* Hero visual — abstract code window */
.hero-visual { position: relative; }
.code-window {
  background: rgba(26, 26, 40, 0.6); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
}
.code-window-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-dot { width: 11px; height: 11px; border-radius: 50%; }
.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #28ca42; }
.code-window-body {
  padding: 24px; font-family: var(--mono); font-size: 13px; line-height: 1.8;
}
.code-line { display: flex; gap: 16px; }
.code-line .ln { color: rgba(255,255,255,0.2); width: 24px; text-align: right; flex-shrink: 0; }
.code-line .ct { color: rgba(255,255,255,0.7); }
.code-line .ct .kw { color: #c792ea; }
.code-line .ct .fn { color: #82aaff; }
.code-line .ct .st { color: #c3e88d; }
.code-line .ct .cm { color: rgba(255,255,255,0.25); }
.code-line .ct .nm { color: #f78c6c; }

/* Floating badges around code window */
.float-badge {
  position: absolute; background: rgba(255,255,255,0.95); color: var(--ink);
  padding: 10px 16px; border-radius: 10px; font-size: 12px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 8px;
  animation: float 4s ease-in-out infinite;
}
.float-badge.badge-1 { top: -16px; right: 20px; animation-delay: 0s; }
.float-badge.badge-2 { bottom: -16px; left: 20px; animation-delay: 1.5s; }
.float-badge .dot { width: 8px; height: 8px; border-radius: 50%; }
.float-badge .dot.green { background: var(--tms-green); }
.float-badge .dot.yellow { background: var(--tms-yellow); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ════════════════════════════════════════════════════════════════
   SECTION SHARED
   ════════════════════════════════════════════════════════════════ */
section { padding: 100px 0; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 56px; position: relative; gap: 24px;
}
.section-header-left { position: relative; display: flex; align-items: center; }
.section-num {
  font-family: var(--serif); font-size: 120px; font-weight: 300; line-height: 1;
  color: var(--ink); opacity: 0.04; position: absolute; left: -14px;
  top: 50%; transform: translateY(-50%); letter-spacing: -0.05em;
  pointer-events: none; user-select: none;
}
.section-title {
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  color: var(--ink); letter-spacing: -0.01em; position: relative; z-index: 1;
  padding-left: 72px;
}
.section-title span { color: var(--accent); }
.section-sub {
  font-size: 15px; color: var(--ink-muted); max-width: 420px;
  line-height: 1.7; flex-shrink: 0;
}

/* Colored left strip (from blog design) */
section.strip-teal { border-left: 4px solid var(--tms-teal); }
section.strip-blue { border-left: 4px solid var(--accent); }
section.strip-coral { border-left: 4px solid var(--tms-coral); }
section.strip-green { border-left: 4px solid var(--tms-green); }
section.strip-yellow { border-left: 4px solid var(--tms-yellow); }

/* ════════════════════════════════════════════════════════════════
   CLIENTS STRIP
   ════════════════════════════════════════════════════════════════ */
.clients {
  padding: 48px 0; background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.clients-label {
  text-align: center; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 28px;
}
.clients-grid {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 12px 32px;
}
.clients-grid img {
  height: 32px; opacity: 0.5; filter: grayscale(1);
  transition: opacity 0.2s, filter 0.2s;
}
.clients-grid img:hover { opacity: 1; filter: grayscale(0); }

/* ════════════════════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════════════════════ */
.services { background: var(--bg); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.service-card {
  padding: 32px 28px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex; flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: var(--border-dark);
}
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}
.service-icon svg { width: 22px; height: 22px; }
.service-icon.teal { background: rgba(95,193,206,0.1); color: var(--tms-teal); }
.service-icon.coral { background: rgba(227,103,103,0.1); color: var(--tms-coral); }
.service-icon.yellow { background: rgba(233,188,41,0.1); color: var(--tms-yellow); }
.service-icon.green { background: rgba(55,177,142,0.1); color: var(--tms-green); }
.service-icon.blue { background: rgba(37,99,235,0.1); color: var(--accent); }

.service-card h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  color: var(--ink); margin-bottom: 10px; line-height: 1.3;
}
.service-card p {
  font-size: 14px; color: var(--ink-muted); line-height: 1.65;
  margin-bottom: 20px; flex: 1;
}
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }

/* ════════════════════════════════════════════════════════════════
   WHY TMS — DIFFERENTIATORS
   ════════════════════════════════════════════════════════════════ */
.why-tms { background: var(--bg-soft); }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.why-card {
  padding: 36px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); display: flex; gap: 20px; align-items: flex-start;
  transition: box-shadow 0.25s;
}
.why-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.05); }
.why-card-num {
  font-family: var(--serif); font-size: 40px; font-weight: 300;
  color: var(--accent); opacity: 0.2; line-height: 1; flex-shrink: 0;
  width: 48px;
}
.why-card h3 {
  font-family: var(--serif); font-size: 18px; font-weight: 600;
  color: var(--ink); margin-bottom: 8px;
}
.why-card p { font-size: 14px; color: var(--ink-muted); line-height: 1.65; }

/* Tech stack pills */
.tech-stack { margin-top: 48px; }
.tech-stack-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 16px;
}
.tech-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-pill {
  padding: 7px 14px; background: #fff; border: 1px solid var(--border);
  border-radius: 7px; font-size: 13px; font-weight: 500; color: var(--ink-soft);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.tech-pill:hover {
  border-color: var(--accent); color: var(--accent); background: var(--accent-light);
}

/* ════════════════════════════════════════════════════════════════
   PROCESS / HOW WE WORK
   ════════════════════════════════════════════════════════════════ */
.process { background: var(--bg); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.process-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.3s;
}
.process-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}
.process-card:hover::before {
  transform: scaleX(1);
}

.process-card-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.process-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--card-accent) 12%, transparent);
  color: var(--card-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-card:hover .process-card-icon {
  transform: scale(1.08) rotate(-4deg);
}

.process-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.process-card-tag {
  font-size: 14px;
  font-weight: 500;
  color: var(--card-accent);
  margin-bottom: 14px;
  line-height: 1.5;
}

.process-card-desc {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 20px;
}

.process-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.process-card-list li {
  font-size: 13px;
  color: var(--ink-muted);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.process-card-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--card-accent);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   PORTFOLIO
   ════════════════════════════════════════════════════════════════ */
.portfolio { background: var(--bg); }
.portfolio-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.project-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.project-card:hover {
  transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.project-card-body { padding: 32px; flex: 1; }
.project-card h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--ink); margin-bottom: 8px;
}
.project-card .project-type {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.project-card .project-desc {
  font-size: 14px; color: var(--ink-muted); line-height: 1.65; margin-bottom: 16px;
}
.project-card .project-metric {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--bg-soft); border-radius: 8px;
  font-size: 13px; color: var(--ink-soft); font-weight: 500;
}
.project-card .project-metric strong { color: var(--ink); font-weight: 700; }
.project-card .project-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  margin-top: 16px; transition: gap 0.2s;
}
.project-card .project-link:hover { gap: 10px; }

.project-card .project-quote {
  padding: 20px 32px; background: var(--bg-mid);
  border-top: 1px solid var(--border);
  font-family: var(--serif); font-size: 14px; font-style: italic;
  color: var(--ink-soft); line-height: 1.6;
}
.project-card .project-quote .quote-author {
  display: block; font-family: var(--sans); font-style: normal;
  font-size: 12px; font-weight: 600; color: var(--ink-muted);
  margin-top: 8px;
}

/* ════════════════════════════════════════════════════════════════
   TESTIMONIALS / REVIEWS
   ════════════════════════════════════════════════════════════════ */
.reviews { background: var(--bg-dark); color: #fff; }
.reviews .section-title { color: #fff; }
.reviews .section-num { color: #fff; }
.reviews .section-sub { color: rgba(255,255,255,0.5); }

.clutch-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
  margin-bottom: 48px; transition: background 0.2s;
}
.clutch-badge:hover { background: rgba(255,255,255,0.08); }
.clutch-badge .clutch-logo {
  font-family: var(--serif); font-size: 22px; font-weight: 700; color: #ff6b35;
}
.clutch-badge .clutch-stars { color: var(--tms-yellow); letter-spacing: 2px; font-size: 16px; }
.clutch-badge .clutch-text { font-size: 14px; color: rgba(255,255,255,0.7); }
.clutch-badge .clutch-text strong { color: #fff; }

.reviews-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.review-card {
  padding: 32px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-lg);
  transition: border-color 0.2s, background 0.2s;
}
.review-card:hover { border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); }
.review-card .quote-mark {
  font-family: var(--serif); font-size: 48px; font-weight: 300;
  color: rgba(255,255,255,0.1); line-height: 1; margin-bottom: 8px;
}
.review-card blockquote {
  font-family: var(--serif); font-size: 16px; font-weight: 400;
  line-height: 1.65; color: rgba(255,255,255,0.85); margin-bottom: 24px;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-author .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.review-author .avatar.teal { background: var(--tms-teal); color: #111; }
.review-author .avatar.coral { background: var(--tms-coral); }
.review-author .avatar.green { background: var(--tms-green); color: #111; }
.review-author .avatar.yellow { background: var(--tms-yellow); color: #111; }
.review-author .name { font-size: 14px; font-weight: 600; color: #fff; }
.review-author .role { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ════════════════════════════════════════════════════════════════
   AWARDS
   ════════════════════════════════════════════════════════════════ */
.awards { background: var(--bg-soft); padding: 80px 0; }
.awards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.award-card {
  padding: 24px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.award-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
.award-card img { height: 56px; margin: 0 auto 12px; }
.award-card p { font-size: 12px; color: var(--ink-muted); line-height: 1.5; }

/* ════════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════════ */
.faq { background: var(--bg); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; font-family: var(--serif); font-size: 18px; font-weight: 500;
  color: var(--ink); cursor: pointer; transition: color 0.15s;
  width: 100%; text-align: left;
}
.faq-question:hover { color: var(--accent); }
.faq-question .chevron {
  width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s;
}
.faq-question .chevron svg { width: 100%; height: 100%; }
.faq-item.open .faq-question .chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding-bottom: 24px; font-size: 15px; color: var(--ink-muted); line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════
   CTA
   ════════════════════════════════════════════════════════════════ */
.cta-section { padding: 100px 0; background: var(--bg); }
.cta-box {
  max-width: 900px; margin: 0 auto; padding: 64px 48px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius-xl); text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 24px 24px; pointer-events: none;
}
.cta-box h2 {
  font-family: var(--serif); font-size: 36px; font-weight: 500;
  margin-bottom: 16px; position: relative; line-height: 1.2;
}
.cta-box p {
  font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 32px;
  position: relative;
}
.cta-box .btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--accent); padding: 16px 32px;
  border-radius: 10px; font-size: 15px; font-weight: 700;
  position: relative; transition: transform 0.15s, box-shadow 0.2s;
}
.cta-box .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.5); padding: 64px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-logo img { height: 32px; margin-bottom: 20px; }
.footer-about { font-size: 14px; line-height: 1.7; max-width: 320px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--accent); }
.footer-social svg { width: 16px; height: 16px; fill: #fff; }

.footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; transition: color 0.15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-col address { font-style: normal; font-size: 14px; line-height: 1.7; }
.footer-col address a { color: rgba(255,255,255,0.7); }
.footer-col address a:hover { color: #fff; }

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

/* ════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

/* TRUST STRIP */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 36px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}
.trust-strip .stars { color: var(--tms-yellow); letter-spacing: 1px; }
.trust-strip-divider { color: var(--ink-faint); }

/* INFO SIDEBAR */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.contact-info-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

/* OFFICE CARDS */
.office-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: box-shadow 0.25s;
}
.office-card:last-child { margin-bottom: 0; }
.office-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.05); }
.office-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.office-card-head h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.office-tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tms-teal);
  background: rgba(95,193,206,0.1);
  padding: 3px 8px;
  border-radius: 100px;
  vertical-align: middle;
  margin-left: 4px;
}
.office-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}
.office-directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 16px;
  transition: gap 0.2s;
}
.office-directions:hover { gap: 10px; }

/* DIRECT CONTACT */
.direct-contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.direct-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
}
.direct-contact-row + .direct-contact-row { border-top: 1px solid var(--border); }
.direct-contact-row:hover { background: var(--bg-soft); color: var(--accent); }
.direct-contact-row:hover svg { stroke: var(--accent); }

/* PLUGIN SUPPORT */
.plugin-support-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.plugin-support-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}
.plugin-support-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
}
.plugin-support-link:hover { gap: 10px; }

/* PROCESS STEPS */
.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.process-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-steps strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.process-steps p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { position: static; }
}
@media (max-width: 768px) {
  .trust-strip { flex-direction: column; align-items: flex-start; gap: 6px; }
  .trust-strip-divider { display: none; }
}

/* ════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 64px 0; }
  .container { padding: 0 24px; }
  .hero { padding: 100px 24px 64px; min-height: auto; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas a { width: 100%; justify-content: center; }
  .hero-trust { gap: 16px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-title { font-size: 22px; padding-left: 52px; }
  .section-num { font-size: 80px; }
  .services-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-box { padding: 48px 24px; }
  .cta-box h2 { font-size: 28px; }
  .project-card-body { padding: 24px; }
  .why-card { padding: 24px; }
}

@media (max-width: 480px) {
  .awards-grid { grid-template-columns: 1fr; }
  .hero-eyebrow { font-size: 11px; }
  .clients-grid { gap: 8px 20px; }
  .clients-grid img { height: 24px; }
}
