/* =========================================================
   Orkestrator - styles.css
   The entire site's styling, in one file. Clean, modern,
   responsive, with light + automatic dark mode. Design tokens
   live in :root so the whole look is tunable from one place.
   ========================================================= */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --surface: #ffffff;
  --text: #14141b;
  --muted: #5b5c6b;
  --border: #e7e8f0;
  --accent: #2563eb;
  --accent-2: #60a5fa;
  --accent-ink: #ffffff;
  --ring: rgba(37, 99, 235, 0.35);

  --shadow-sm: 0 1px 2px rgba(20, 20, 40, 0.06), 0 1px 3px rgba(20, 20, 40, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(20, 20, 50, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(30, 20, 80, 0.25);

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1120px;
  --header-h: 70px;
}

/* Dark theme - applied via data-theme on <html>, which the inline script
   in index.html sets before first paint (saved choice, else OS preference). */
:root[data-theme="dark"] {
  --bg: #0c0c12;
  --bg-alt: #11121b;
  --surface: #15161f;
  --text: #f3f3f7;
  --muted: #a4a5b6;
  --border: #24252f;
  --accent: #3b82f6;
  --accent-2: #2563eb;
  --ring: rgba(59, 130, 246, 0.45);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

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

section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 0;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.975rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 0.58rem 0.95rem; font-size: 0.9rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark { display: inline-flex; flex: none; color: var(--accent); }
.brand-mark svg { width: 30px; height: 30px; }
.brand-name { font-size: 1.25rem; }

.main-nav { display: flex; gap: 0.25rem; }
.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--text); background: var(--bg-alt); }

.header-actions { display: flex; align-items: center; gap: 0.7rem; }

.lang-switch { position: relative; }
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.lang-current:hover { border-color: var(--accent); }
.lang-caret { width: 14px; height: 14px; opacity: 0.7; transition: transform 0.2s ease; }
.lang-switch.open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  z-index: 60;
}
.lang-menu[hidden] { display: none; }
.lang-menu li { margin: 0; }
.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.lang-option:hover { background: var(--bg-alt); }
.lang-option.is-active {
  color: var(--accent);
  font-weight: 700;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-alt);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 4.5rem;
}
.hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -8%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle at center, var(--accent), transparent 62%);
  opacity: 0.16;
  filter: blur(18px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1rem;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 48ch;
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}
.hero-pills {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 1.7rem 0 0;
}
.hero-pills li {
  font-size: 0.84rem;
  color: var(--muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

/* Browser mockup */
.hero-visual { display: flex; justify-content: center; }
.browser {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.browser-url {
  flex: 1;
  height: 18px;
  margin-left: 10px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.browser-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.bv-hero {
  height: 92px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0.92;
}
.bv-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bv-card { height: 54px; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--border); }
.bv-line { height: 12px; border-radius: 6px; background: var(--bg-alt); }
.bv-line.short { width: 60%; }

/* Stacked "pages" peeking out behind the hero browser mockup (adds depth) */
.browser-stack { position: relative; width: 100%; }
.browser--ghost {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  animation: none; /* keep the static offset; don't inherit the float */
}
.browser--ghost-1 { transform: translate(20px, -18px) scale(0.95); opacity: 0.6; }
.browser--ghost-2 { transform: translate(40px, -34px) scale(0.9); opacity: 0.35; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 0.7rem;
}
.section-subtitle { color: var(--muted); font-size: 1.05rem; }

/* ---------- Services cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.1rem; margin: 0 0 0.4rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-body { color: var(--muted); font-size: 1.05rem; margin-top: 1rem; }
.about-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}
.about-points li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.point-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.point-icon svg { width: 20px; height: 20px; }
.about-points h3 { font-size: 1rem; margin: 0 0 0.25rem; }
.about-points p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Process ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.step {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.step h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-details {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.1rem;
}
.contact-details li { display: flex; flex-direction: column; gap: 0.2rem; }
.cd-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 700;
}
.contact-details a, .contact-details span:not(.cd-label) {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}
.contact-details a:hover { color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1rem;
}
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}
.contact-form .btn { margin-top: 0.3rem; }
.form-note { margin: 0.2rem 0 0; color: var(--accent); font-weight: 600; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand p { color: var(--muted); margin: 0.7rem 0 0; max-width: 36ch; }
.footer-nav { display: flex; gap: 1.3rem; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.cards .card:nth-child(2) { transition-delay: 0.07s; }
.cards .card:nth-child(3) { transition-delay: 0.14s; }
.cards .card:nth-child(4) { transition-delay: 0.21s; }
.steps .step:nth-child(2) { transition-delay: 0.07s; }
.steps .step:nth-child(3) { transition-delay: 0.14s; }
.steps .step:nth-child(4) { transition-delay: 0.21s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: 2; width: 100%; max-width: 460px; margin-inline: auto; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0.15rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 24px 1.2rem;
    box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 0.75rem 0.8rem; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}

@media (max-width: 560px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 2.5rem 0 3.5rem; }
  .hero-visual { display: none; }
  .cards, .steps { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .browser { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* =========================================================
   Subpages: page hero, portfolio, filter, CTA band
   ========================================================= */

.main-nav a.is-current { color: var(--accent); }

.page-hero { padding: 3.5rem 0 2rem; }
.page-hero .container { text-align: center; }
.page-hero .section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-top: 0.4rem; }
.page-hero .section-subtitle { max-width: 60ch; margin: 0.8rem auto 0; }

/* Featured-work CTA link under a section */
.section-cta { text-align: center; margin-top: 2.4rem; }

/* Filter chips */
.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 0 2.4rem;
}
.filter-chip {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.filter-chip:hover { color: var(--text); border-color: var(--accent); }
.filter-chip.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-color: transparent;
}

/* Portfolio grid + cards */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}
.work-thumb {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.04em;
}
.work-thumb span { opacity: 0.95; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2); }
.work-thumb--1 { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.work-thumb--2 { background: linear-gradient(135deg, #0ea5e9, #22d3ee); }
.work-thumb--3 { background: linear-gradient(135deg, #f97316, #fbbf24); }
.work-thumb--4 { background: linear-gradient(135deg, #ec4899, #f472b6); }
.work-thumb--5 { background: linear-gradient(135deg, #10b981, #34d399); }
.work-thumb--6 { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.work-card-body { padding: 1.3rem 1.4rem 1.5rem; }
.work-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.work-card-body h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.work-card-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Call-to-action band (work / services / about pages) */
.cta-band .cta-inner {
  text-align: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--surface)), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-sm);
}
.cta-band h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 0.6rem; }
.cta-band p { color: var(--muted); margin: 0 auto 1.6rem; max-width: 48ch; }

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

/* =========================================================
   SPA components & secondary pages
   (Build on the tokens above: team grid, pricing, the
   expertise strip, theme toggle, and the FAQ / testimonials
   / privacy pages.)
   ========================================================= */

/* ---------- Team & about-page bits ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 1rem;
}
.team-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.team-card h3 { margin: 0 0 0.2rem; font-size: 1.1rem; }
.team-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.work-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
}
.work-link:hover { text-decoration: underline; }

.app-note {
  text-align: center;
  color: var(--muted);
  padding: 2.5rem 0;
}

@media (max-width: 780px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: start;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.price-card.is-popular {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.2rem; margin: 0 0 0.3rem; }
.price-tagline { color: var(--muted); font-size: 0.92rem; margin: 0 0 1.3rem; min-height: 2.7em; }
.price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 1.4rem; }
.price-amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.price-per { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.65rem;
}
.price-features li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.93rem; }
.price-features .tick { flex: none; color: var(--accent); margin-top: 1px; }
.price-features .tick svg { width: 18px; height: 18px; display: block; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin: 1.8rem 0 0; }

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

/* ---------- Expertise keyword strip ---------- */
.expertise { margin-top: 2.6rem; text-align: center; }
.expertise-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.kw-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.kw {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

/* ---------- Contact form extras ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-note.is-error { color: #e5484d; }

/* ---------- Theme toggle ---------- */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- Secondary pages: FAQ / testimonials / privacy ---------- */
.container--narrow { max-width: 760px; }

/* FAQ accordion (native <details>) */
.faq-list { display: grid; gap: 0.8rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.3rem 1.2rem; }
.faq-answer p { margin: 0; color: var(--muted); line-height: 1.6; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.testimonial {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.t-quote { width: 30px; height: 30px; color: var(--accent); opacity: 0.35; margin-bottom: 0.6rem; }
.testimonial blockquote { margin: 0 0 1.4rem; font-size: 1rem; line-height: 1.6; color: var(--text); }
.testimonial figcaption { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.t-avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.t-meta { display: flex; flex-direction: column; line-height: 1.3; }
.t-meta strong { font-size: 0.95rem; }
.t-meta span { color: var(--muted); font-size: 0.85rem; }

/* Legal / privacy prose */
.legal-intro { font-size: 1.05rem; color: var(--text); margin: 0 0 1.5rem; }
.legal h2 { font-size: 1.15rem; color: var(--text); margin: 1.8rem 0 0.5rem; }
.legal p { margin: 0; color: var(--muted); line-height: 1.7; }

@media (max-width: 780px) {
  .testimonial-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}
