/* =============================================================
   AGRV Solutions — Design System
   Light mode: color-forward using logo palette
   Dark mode: via [data-theme="dark"]
   ============================================================= */

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

/* ----- Themes ------------------------------------------------ */

:root {
  /* Core palette */
  --teal:         #1aab9b;
  --teal-mid:     #14927f;
  --green:        #4a9e28;
  --blue:         #1d5ea8;
  --blue-mid:     #2d77ae;

  /* Light mode surfaces */
  --bg:           #ffffff;
  --bg-card:      #ffffff;
  --bg-section:   #f0faf9;        /* light teal tint */
  --bg-section-2: #f4fbf0;        /* light green tint */
  --bg-hero:      linear-gradient(140deg, #edf9f8 0%, #f8fffe 35%, #edf5fb 70%, #f2fbee 100%);
  --border:       rgba(26, 171, 155, 0.18);
  --border-strong:rgba(26, 171, 155, 0.35);
  --text:         #0e1f1c;
  --text-secondary:#2d4a46;
  --muted:        #527068;
  --nav-bg:       rgba(255,255,255,0.95);
  --shadow-sm:    0 1px 4px rgba(26,171,155,0.10);
  --shadow:       0 4px 20px rgba(26,171,155,0.12);
  --shadow-lg:    0 8px 40px rgba(26,171,155,0.15);
  --teal-light:   rgba(26,171,155,0.10);
  --green-light:  rgba(74,158,40,0.10);
  --blue-light:   rgba(29,94,168,0.10);

  /* Typography */
  --font-sans:    "DM Sans", system-ui, sans-serif;
  --radius:       0.75rem;
  --radius-sm:    0.4rem;
  --max-w:        72rem;
  --nav-h:        4.25rem;
}

[data-theme="dark"] {
  --bg:           #0a0f14;
  --bg-card:      #111822;
  --bg-section:   #0d1520;
  --bg-section-2: #0b1a12;
  --bg-hero:      #0a0f14;
  --border:       rgba(78,205,196,0.13);
  --border-strong:rgba(78,205,196,0.28);
  --text:         #e8e6e3;
  --text-secondary:#b0aca8;
  --muted:        #8a8a8a;
  --nav-bg:       rgba(10,15,20,0.94);
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.4);
  --shadow:       0 4px 20px rgba(0,0,0,0.45);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.55);
  --teal:         #4ECDC4;
  --teal-mid:     #3bbab1;
  --green:        #7ED957;
  --blue:         #4a9fd4;
  --blue-mid:     #2D77AE;
  --teal-light:   rgba(78,205,196,0.10);
  --green-light:  rgba(126,217,87,0.08);
  --blue-light:   rgba(45,119,174,0.12);
}

/* ----- Base -------------------------------------------------- */

html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  transition: background 0.25s, color 0.25s;
}

img { display: block; max-width: 100%; }
a   { color: var(--teal); text-decoration: none; transition: color 0.15s; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { line-height: 1.2; margin: 0; color: var(--text); }

/* ----- Layout ------------------------------------------------ */

.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
section.alt { background: var(--bg-section); }
section.alt2 { background: var(--bg-section-2); }
.text-center { text-align: center; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.4rem;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

/* Gradient text for headings in light mode */
.section-title-gradient {
  background: linear-gradient(135deg, var(--text) 30%, var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .section-title-gradient {
  background: linear-gradient(135deg, var(--text) 30%, var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 54ch;
  margin: 0 auto;
  line-height: 1.75;
}

.divider {
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 2px;
  margin: 1rem auto 1.75rem;
}
.divider.left { margin-left: 0; }

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}

/* Light-mode nav gets a thin gradient accent line at bottom */
.site-nav::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--green), var(--blue));
  opacity: 0.6;
}

[data-theme="dark"] .site-nav::after { opacity: 0.25; }

.nav-inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 2.3rem; width: auto; }

/* Nav links list */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

.nav-links > li { position: relative; }

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  cursor: pointer;
}

.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--text); background: var(--teal-light); text-decoration: none; }
.nav-links > li > a.active { color: var(--teal); }

/* Dropdown chevron */
.nav-chevron {
  width: 0.75rem;
  height: 0.75rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nav-links > li.open > a .nav-chevron { transform: rotate(180deg); }

/* Dropdown menu */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s;
  z-index: 300;
}

.nav-links > li.open > .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: background 0.12s, color 0.12s;
  text-decoration: none;
}

.nav-dropdown li a:hover { background: var(--teal-light); color: var(--teal); }

.nav-dropdown .dropdown-icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.3rem;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.nav-dropdown .dropdown-icon.green { background: var(--green-light); color: var(--green); }
.nav-dropdown .dropdown-icon.blue  { background: var(--blue-light);  color: var(--blue);  }

/* Dropdown divider */
.nav-dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 0.35rem 0.5rem;
}

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 2.15rem;
  height: 2.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  flex-shrink: 0;
}

.theme-toggle:hover { background: var(--teal-light); color: var(--teal); border-color: var(--teal); }
.theme-toggle svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-right .btn { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem 1rem;
    gap: 0;
    margin: 0;
    box-shadow: var(--shadow-lg);
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-links.open { display: flex; }
  .nav-links > li > a { font-size: 0.95rem; padding: 0.65rem 0.5rem; border-radius: 0; border-bottom: 1px solid var(--border); }
  .nav-links > li:last-child > a { border-bottom: none; }

  /* Mobile dropdowns expand inline */
  .nav-dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--bg-section);
    padding: 0.25rem 0 0.5rem 1rem;
    display: none;
  }

  .nav-links > li.open > .nav-dropdown { display: block; }
  .nav-dropdown li a { font-size: 0.85rem; padding: 0.5rem 0.5rem; }
  .nav-right { gap: 0.5rem; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  border: none;
  text-align: center;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  color: #fff;
  box-shadow: 0 2px 10px rgba(26,171,155,0.3);
}
[data-theme="dark"] .btn-primary { color: #0a0f14; box-shadow: 0 2px 10px rgba(78,205,196,0.2); }
.btn-primary:hover { box-shadow: 0 4px 16px rgba(26,171,155,0.4); }

.btn-outline { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-outline:hover { background: var(--teal-light); }

.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border-strong); }
.btn-ghost:hover { background: var(--bg-section); border-color: var(--teal); }

.btn-lg { padding: 0.85rem 1.85rem; font-size: 0.95rem; }

/* ----- Hero V2 (split layout) ------------------------------- */

.hero-v2 {
  padding: 5.5rem 0 4.5rem;
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
}

/* Large radial accent blobs */
.hero-v2::before {
  content: '';
  position: absolute;
  top: -160px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,171,155,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.hero-v2::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,158,40,0.08) 0%, transparent 60%);
  pointer-events: none;
}

[data-theme="dark"] .hero-v2::before { background: radial-gradient(circle, rgba(78,205,196,0.12) 0%, transparent 60%); }
[data-theme="dark"] .hero-v2::after  { background: radial-gradient(circle, rgba(126,217,87,0.08) 0%, transparent 60%); }

.hero-v2-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

@media (max-width: 900px) {
  .hero-v2-inner { grid-template-columns: 1fr; gap: 3rem; }
}

/* Left text */
.hero-v2-text { display: flex; flex-direction: column; align-items: flex-start; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(26,171,155,0.12), rgba(74,158,40,0.08));
  color: var(--teal);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.32rem 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
  text-align: left;
}

.hero-headline-gradient {
  background: linear-gradient(135deg, var(--teal) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 48ch;
  margin: 0 0 2.25rem;
  line-height: 1.75;
}

.hero-btns { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* Proof row below buttons */
.hero-proof-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-proof-num {
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-proof-label { font-size: 0.72rem; color: var(--muted); font-weight: 500; white-space: nowrap; }

/* Right mockup card */
.hero-v2-visual { display: flex; justify-content: flex-end; position: relative; }

@media (max-width: 900px) { .hero-v2-visual { justify-content: center; } }

.hero-mockup {
  width: 100%;
  max-width: 400px;
  background: #0c1824;
  border: 1px solid rgba(78,205,196,0.2);
  border-radius: 1rem;
  box-shadow: 0 32px 64px rgba(0,0,0,0.35), 0 0 0 1px rgba(78,205,196,0.06), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.5s ease;
}

.hero-mockup:hover {
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.mockup-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.mockup-dots { display: flex; gap: 5px; }
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-chrome-title {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.mockup-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #4ecdc4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mockup-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ecdc4;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.mockup-body { padding: 1rem 1rem 0.75rem; }

.mockup-section-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.6rem;
}

.mockup-metric { margin-bottom: 0.85rem; }

.mockup-metric-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.mockup-metric-label { font-size: 0.75rem; color: rgba(255,255,255,0.55); font-weight: 500; }
.mockup-metric-value { font-size: 0.88rem; color: rgba(255,255,255,0.9); font-weight: 700; }

.mockup-bar-track {
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
}

.mockup-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #1aab9b, #4ecdc4);
}

.mockup-bar-fill.green  { background: linear-gradient(90deg, #4a9e28, #7ed957); }
.mockup-bar-fill.blue   { background: linear-gradient(90deg, #1d5ea8, #4a9fd4); }

.mockup-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 0.85rem 0; }

.mockup-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mockup-chip {
  padding: 0.3rem 0.65rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.mockup-chip.teal  { color: #4ecdc4; border-color: rgba(78,205,196,0.25); background: rgba(78,205,196,0.08); }
.mockup-chip.green { color: #7ed957; border-color: rgba(126,217,87,0.25); background: rgba(126,217,87,0.07); }
.mockup-chip.blue  { color: #4a9fd4; border-color: rgba(74,159,212,0.25); background: rgba(74,159,212,0.07); }

.mockup-log { margin-top: 0.85rem; }
.mockup-log-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.68rem;
}

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

.mockup-log-time { color: rgba(255,255,255,0.25); white-space: nowrap; font-family: monospace; }
.mockup-log-text { color: rgba(255,255,255,0.6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mockup-log-status { margin-left: auto; flex-shrink: 0; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.05em; }
.mockup-log-status.ok  { color: #7ed957; }
.mockup-log-status.run { color: #4ecdc4; }

/* ----- Capability marquee strip ----------------------------- */

.marquee-section {
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-section);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  animation: marquee-scroll 40s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.marquee-item::after {
  content: '';
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--border-strong);
  flex-shrink: 0;
}

.marquee-item:hover { color: var(--teal); }

/* ----- Numbers band ----------------------------------------- */

.numbers-band {
  padding: 3rem 0;
  background: linear-gradient(135deg, #07181a 0%, #091a14 50%, #070e1a 100%);
  position: relative;
  overflow: hidden;
}

.numbers-band::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 200px;
  background: radial-gradient(ellipse, rgba(26,171,155,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.numbers-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

@media (max-width: 600px) { .numbers-band-inner { grid-template-columns: repeat(2, 1fr); } }

.number-stat {
  text-align: center;
  padding: 1.25rem 1rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s, background 0.2s;
}

.number-stat:hover { border-color: rgba(78,205,196,0.25); background: rgba(78,205,196,0.04); }

.number-stat-value {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #4ecdc4, #7ed957);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.number-stat-value.alt { background: linear-gradient(135deg, #4a9fd4, #4ecdc4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.number-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.45); font-weight: 500; line-height: 1.4; }

/* ----- AGRV Difference (comparison) section ----------------- */

.diff-section {
  padding: 5.5rem 0;
  background: linear-gradient(160deg, #07131c 0%, #091a11 50%, #070d18 100%);
  position: relative;
  overflow: hidden;
}

.diff-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,171,155,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.diff-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(74,158,40,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.diff-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; position: relative; }

.diff-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.diff-header .eyebrow { color: #4ecdc4; }
.diff-header h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.diff-header p { font-size: 0.95rem; color: rgba(255,255,255,0.5); max-width: 50ch; margin: 0 auto; line-height: 1.7; }

.diff-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 700px) {
  .diff-grid { grid-template-columns: 1fr; }
  .diff-vs-col { display: none; }
}

.diff-col-header {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.diff-col-header.bad  { color: rgba(255,255,255,0.3); }
.diff-col-header.good { color: #4ecdc4; }

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  transition: background 0.15s;
}

.diff-item:hover { background: rgba(255,255,255,0.03); }

.diff-icon {
  flex-shrink: 0;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 0.1rem;
}

.diff-icon.bad  { background: rgba(255,80,80,0.12); color: rgba(255,120,120,0.8); }
.diff-icon.good { background: rgba(78,205,196,0.15); color: #4ecdc4; }

.diff-item-text h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.2rem; }
.diff-item-text p  { font-size: 0.78rem; margin: 0; line-height: 1.55; }

.diff-item.bad  h4 { color: rgba(255,255,255,0.55); }
.diff-item.bad  p  { color: rgba(255,255,255,0.28); }
.diff-item.good h4 { color: rgba(255,255,255,0.92); }
.diff-item.good p  { color: rgba(255,255,255,0.5); }

.diff-vs-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
  gap: 2.65rem;
}

.diff-vs-pip {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

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

.industries-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.industry-tile {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
}

.industry-tile:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.industry-tile:nth-child(3n+2):hover { border-color: var(--green); }
.industry-tile:nth-child(3n):hover   { border-color: var(--blue); }

.industry-icon {
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
  line-height: 1;
}

.industry-tile h4 { font-size: 0.82rem; font-weight: 700; color: var(--text); margin: 0 0 0.3rem; line-height: 1.3; }
.industry-tile p  { font-size: 0.74rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* ----- Legacy hero (kept for compatibility) ----------------- */

.hero { padding: 6rem 0 5.5rem; background: var(--bg-hero); text-align: center; position: relative; overflow: hidden; }

.hero-badge-num {
  font-size: 1.6rem; font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 0.25rem;
}

.hero-badge-label { font-size: 0.78rem; color: var(--muted); font-weight: 500; }

.hero-badges {
  display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap;
  margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border);
}

/* ----- Section with colored stripe ----------------------------- */

.section-stripe-top {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--teal), var(--green), var(--blue)) 1;
}

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

.solutions-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.solution-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--teal);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* Light mode: subtle gradient sheen */
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(26,171,155,0.04) 0%, transparent 100%);
  pointer-events: none;
}

.solution-card:nth-child(3n+2) { border-top-color: var(--green); }
.solution-card:nth-child(3n+2)::before { background: linear-gradient(180deg, rgba(74,158,40,0.04) 0%, transparent 100%); }
.solution-card:nth-child(3n)   { border-top-color: var(--blue); }
.solution-card:nth-child(3n)::before   { background: linear-gradient(180deg, rgba(29,94,168,0.04) 0%, transparent 100%); }

.solution-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  text-decoration: none;
  border-color: var(--teal);
}

.solution-card:nth-child(3n+2):hover { border-color: var(--green); }
.solution-card:nth-child(3n):hover   { border-color: var(--blue); }

.solution-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
  background: var(--teal-light);
  color: var(--teal);
  flex-shrink: 0;
}

.solution-card-icon.green { background: var(--green-light); color: var(--green); }
.solution-card-icon.blue  { background: var(--blue-light);  color: var(--blue);  }

.solution-card h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 0.55rem; color: var(--text); }
.solution-card p  { font-size: 0.855rem; color: var(--muted); margin: 0 0 1.25rem; flex: 1; line-height: 1.65; }

.solution-card .learn-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  letter-spacing: 0.02em;
}

.solution-card:nth-child(3n+2) .learn-more { color: var(--green); }
.solution-card:nth-child(3n)   .learn-more { color: var(--blue); }

/* ----- Trust Pillars ---------------------------------------- */

.pillars-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--teal);
  transition: box-shadow 0.2s;
}

.pillar:nth-child(2) { border-bottom-color: var(--green); }
.pillar:nth-child(3) { border-bottom-color: var(--blue); }
.pillar:nth-child(4) { border-bottom-color: var(--teal-mid); }

.pillar:hover { box-shadow: var(--shadow); }

.pillar-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pillar h3 { font-size: 0.95rem; font-weight: 700; }
.pillar p  { font-size: 0.86rem; color: var(--muted); margin: 0; line-height: 1.65; }

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

.audience-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.audience-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.audience-card:nth-child(2) { border-left-color: var(--green); }
.audience-card:nth-child(3) { border-left-color: var(--blue); }
.audience-card:hover { box-shadow: var(--shadow); }

.audience-card-header { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.85rem; }

.audience-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.audience-card:nth-child(2) .audience-icon { background: var(--green-light); color: var(--green); }
.audience-card:nth-child(3) .audience-icon { background: var(--blue-light);  color: var(--blue); }

.audience-card h3 { font-size: 0.95rem; font-weight: 700; }
.audience-card p  { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.65; }

/* ----- CTA Banner ------------------------------------------- */

.cta-banner {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, #0d3d38 0%, #0a2a26 50%, #07201c 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(78,205,196,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(126,217,87,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  position: relative;
}

.cta-banner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 48ch;
  margin: 0 auto 2.25rem;
  position: relative;
}

.cta-banner .btn-white {
  background: #fff;
  color: #0d3d38;
  font-weight: 700;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}

.cta-banner .btn-white:hover { opacity: 0.93; }

.cta-banner .btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.45);
  font-weight: 600;
}

.cta-banner .btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ----- Service Page Hero (split layout) ---------------------- */

.svc-hero {
  background: var(--bg-hero);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.svc-hero::before {
  content: '';
  position: absolute;
  top: -140px; right: -100px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(26,171,155,0.09) 0%, transparent 60%);
  pointer-events: none;
}

.svc-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(74,158,40,0.07) 0%, transparent 60%);
  pointer-events: none;
}

[data-theme="dark"] .svc-hero::before { background: radial-gradient(circle, rgba(78,205,196,0.11) 0%, transparent 60%); }

.svc-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
}

@media (max-width: 860px) { .svc-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; } }

.svc-hero-text { display: flex; flex-direction: column; align-items: flex-start; }

.svc-hero-text h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  line-height: 1.12;
}

.svc-hero-text p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 50ch;
  line-height: 1.75;
  margin: 0 0 2rem;
}

.svc-hero-visual { display: flex; justify-content: flex-end; }
@media (max-width: 860px) { .svc-hero-visual { justify-content: center; } }

/* Page stats band (small dark band under hero) */
.page-stats-band {
  padding: 1.75rem 0;
  background: linear-gradient(135deg, #07181a 0%, #091a14 50%, #070e1a 100%);
  border-bottom: 1px solid rgba(78,205,196,0.12);
}

.page-stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.page-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.75rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.page-stat-item:last-child { border-right: none; }
@media (max-width: 600px) { .page-stat-item { border-right: none; padding: 0.6rem 1.25rem; } }

.page-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4ecdc4, #7ed957);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.page-stat-val.alt { background: linear-gradient(135deg, #4a9fd4, #4ecdc4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.page-stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.4); font-weight: 500; white-space: nowrap; line-height: 1.35; }

/* Legacy .page-hero kept for non-service inner pages */
.page-hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(26,171,155,0.10) 0%, transparent 65%);
  pointer-events: none;
}

[data-theme="dark"] .page-hero::before { background: radial-gradient(circle, rgba(78,205,196,0.12) 0%, transparent 65%); }

.page-hero-inner { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; position: relative; }

.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 54ch;
  line-height: 1.75;
  margin: 0 0 2rem;
}

.page-hero-btns { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* ----- Service Widgets (shared base) ----------------------- */

.svc-widget {
  width: 100%;
  max-width: 380px;
  background: #0c1824;
  border: 1px solid rgba(78,205,196,0.2);
  border-radius: 1rem;
  box-shadow: 0 28px 56px rgba(0,0,0,0.4), 0 0 0 1px rgba(78,205,196,0.06), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.svc-widget:hover { transform: perspective(1100px) rotateY(-2deg) rotateX(1deg); }

.svc-widget-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.svc-widget-dots { display: flex; gap: 5px; }
.svc-widget-dots span { width: 9px; height: 9px; border-radius: 50%; }
.svc-widget-dots span:nth-child(1) { background: #ff5f57; }
.svc-widget-dots span:nth-child(2) { background: #ffbd2e; }
.svc-widget-dots span:nth-child(3) { background: #28c840; }

.svc-widget-title { font-size: 0.68rem; color: rgba(255,255,255,0.4); font-weight: 500; letter-spacing: 0.04em; }

.svc-widget-status {
  margin-left: auto;
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.62rem; font-weight: 700;
  color: #4ecdc4; letter-spacing: 0.08em; text-transform: uppercase;
}

.svc-widget-status-dot {
  width: 5px; height: 5px; border-radius: 50%; background: #4ecdc4;
  animation: pulse-dot 2s ease-in-out infinite;
}

.svc-widget-body { padding: 1rem; }
.svc-widget-section { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 0.65rem; margin-top: 0.85rem; }
.svc-widget-section:first-child { margin-top: 0; }
.svc-widget-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 0.75rem 0; }

.svc-widget-footer {
  display: flex; gap: 0.4rem; flex-wrap: wrap;
  padding: 0.65rem 1rem;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.svc-tag {
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}
.svc-tag.teal  { color: #4ecdc4; background: rgba(78,205,196,0.1); }
.svc-tag.green { color: #7ed957; background: rgba(126,217,87,0.08); }
.svc-tag.blue  { color: #4a9fd4; background: rgba(74,159,212,0.1); }
.svc-tag.white { color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }

/* Metric row (reused across multiple widgets) */
.svc-metric { margin-bottom: 0.7rem; }
.svc-metric:last-child { margin-bottom: 0; }
.svc-metric-hdr { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.3rem; }
.svc-metric-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.svc-metric-val   { font-size: 0.85rem; color: rgba(255,255,255,0.9); font-weight: 700; }
.svc-bar-track { height: 4px; background: rgba(255,255,255,0.07); border-radius: 99px; overflow: hidden; }
.svc-bar-fill  { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #1aab9b, #4ecdc4); }
.svc-bar-fill.green { background: linear-gradient(90deg, #4a9e28, #7ed957); }
.svc-bar-fill.blue  { background: linear-gradient(90deg, #1d5ea8, #4a9fd4); }
.svc-bar-fill.purple{ background: linear-gradient(90deg, #7c3aed, #a78bfa); }

/* ----- Code Editor Widget (Custom Software) ----------------- */

.code-widget-body { padding: 0.85rem 0.85rem 0; font-family: 'Courier New', 'Consolas', monospace; font-size: 0.68rem; line-height: 1.8; }

.code-line { display: flex; gap: 0.6rem; }
.code-ln { color: rgba(255,255,255,0.18); min-width: 1rem; text-align: right; user-select: none; flex-shrink: 0; }
.code-kw  { color: #c792ea; }
.code-fn  { color: #82aaff; }
.code-st  { color: #c3e88d; }
.code-cm  { color: rgba(255,255,255,0.28); font-style: italic; }
.code-nu  { color: #f78c6c; }
.code-id  { color: #e0e0e0; }
.code-op  { color: rgba(255,255,255,0.5); }
.code-indent { padding-left: 1.1rem; }

/* ----- Chart / Data Widget ---------------------------------- */

.chart-widget-body { padding: 0.85rem; }

.chart-metric { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.65rem; }
.chart-metric:last-child { margin-bottom: 0; }
.chart-metric-label { font-size: 0.7rem; color: rgba(255,255,255,0.55); min-width: 5.5rem; }
.chart-metric-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.07); border-radius: 99px; overflow: hidden; }
.chart-metric-fill { height: 100%; border-radius: 99px; }
.chart-metric-pct { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.8); min-width: 2.2rem; text-align: right; }

/* ----- Infrastructure Architecture Widget ------------------- */

.infra-body { padding: 1rem 0.9rem; }

.infra-row { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-bottom: 0.35rem; }
.infra-node {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(78,205,196,0.25);
  border-radius: 5px;
  padding: 0.35rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
}
.infra-node.highlight { border-color: rgba(78,205,196,0.5); color: #4ecdc4; background: rgba(78,205,196,0.08); }
.infra-node.green { border-color: rgba(126,217,87,0.4); color: #7ed957; background: rgba(126,217,87,0.07); }
.infra-node.blue  { border-color: rgba(74,159,212,0.4); color: #4a9fd4; background: rgba(74,159,212,0.07); }
.infra-arrow { font-size: 0.7rem; color: rgba(255,255,255,0.25); }
.infra-arrow-down { text-align: center; font-size: 0.7rem; color: rgba(255,255,255,0.2); margin-bottom: 0.35rem; }

/* ----- Process Flow Widget (Consulting) -------------------- */

.process-body { padding: 0.85rem; }

.process-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 5px;
  margin-bottom: 0.35rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.15s;
}

.process-step:hover { border-color: rgba(78,205,196,0.2); }

.process-step-num {
  width: 1.4rem; height: 1.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #1aab9b, #4a9e28);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 800;
  color: #fff; flex-shrink: 0;
}

.process-step-text h5 { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.85); margin: 0 0 0.1rem; }
.process-step-text p  { font-size: 0.62rem; color: rgba(255,255,255,0.38); margin: 0; }

/* ----- AI Inference Terminal -------------------------------- */

.ai-terminal { padding: 0.85rem; font-family: 'Courier New', monospace; }

.ai-prompt-line { font-size: 0.68rem; color: rgba(255,255,255,0.35); margin-bottom: 0.5rem; display: flex; gap: 0.4rem; }
.ai-prompt-caret { color: #4ecdc4; }
.ai-prompt-text  { color: rgba(255,255,255,0.6); }

.ai-model-row { display: flex; justify-content: space-between; margin-bottom: 0.75rem; }
.ai-model-label { font-size: 0.62rem; color: rgba(255,255,255,0.25); }
.ai-model-val   { font-size: 0.62rem; color: #4ecdc4; font-weight: 600; }

.ai-output-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(78,205,196,0.12);
  border-radius: 4px;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.5rem;
}

.ai-output-text { font-size: 0.66rem; color: rgba(255,255,255,0.65); line-height: 1.65; }

.ai-typing-indicator { display: flex; gap: 3px; align-items: center; margin-top: 0.35rem; }
.ai-typing-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: #4ecdc4; opacity: 0.7;
  animation: typing-bounce 1.4s ease-in-out infinite;
}
.ai-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ai-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

/* ----- LMS Widget ------------------------------------------ */

.lms-body { padding: 0.85rem; }

.lms-course {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
  padding: 0.5rem 0.6rem;
  background: rgba(255,255,255,0.03);
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.05);
}

.lms-course-icon {
  width: 1.6rem; height: 1.6rem; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0;
}
.lms-course-icon.teal  { background: rgba(78,205,196,0.15); }
.lms-course-icon.green { background: rgba(126,217,87,0.12); }
.lms-course-icon.blue  { background: rgba(74,159,212,0.12); }

.lms-course-info { flex: 1; min-width: 0; }
.lms-course-name { font-size: 0.68rem; font-weight: 600; color: rgba(255,255,255,0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 0.25rem; }
.lms-course-bar  { height: 3px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.lms-course-fill { height: 100%; border-radius: 99px; }
.lms-course-fill.teal  { background: linear-gradient(90deg, #1aab9b, #4ecdc4); }
.lms-course-fill.green { background: linear-gradient(90deg, #4a9e28, #7ed957); }
.lms-course-fill.blue  { background: linear-gradient(90deg, #1d5ea8, #4a9fd4); }

.lms-course-pct { font-size: 0.68rem; font-weight: 700; min-width: 2.2rem; text-align: right; }
.lms-course-pct.teal  { color: #4ecdc4; }
.lms-course-pct.green { color: #7ed957; }
.lms-course-pct.blue  { color: #4a9fd4; }

/* ----- Health Dashboard Widget ----------------------------- */

.health-body { padding: 0.85rem; }

.health-service-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0.65rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 5px;
  margin-bottom: 0.35rem;
}

.health-service-name { font-size: 0.7rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.health-status { display: flex; align-items: center; gap: 0.3rem; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; }
.health-dot { width: 6px; height: 6px; border-radius: 50%; }
.health-status.ok   { color: #7ed957; }
.health-status.ok .health-dot { background: #7ed957; }
.health-status.warn { color: #ffbd2e; }
.health-status.warn .health-dot { background: #ffbd2e; }

.health-uptime-row { display: flex; justify-content: space-between; gap: 0.5rem; margin-top: 0.5rem; }
.health-uptime-item { text-align: center; flex: 1; padding: 0.5rem; background: rgba(255,255,255,0.03); border-radius: 4px; border: 1px solid rgba(255,255,255,0.05); }
.health-uptime-val   { font-size: 0.85rem; font-weight: 800; color: #7ed957; }
.health-uptime-label { font-size: 0.58rem; color: rgba(255,255,255,0.3); margin-top: 0.1rem; }

/* ----- Service Sub-page Sections ---------------------------- */

.benefit-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.benefit-card {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-top: 3px solid var(--teal);
  border-radius: 0 0 var(--radius) var(--radius);
  transition: box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50px;
  background: linear-gradient(180deg, rgba(26,171,155,0.05) 0%, transparent 100%);
  pointer-events: none;
}

.benefit-card:nth-child(2) { border-top-color: var(--green); }
.benefit-card:nth-child(2)::before { background: linear-gradient(180deg, rgba(74,158,40,0.05) 0%, transparent 100%); }
.benefit-card:nth-child(3) { border-top-color: var(--blue); }
.benefit-card:nth-child(3)::before { background: linear-gradient(180deg, rgba(29,94,168,0.05) 0%, transparent 100%); }

.benefit-card:hover { box-shadow: var(--shadow); }

.benefit-icon { font-size: 1.6rem; margin-bottom: 0.9rem; line-height: 1; position: relative; }
.benefit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; position: relative; }
.benefit-card p  { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.65; position: relative; }

/* Deliverables */
.deliverables-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.deliverable-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.deliverable-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }

.deliverable-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.deliverable-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.deliverable-card p  { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.65; }

/* Tech approach table */
.tech-wrapper { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }

.tech-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }

.tech-table th {
  text-align: left;
  padding: 0.7rem 1rem;
  background: linear-gradient(90deg, var(--bg-section), var(--bg-section-2));
  color: var(--muted);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--border);
}

.tech-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
  line-height: 1.65;
}

.tech-table td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; width: 32%; }
.tech-table tr:last-child td { border-bottom: none; }

/* Use cases */
.use-case-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.use-case-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
}

.use-case-card:nth-child(2) { border-left-color: var(--green); }
.use-case-card:nth-child(3) { border-left-color: var(--blue); }

.use-case-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}

.use-case-card:nth-child(2) .use-case-label { color: var(--green); }
.use-case-card:nth-child(3) .use-case-label { color: var(--blue); }

.use-case-card h3 { font-size: 0.93rem; font-weight: 700; margin-bottom: 0.5rem; }
.use-case-card p  { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.65; }

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

.faq-list { border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 1.15rem 1.5rem;
  text-align: left;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font-sans);
  cursor: pointer;
  gap: 1rem;
  transition: background 0.15s;
}

.faq-question:hover { background: var(--bg-section); }
.faq-item.open .faq-question { background: var(--bg-section); color: var(--teal); }

.faq-chevron {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--teal);
  transition: transform 0.25s;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer { display: none; padding: 0 1.5rem 1.25rem; font-size: 0.875rem; color: var(--muted); line-height: 1.8; }
.faq-item.open .faq-answer { display: block; }

/* ----- Related Solutions ------------------------------------ */

.related-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); max-width: 44rem; }

.related-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--teal);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: var(--text);
}

.related-card:nth-child(2) { border-top-color: var(--green); }
.related-card:hover { box-shadow: var(--shadow); text-decoration: none; }

.related-card-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.related-card h3 { font-size: 0.93rem; font-weight: 700; }
.related-card p  { font-size: 0.83rem; color: var(--muted); margin: 0; }

/* ----- Services Overview ------------------------------------ */

.services-overview-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.service-overview-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--teal);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.service-overview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: linear-gradient(180deg, rgba(26,171,155,0.04) 0%, transparent 100%);
  pointer-events: none;
}

.service-overview-card:nth-child(2n) { border-top-color: var(--green); }
.service-overview-card:nth-child(2n)::before { background: linear-gradient(180deg, rgba(74,158,40,0.04) 0%, transparent 100%); }
.service-overview-card:nth-child(3n) { border-top-color: var(--blue); }
.service-overview-card:nth-child(3n)::before { background: linear-gradient(180deg, rgba(29,94,168,0.04) 0%, transparent 100%); }

.service-overview-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }

.service-overview-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  background: var(--teal-light);
  color: var(--teal);
  position: relative;
}

.service-overview-icon.green { background: var(--green-light); color: var(--green); }
.service-overview-icon.blue  { background: var(--blue-light);  color: var(--blue);  }

.service-overview-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; position: relative; }
.service-overview-card p  { font-size: 0.9rem; color: var(--muted); margin: 0 0 1.5rem; flex: 1; line-height: 1.7; position: relative; }

.service-overview-card .explore-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  margin-top: auto;
  position: relative;
  transition: gap 0.15s;
}

.service-overview-card:hover .explore-link { gap: 0.5rem; }

/* ----- Pricing --------------------------------------------- */

.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.price-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.price-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }

.price-card.featured {
  border-color: var(--teal);
  background: linear-gradient(180deg, var(--teal-light) 0%, var(--bg-card) 100%);
}

.price-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }

.price-amount {
  font-size: 1.45rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.price-card p { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.65; }

/* ----- About / Values --------------------------------------- */

.values-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.value-block {
  padding: 1.75rem;
  border-left: 4px solid var(--teal);
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.value-block:nth-child(2) { border-left-color: var(--green); }
.value-block:nth-child(3) { border-left-color: var(--blue); }
.value-block:hover { box-shadow: var(--shadow-sm); }

.value-block h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.6rem; }
.value-block p  { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.65; }

.team-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 52rem; margin: 0 auto; }

.team-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.team-card:hover { box-shadow: var(--shadow); border-color: var(--teal); }

.team-initials {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 1.25rem;
}

[data-theme="dark"] .team-initials { color: #0a0f14; }

.team-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem; }
.team-role { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.85rem; }
.team-card p { font-size: 0.875rem; color: var(--muted); margin: 0; line-height: 1.7; }

.advisory-row { display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.advisory-item { text-align: center; }
.advisory-item .name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.advisory-item .role { font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; }

/* Advisory Board Cards */
.advisory-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 52rem; margin: 0 auto; }

.advisory-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.advisory-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green));
}

.advisory-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.advisory-card:hover { box-shadow: var(--shadow); border-color: var(--teal); }

.advisory-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 1.25rem;
}

.advisory-card:nth-child(2) .advisory-badge { color: var(--blue); background: var(--blue-light); }

.advisory-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.85rem; }

.advisory-initials {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

[data-theme="dark"] .advisory-initials { color: #0a0f14; }
.advisory-card:nth-child(2) .advisory-initials { background: linear-gradient(135deg, var(--blue), var(--blue-mid)); }

.advisory-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.advisory-role { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--teal); }
.advisory-card:nth-child(2) .advisory-role { color: var(--blue); }
.advisory-card p { font-size: 0.875rem; color: var(--muted); margin: 0 0 1.25rem; line-height: 1.7; }

.advisory-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.expertise-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--bg-section);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* Story section two-column */
.story-layout {
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

@media (max-width: 760px) { .story-layout { grid-template-columns: 1fr; gap: 2.5rem; } }

.story-text h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; line-height: 1.25; }
.story-text p  { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }
.story-text p:last-of-type { margin-bottom: 0; }

.story-pillars { display: flex; flex-direction: column; gap: 1.25rem; }

.story-pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: box-shadow 0.15s;
}

.story-pillar:nth-child(2) { border-left-color: var(--green); }
.story-pillar:nth-child(3) { border-left-color: var(--blue); }
.story-pillar:hover { box-shadow: var(--shadow-sm); }

.story-pillar-icon {
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.story-pillar:nth-child(2) .story-pillar-icon { background: var(--green-light); color: var(--green); }
.story-pillar:nth-child(3) .story-pillar-icon { background: var(--blue-light); color: var(--blue); }

.story-pillar h4 { font-size: 0.9rem; font-weight: 700; margin: 0 0 0.25rem; }
.story-pillar p  { font-size: 0.83rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* Approach steps */
.approach-grid { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.approach-step {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border);
  position: relative;
}

.approach-step:last-child { border-right: none; }

@media (max-width: 760px) {
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .approach-step { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .approach-step:nth-child(2n) { border-right: none; }
  .approach-step:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 480px) {
  .approach-grid { grid-template-columns: 1fr; }
  .approach-step { border-right: none; border-bottom: 1px solid var(--border); }
  .approach-step:last-child { border-bottom: none; }
}

.approach-num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.approach-step h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.45rem; }
.approach-step p  { font-size: 0.83rem; color: var(--muted); margin: 0; line-height: 1.65; }

/* Remote-first service area */
.service-area-hero {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(26,171,155,0.07) 0%, rgba(74,158,40,0.05) 50%, rgba(29,94,168,0.07) 100%);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
}

.service-area-hero h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; }
.service-area-hero p  { font-size: 0.9rem; color: var(--muted); margin: 0; max-width: 52ch; margin: 0 auto; line-height: 1.7; }

.service-area-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
}

/* ----- Contact --------------------------------------------- */

.contact-layout { display: grid; gap: 3rem; grid-template-columns: 1fr 1.4fr; align-items: start; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.85rem; }
.contact-info > p { font-size: 0.9rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.7; }

.info-item { display: flex; align-items: flex-start; gap: 0.85rem; margin-bottom: 1.35rem; }

.info-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.info-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.2rem; }
.info-value { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

.contact-form { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius); border-top: 3px solid var(--teal); padding: 2rem; }
.contact-form h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 1.5rem; }

.contact-form-status {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.55;
}

.contact-form-status--pending {
  background: var(--teal-light);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
}

.contact-form-status--success {
  background: rgba(74, 158, 40, 0.12);
  border: 1px solid rgba(74, 158, 40, 0.35);
  color: var(--text);
}

[data-theme="dark"] .contact-form-status--success {
  background: rgba(126, 217, 87, 0.1);
  border-color: rgba(126, 217, 87, 0.3);
}

.contact-form-status--error {
  background: rgba(220, 80, 80, 0.1);
  border: 1px solid rgba(220, 80, 80, 0.35);
  color: var(--text);
}

.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-bottom: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.form-group:last-of-type { margin-bottom: 1.5rem; }

.form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.15s;
  width: 100%;
}

.form-group select option { background: var(--bg); color: var(--text); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-light); }
.form-group textarea { resize: vertical; min-height: 130px; }

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--bg);
}

/* Light mode footer gets a subtle gradient top */
.site-footer::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--green), var(--blue), var(--teal));
  margin-bottom: -1px;
  opacity: 0.4;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo { height: 1.8rem; width: auto; opacity: 0.65; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { font-size: 0.82rem; color: var(--muted); }
.footer-links a:hover { color: var(--teal); text-decoration: none; }
.footer-copy { font-size: 0.8rem; color: var(--muted); }
