/* ===========================================================
   BHE Systems — styles.css
   Dark mode only. A single theming axis:
     • accent : red / blue / green / orange / orange-pro  -> [data-accent="…"]
   Each accent only overrides --accent / --accent-2;
   every other accent token derives from those.
   =========================================================== */

:root {
  /* ----- Neutral foundation (dark — the only mode) ----- */
  --bg: #0a1422;
  --bg-alt: #0d1a2c;
  --surface: #111e33;
  --text: #eaf1fb;
  --text-muted: #93a6bf;
  --border: #1d3450;
  --border-strong: #294a6f;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);

  /* ----- Accent (Orange = default) ----- */
  --accent: #fb923c;
  --accent-2: #f59e0b;
  --accent-contrast: #ffffff;

  /* ----- Derived accent tokens (auto-update with --accent) ----- */
  --accent-grad: linear-gradient(120deg, var(--accent), var(--accent-2));
  --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --accent-softer: color-mix(in srgb, var(--accent) 7%, transparent);
  --ring: color-mix(in srgb, var(--accent) 38%, transparent);
  --hero-glow: color-mix(in srgb, var(--accent) 16%, transparent);

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1140px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", var(--font-sans);
}

/* ----- Accent palettes (premium gradients, tuned to stay legible on dark) -----
   Each sets a readable primary (--accent, also used as text) and a deeper
   secondary (--accent-2) so gradients/glows look rich and glossy. */
[data-accent="red"]        { --accent: #ef4444; --accent-2: #7f1d1d; } /* premium dark red */
[data-accent="blue"]       { --accent: #60a5fa; --accent-2: #4f46e5; } /* premium blue → indigo */
[data-accent="green"]      { --accent: #34d399; --accent-2: #047857; } /* premium emerald */
[data-accent="orange"]     { --accent: #fb923c; --accent-2: #f59e0b; } /* classic orange (default) */
[data-accent="orange-pro"] { --accent: #fb923c; --accent-2: #c2410c; } /* premium burnt orange */

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

html { background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: transparent;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: color .3s ease;
}
/* Ambient themed backdrop — subtle depth + faint grid, follows the active accent */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    radial-gradient(52% 42% at 86% 2%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%),
    radial-gradient(50% 40% at 8% 100%, color-mix(in srgb, var(--accent-2) 15%, transparent), transparent 62%),
    linear-gradient(to right, rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 58px 58px, 58px 58px;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 .4em;
  letter-spacing: -.02em;
  color: var(--text);
}
p { margin: 0 0 1rem; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 300;
}
.skip-link:focus { left: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Logo gradient follows the active accent */
.brand-mark .lg-stop-1 { stop-color: var(--accent); }
.brand-mark .lg-stop-2 { stop-color: var(--accent-2); }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .8rem;
  --pad-x: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent-grad);
  color: var(--accent-contrast);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); color: var(--accent-contrast); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-sm { --pad-y: .55rem; --pad-x: 1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 4px 10px var(--accent-soft)); }
.brand-text-light { color: var(--text-muted); font-weight: 500; }

.nav { display: flex; align-items: center; margin-left: auto; }
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.nav-menu a { color: var(--text-muted); font-weight: 500; font-size: .96rem; }
.nav-menu a:hover { color: var(--text); text-decoration: none; }
.nav-menu .nav-cta { color: var(--accent-contrast); }
.nav-menu .nav-cta:hover { color: var(--accent-contrast); }

.header-controls { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, transform .15s ease;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }

/* Language toggle (text pill) */
.lang-toggle { width: auto; gap: .35rem; padding: 0 .8rem; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: .85rem; }
.lang-toggle svg { flex-shrink: 0; }

/* Palette switcher */
.palette { position: relative; }
.palette-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: .9rem;
  z-index: 200;
}
.palette-panel[hidden] { display: none; }
.palette-title {
  margin: 0 0 .6rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.swatches { display: grid; gap: .35rem; }
.swatch {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  padding: .5rem .55rem;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: .92rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background .15s ease, border-color .15s ease;
}
.swatch:hover { background: var(--accent-softer); }
.swatch-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(120deg, var(--sw1), var(--sw2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.swatch[aria-checked="true"] { border-color: var(--border-strong); background: var(--accent-soft); }
.swatch[aria-checked="true"]::after {
  content: "";
  margin-left: auto;
  width: 16px; height: 16px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / contain no-repeat;
}

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-bg::before, .hero-bg::after {
  content: "";
  position: absolute;
  width: min(620px, 62vw);
  height: min(620px, 62vw);
  border-radius: 50%;
  filter: blur(26px);
  will-change: transform;
}
.hero-bg::before {
  top: -14%; right: -8%;
  background: radial-gradient(circle, var(--hero-glow), transparent 62%);
  animation: heroDriftA 19s ease-in-out infinite alternate;
}
.hero-bg::after {
  bottom: -18%; left: -10%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 15%, transparent), transparent 62%);
  animation: heroDriftB 24s ease-in-out infinite alternate;
}
@keyframes heroDriftA { from { transform: translate(0, 0) scale(1); } to { transform: translate(-7%, 9%) scale(1.14); } }
@keyframes heroDriftB { from { transform: translate(0, 0) scale(1); } to { transform: translate(9%, -7%) scale(1.1); } }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--text-muted); max-width: 42ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.6rem 0 1.6rem; }

.promise-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  margin: 0;
  padding: 1.3rem 0 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .92rem;
  font-weight: 500;
}
.promise-strip li { display: inline-flex; align-items: center; gap: .45rem; }
.promise-strip svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* Hero code card */
.hero-visual { display: flex; justify-content: center; }
.glass-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.1rem 1.4rem;
  position: relative;
  animation: floatY 6.5s ease-in-out infinite alternate;
}
@keyframes floatY { from { transform: translateY(0); } to { transform: translateY(-9px); } }
.glass-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--accent-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: .5;
  pointer-events: none;
}
.glass-row { display: flex; gap: .5rem; margin-bottom: 1rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-amber { background: #febc2e; }
.dot-green { background: #28c840; }
.code {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, monospace;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--text);
  overflow-x: auto;
}
.c-key { color: var(--accent); font-weight: 600; }
.c-fn { color: var(--accent-2); }
.c-str { color: #4ade80; }
.c-cmt { color: var(--text-muted); font-style: italic; }

/* ---------- Guarantees band ---------- */
.guarantees { padding: clamp(1.4rem, 3vw, 2rem) 0; background: color-mix(in srgb, var(--bg-alt) 72%, transparent); border-block: 1px solid var(--border); }
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.5rem;
}
.guarantee { display: flex; align-items: center; gap: .85rem; }
.guarantee-ico {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-soft);
}
.guarantee-ico svg { width: 22px; height: 22px; }
.guarantee strong { display: block; font-family: var(--font-display); font-size: .98rem; color: var(--text); }
.guarantee span { font-size: .86rem; color: var(--text-muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: color-mix(in srgb, var(--bg-alt) 72%, transparent); }
.section-head { max-width: 660px; margin: 0 auto clamp(2.2rem, 5vw, 3.2rem); text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section-sub { color: var(--text-muted); font-size: 1.06rem; }

/* ---------- Service groups & cards ---------- */
.service-group { margin-top: 2.6rem; }
.service-group:first-of-type { margin-top: 0; }
.group-title {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.25rem;
  margin-bottom: 1.4rem;
  color: var(--text-muted);
  font-weight: 500;
}
.group-badge {
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-contrast);
  background: var(--accent-grad);
  padding: .3rem .65rem;
  border-radius: 999px;
}
.group-badge-accent { background: var(--accent-grad); }

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

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.card h4 { font-size: 1.12rem; margin-bottom: .35rem; }
.card p { color: var(--text-muted); margin: 0; font-size: .96rem; }

.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  margin-bottom: 1rem;
  color: var(--accent);
  background: var(--accent-soft);
}
.card-icon svg { width: 24px; height: 24px; }

.price-row { display: flex; align-items: baseline; gap: .5rem; margin-top: auto; padding-top: 1rem; }
.price { font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: 1.02rem; }
.price-note { font-size: .82rem; color: var(--text-muted); }
.price-disclaimer { margin: 1.1rem 0 0; font-size: .85rem; color: var(--text-muted); font-style: italic; }

.card-cta-card {
  justify-content: center;
  align-items: flex-start;
  background: var(--accent-soft);
  border-style: dashed;
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}
.card-cta-card h4 { color: var(--text); }
.card-cta-card p { color: var(--text-muted); }
.card-cta-card .btn { margin-top: 1rem; }

.card-feature { padding: 1.8rem; }
.card-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.card-list li { position: relative; padding-left: 1.5rem; color: var(--text-muted); font-size: .94rem; }
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-grad);
}

/* ---------- Brands & devices ---------- */
.chip-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.4rem; }
.chip {
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.device-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.device-type {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
}
.device-type svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }

/* ---------- Process / steps ---------- */
.process-block { margin-top: 2.6rem; }
.process-block:first-of-type { margin-top: 0; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: var(--accent-contrast);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: .8rem;
}
.step h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.step p { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* ---------- Portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 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 .2s ease, box-shadow .2s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work-thumb {
  height: 160px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .02em;
  position: relative;
}
.work-thumb span {
  position: relative;
  z-index: 1;
  padding: .4rem .9rem;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  font-size: .9rem;
  backdrop-filter: blur(2px);
}
.work-thumb-a { background: linear-gradient(135deg, #0369a1, #0e7490); }
.work-thumb-b { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.work-thumb-c { background: linear-gradient(135deg, #047857, #0f766e); }
.work-body { padding: 1.4rem; }
.work-body h4 { font-size: 1.12rem; margin-bottom: .4rem; }
.work-body p { color: var(--text-muted); font-size: .94rem; margin: 0; }
.tag-row { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 0; padding: 0; }
.tag-row li { font-size: .78rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

.tech-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  margin-top: 2.4rem;
  padding: 1.2rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tech-label { font-weight: 700; font-family: var(--font-display); color: var(--text-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.tech-strip ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.tech-strip li { font-size: .85rem; font-weight: 600; padding: .35rem .7rem; border-radius: 8px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text); }

/* ---------- Reviews ---------- */
.rating-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1rem;
  justify-content: center;
  text-align: center;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  margin-bottom: 1.8rem;
}
.rating-banner p { margin: 0; color: var(--text); }
.stars { color: #f59e0b; letter-spacing: .1em; font-size: 1.05rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.review-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.review-card blockquote { margin: .6rem 0 1rem; font-size: 1rem; color: var(--text); }
.review-card figcaption { color: var(--text-muted); font-size: .9rem; font-weight: 600; }
.review-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.8rem; }
.review-form { max-width: 560px; margin: 1.4rem auto 0; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.1rem; }
.value {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
}
.value-icon svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.value p { color: var(--text-muted); font-size: .94rem; margin: 0; }

/* ---------- Customers ---------- */
.customers { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.customer-pill {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-display);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.customer-pill:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); }
.customer-pill svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-cards { display: grid; gap: 1.1rem; }
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.about-card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--accent-contrast);
  background: var(--accent-grad);
  margin-bottom: .9rem;
}
.about-card-icon svg { width: 22px; height: 22px; }
.about-card h3 { font-size: 1.2rem; }
.about-card p { margin: 0; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2' d='M12 5v14M5 12h14'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='black' stroke-width='2' d='M12 5v14M5 12h14'/></svg>") center / contain no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.4rem 1.2rem; }
.faq-a p { margin: 0; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; color: var(--text-muted); }
.contact-ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-soft);
  flex-shrink: 0;
}
.contact-ico svg { width: 20px; height: 20px; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .8rem .9rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: .98rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--ring);
}
.field.invalid input, .field.invalid textarea { border-color: #ef4444; }
.error { color: #ef4444; font-size: .82rem; min-height: 1em; }
.error:empty { min-height: 0; }
.form-note { margin: 0; font-size: .9rem; text-align: center; color: var(--text-muted); }
.form-note.success { color: #16a34a; font-weight: 600; }
.form-note.error-note { color: #ef4444; }
.privacy-note { margin: 0; font-size: .8rem; text-align: center; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 3rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; padding-bottom: 2.4rem; }
.footer-brand .brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.footer-brand p { color: var(--text-muted); margin-top: .8rem; max-width: 40ch; }
.footer-legal { font-size: .85rem; }
.footer-legal .todo { color: var(--text-muted); }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.footer-nav h5 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: .8rem; }
.footer-nav a { display: block; color: var(--text); font-size: .95rem; margin-bottom: .5rem; }
.footer-nav a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  padding: 1.4rem 0 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .88rem;
}
.footer-bottom p { margin: 0; }
.footer-tag { font-family: var(--font-display); }
.owner-link { color: var(--text-muted); font-size: .82rem; }
.owner-link:hover { color: var(--accent); }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 90;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  background: var(--accent-grad);
  color: var(--accent-contrast);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}
.mobile-cta:hover { text-decoration: none; color: var(--accent-contrast); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { margin-left: 0; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: .5rem 24px 1.2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform .3s ease;
    visibility: hidden;
  }
  .nav-menu.open { transform: translateY(0); visibility: visible; }
  .nav-menu li { width: 100%; }
  .nav-menu li a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--border); }
  .nav-menu .nav-cta { margin-top: .8rem; text-align: center; }

  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .lead { max-width: none; }
  .mobile-cta { display: inline-flex; }
  body { padding-bottom: 72px; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .palette-panel { width: min(220px, calc(100vw - 48px)); }
}

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