﻿/* ==========================================================================
   Zentro Technologies — website styles
   A clear, calm design system: white, graphite, and teal.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-deep: #111827;
  --surface: #ffffff;

  --ink: #111827;
  --ink-2: #1f2937;
  --text: #374151;
  --muted: #6b7280;
  --muted-soft: #9ca3af;

  --line: #e5e7eb;
  --line-strong: #d1d5db;

  --accent: #e42527;
  --accent-strong: #c81e1e;
  --accent-soft: #fff1f2;
  --accent-wash: rgba(228, 37, 39, 0.08);

  --on-dark: #f9fafb;
  --on-dark-muted: rgba(249, 250, 251, 0.72);
  --dark-line: rgba(255, 255, 255, 0.12);

  --green: #16a34a;
  --red: #dc2626;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 24px 60px rgba(17, 24, 39, 0.14);

  --header-h: 160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, ol, ul {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

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

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.9rem;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* ---------- 3. Typography ---------- */
h1, h2 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.25rem);
}

h2 {
  font-size: clamp(1.95rem, 3.6vw, 2.7rem);
}

h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.hl {
  color: var(--accent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head h2 {
  margin-top: 12px;
}

.section-note {
  max-width: 62ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- 4. Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease);
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(228, 37, 39, 0.22);
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(228, 37, 39, 0.28);
}

.btn-outline {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--bg-soft);
  transform: translateY(-1px);
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.84rem;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.text-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link:hover {
  color: var(--accent);
  gap: 10px;
}

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(12, 28, 24, 0.05);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: clamp(420px, 55vw, 780px);
  height: auto;
}

.site-footer .brand-logo {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 30px);
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta-mobile {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 17px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease),
    top 0.25s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: translateX(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 20px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 7vw, 88px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 10%, rgba(228,37,39,0.08), transparent 60%),
              radial-gradient(ellipse 50% 50% at 20% 80%, rgba(249,115,22,0.06), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero h1 {
  max-width: 15ch;
  margin-top: 18px;
}

.lede {
  max-width: 52ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-points svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-showcase {
  display: grid;
  gap: 14px;
}

.showcase-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(17,24,39,0.08);
}

.showcase-visual img {
  width: 100%;
  height: clamp(280px, 34vw, 400px);
  object-fit: cover;
  display: block;
}

.showcase-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 24px 22px;
  background: linear-gradient(to top, rgba(17,24,39,0.88) 0%, rgba(17,24,39,0.55) 55%, rgba(17,24,39,0) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.showcase-overlay .showcase-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-overlay strong {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.text-link-light {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.5);
}
.text-link-light:hover { color: #fff; border-bottom-color: #fff; gap: 10px; }

.showcase-products-wrap {
  padding: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.showcase-products-label {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.showcase-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.product-shot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.product-shot:hover {
  transform: translateY(-2px);
  border-color: rgba(228, 37, 39, 0.28);
  box-shadow: var(--shadow);
}

.product-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.product-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-name {
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

/* Stats */
.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(44px, 6vw, 68px);
  padding: 30px 0 clamp(48px, 6vw, 64px);
  border-top: 1px solid var(--line);
}

.stat {
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 1px;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-suffix {
  color: var(--accent);
  font-size: 0.5em;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- 7. Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}

.service-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

/* ---------- 8. Approach ---------- */
.approach {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(38px, 5vw, 72px);
  align-items: start;
}

.approach-copy h2 {
  margin-top: 12px;
  max-width: 15ch;
}

.approach-copy > p:not(.eyebrow) {
  max-width: 54ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.check-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 0.91rem;
}

.check-list svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approach-copy .text-link {
  margin-top: 26px;
}

.path-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.path-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.path-card-head h3 {
  font-size: 1.05rem;
}

.path-card-meta {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.path-item {
  display: flex;
  gap: 15px;
  padding: 19px 24px;
  border-bottom: 1px solid var(--line);
}

.path-item:last-of-type {
  border-bottom: 0;
}

.path-num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 600;
}

.path-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 3px;
}

.path-title h4 {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
}

.tag {
  flex-shrink: 0;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-accent {
  border-color: rgba(15, 118, 110, 0.28);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.path-item p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.path-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ---------- 9. About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(38px, 5vw, 72px);
  align-items: center;
}

.about-media {
  margin: 0;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.about-media figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8rem;
}

.about-media figcaption::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.about-copy h2 {
  margin-top: 12px;
  max-width: 16ch;
}

.about-copy > p:not(.eyebrow) {
  max-width: 56ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.about-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.about-points li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 0.91rem;
}

.about-points li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 9px;
  height: 5px;
  border-left: 1.7px solid var(--accent);
  border-bottom: 1.7px solid var(--accent);
  transform: rotate(-45deg);
}

.stack-line {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.stack-line strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 10. Work ---------- */
.work {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.case-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.case-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.5s var(--ease);
}

.case-card:hover .case-media img {
  transform: scale(1.04);
}

.case-body {
  padding: 22px;
}

.case-label {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-body h3 {
  margin-top: 8px;
  font-size: 1.04rem;
}

.case-body p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.65;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.case-tags li {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 500;
}

/* ---------- 11. Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(22px, 3vw, 34px);
}

.process-step {
  position: relative;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.process-step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.process-num {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.process-duration {
  display: block;
  margin-top: 14px;
  color: var(--muted-soft);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-step h3 {
  margin-top: 4px;
  font-size: 1.1rem;
}

.process-step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.68;
}

.process-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  width: fit-content;
  margin: clamp(36px, 5vw, 52px) auto 0;
  padding: 13px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.process-note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.process-note span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 12. Testimonials ---------- */
.testimonials {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.quote-mark {
  color: var(--accent);
  font-size: 2rem;
  font-weight: 700;
  line-height: 0.8;
}

.testimonial blockquote {
  margin-top: 12px;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.68;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 600;
}

.testimonial figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.testimonial figcaption small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

/* ---------- 13. FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.faq-intro h2 {
  max-width: 13ch;
  margin-top: 12px;
}

.faq-intro > p:not(.eyebrow) {
  max-width: 40ch;
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--accent);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.faq-answer {
  padding: 0 2px 20px;
}

.faq-answer p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.72;
}

/* ---------- 14. Contact ---------- */
.contact {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(38px, 5vw, 72px);
  align-items: start;
}

.contact-copy h2 {
  max-width: 13ch;
  margin-top: 12px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 46ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.contact-details {
  margin-top: 30px;
  border-top: 1px solid var(--line-strong);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.contact-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-row > div {
  min-width: 0;
}

.contact-label {
  display: block;
  margin-bottom: 1px;
  color: var(--muted-soft);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-row a,
.contact-row > div > span:last-child {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-row a {
  transition: color 0.2s var(--ease);
}

.contact-row a:hover {
  color: var(--accent);
}

.copy-btn {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.copy-btn:hover,
.copy-btn.is-copied {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.copy-btn svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-next {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-next-title {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-next ol {
  display: grid;
  gap: 8px;
}

.contact-next li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact-next li span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.6rem;
  font-weight: 600;
}

/* Form */
.contact-form {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.form-head h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.form-availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  color: var(--green);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-availability i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.form-row {
  display: grid;
  gap: 14px;
}

.form-row-2 {
  grid-template-columns: 1fr 1fr;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 600;
}

.field label span {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.45;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-soft);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--muted-soft);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-wash);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6f69' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field input.is-invalid,
.field textarea.is-invalid,
.field select.is-invalid {
  border-color: rgba(185, 28, 28, 0.6);
  background: #fef5f5;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.07);
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .btn-block {
  margin-top: 4px;
  padding-block: 14px;
}

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
  text-align: center;
}

.form-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  display: none;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.55;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border: 1px solid rgba(15, 118, 110, 0.28);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.form-status.is-error {
  border: 1px solid rgba(185, 28, 28, 0.26);
  background: #fef5f5;
  color: var(--red);
}

.form-status.is-info {
  border: 1px solid rgba(15, 118, 110, 0.26);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.form-status.is-loading {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
}

.form-status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- 15. Footer ---------- */
.site-footer {
  padding: clamp(48px, 6vw, 68px) 0 26px;
  background: var(--bg-deep);
  color: var(--on-dark-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 52px);
  padding-bottom: 40px;
}

.site-footer .brand-logo {
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-brand p {
  max-width: 38ch;
  margin: 18px 0 16px;
  color: var(--on-dark-muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer-email {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--on-dark);
  font-size: 0.88rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-email:hover {
  border-color: var(--on-dark);
  color: #ffffff;
}

.footer-col h4 {
  margin-bottom: 14px;
  color: var(--on-dark);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--on-dark-muted);
  font-size: 0.85rem;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--on-dark);
}

.footer-note {
  margin-top: 14px;
  color: var(--on-dark-muted);
  font-size: 0.72rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--dark-line);
  color: var(--on-dark-muted);
  font-size: 0.75rem;
}

/* ---------- 16. PowerBuilder landing page ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 84px) 0 clamp(48px, 6vw, 68px);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 28, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 28, 24, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 80% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 80% 0%, #000 0%, transparent 75%);
  pointer-events: none;
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.breadcrumb a {
  transition: color 0.2s var(--ease);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: var(--muted-soft);
}

.page-hero h1 {
  max-width: 18ch;
  margin-top: 14px;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
}

.page-hero .lede {
  max-width: 56ch;
}

.snapshot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.snapshot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.snapshot-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.snapshot-tag {
  flex-shrink: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.snapshot-body {
  margin: 0;
  padding: 6px 24px 14px;
}

.snapshot-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}

.snapshot-row:last-child {
  border-bottom: 0;
}

.snapshot-row dt {
  color: var(--muted);
  font-size: 0.84rem;
}

.snapshot-row dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.87rem;
  font-weight: 600;
  text-align: right;
}

.snapshot-foot {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 15px 24px;
  border-top: 1px solid var(--line);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.8rem;
  line-height: 1.55;
}

.snapshot-foot svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.risk-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.risk-card h3 {
  margin-bottom: 7px;
  font-size: 0.98rem;
}

.risk-card p {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-table thead th.is-accent {
  color: var(--accent-strong);
}

.compare-table tbody th {
  width: 24%;
  color: var(--ink);
  font-weight: 600;
}

.compare-table tbody td {
  color: var(--muted);
  line-height: 1.6;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table td.is-accent {
  background: rgba(15, 118, 110, 0.035);
  color: var(--text);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.proof-band {
  padding: clamp(34px, 4vw, 48px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}

.proof-band blockquote {
  max-width: 62ch;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.proof-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.8rem;
}

.proof-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.proof-meta span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

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

@media (max-width: 900px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .snapshot {
    max-width: 560px;
  }
}

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

  .page-hero h1 {
    font-size: clamp(2.15rem, 9vw, 2.9rem);
  }

  .compare-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .compare-table {
    min-width: 0;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table tr {
    margin-bottom: 12px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
  }

  .compare-table tbody th,
  .compare-table tbody td {
    padding: 0;
    border: 0;
  }

  .compare-table tbody th {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 1rem;
  }

  .compare-table tbody td {
    padding: 8px 0 0;
    border-top: 1px dashed var(--line);
  }

  .compare-table tbody td::before {
    display: block;
    margin-bottom: 3px;
    color: var(--muted-soft);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .compare-table td.is-accent {
    background: transparent;
    color: var(--text);
  }

  .compare-table td.is-accent::before {
    content: "Phased migration";
    color: var(--accent-strong);
  }

  .compare-table td:last-child::before {
    content: "Big-bang rewrite";
  }
}

/* ---------- 17. Legal & 404 ---------- */
.legal-page {
  padding: clamp(52px, 7vw, 84px) 0 clamp(68px, 8vw, 104px);
}

.legal-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.legal-wrap h1 {
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
}

.legal-meta {
  margin-bottom: 38px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.legal-wrap h2 {
  margin: 32px 0 10px;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.legal-wrap p + p {
  margin-top: 10px;
}

.legal-wrap ul {
  margin: 10px 0 10px 4px;
}

.legal-wrap li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 18px;
}

.legal-wrap li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.legal-wrap a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 2px;
}

.legal-back {
  margin-top: 38px;
}

.error-page {
  display: grid;
  place-items: center;
  min-height: 66vh;
  padding: 76px 0;
  text-align: center;
}

.error-code {
  color: var(--accent);
  font-size: clamp(5.5rem, 16vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.error-page h1 {
  margin: 12px 0 14px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.error-page p {
  max-width: 44ch;
  margin: 0 auto 26px;
  color: var(--muted);
}

/* ---------- 18. Reveal animations ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 100px;
  }

  .nav {
    display: none;
  }

  .nav.is-open {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: 16px;
    right: 16px;
    z-index: 110;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav.is-open a {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  .nav.is-open a::after {
    display: none;
  }

  .nav.is-open a:hover {
    background: var(--bg-soft);
  }

  .nav.is-open .nav-cta-mobile {
    display: block;
    margin-top: 4px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 600;
    text-align: center;
  }

  .nav.is-open .nav-cta-mobile:hover {
    background: var(--accent-strong);
    color: #ffffff;
  }

  .nav-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .approach-grid,
  .about-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .hero-showcase {
    max-width: 680px;
  }

  .showcase-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-copy h2,
  .about-copy h2 {
    max-width: 20ch;
  }

  .path-card {
    max-width: 640px;
  }

  .work-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-card:last-child {
    grid-column: 1 / -1;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 28px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 0;
  }

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 2.25rem), var(--container));
  }

  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .work-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .case-card:last-child {
    grid-column: auto;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .process-note {
    border-radius: var(--radius);
    text-align: center;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .brand-sub {
    display: none;
  }

  .brand-logo {
    width: clamp(280px, 86vw, 460px);
  }

  .hero {
    padding-top: 40px;
  }

  .hero-cta .btn {
    flex: 1 1 100%;
  }

  .hero-points {
    gap: 8px 16px;
  }

  .showcase-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .product-shot {
    padding: 10px;
    gap: 8px;
  }

  .product-name {
    font-size: 0.76rem;
    white-space: normal;
  }

  .showcase-pb {
    padding: 18px;
  }

  .showcase-pb p {
    margin-bottom: 10px;
  }

  .stats {
    padding: 24px 0 40px;
  }

  .stat {
    padding-right: 12px;
  }

  .stat + .stat {
    padding-left: 18px;
  }

  .stat:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .stat:nth-child(even) {
    border-left: 1px solid var(--line);
    padding-left: 18px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px;
  }

  .path-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .path-item {
    padding: 17px 20px;
  }

  .path-card-head,
  .path-foot {
    padding-inline: 20px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 22px 18px;
    border-radius: var(--radius);
  }

  .form-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---------- 20. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .hero-showcase,
  .contact-form,
  .site-footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    padding: 24px 0;
  }
}


/* Experts block */
.experts-block {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.experts-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.experts-head h3 {
  margin-top: 10px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}

.experts-head p:last-child {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.expert-card {
  display: flex;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.expert-avatar {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

.expert-card h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--ink);
}

.expert-role {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}

.expert-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

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

