/* ============================================================
   OPTIMAL ACCOUNTING & TAX SOLUTIONS — STYLES
   Modern fintech aesthetic for small business accounting
   ============================================================ */

/* ---- 1. RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ---- 2. TOKENS ---- */
:root {
  --bg: #FAFBFA;
  --surface: #F0F4F2;
  --surface-2: #E8EFEB;
  --primary: #0A2E26;
  --primary-2: #0F3D32;
  --primary-deep: #051F19;
  --accent: #10B981;
  --accent-2: #059669;
  --accent-soft: #34D399;
  --accent-pale: #D1FAE5;
  --accent-glow: rgba(16, 185, 129, 0.18);
  --ink: #0F172A;
  --ink-soft: #475569;
  --gray: #64748B;
  --gray-light: #94A3B8;
  --line: #E2E8E4;
  --line-soft: #EFF3F0;
  --white: #FFFFFF;

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(10, 46, 38, 0.04);
  --shadow-sm: 0 4px 14px rgba(10, 46, 38, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 46, 38, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 46, 38, 0.12);
  --shadow-glow: 0 8px 24px rgba(16, 185, 129, 0.25);

  --container: 1240px;
  --container-narrow: 880px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---- 3. TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-variation-settings: "wdth" 100, "opsz" 24;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-variation-settings: "wdth" 100, "opsz" 96; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-variation-settings: "wdth" 100, "opsz" 72; font-weight: 700; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 1.1rem; font-weight: 600; }
h1 .accent, h2 .accent { color: var(--accent); }
p { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--ink); font-weight: 400; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: var(--accent-pale);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

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

/* ---- 4. LAYOUT ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; }
.section--sm { padding: 70px 0; }
.section--alt { background: var(--surface); }
.section--ink { background: var(--primary); color: var(--white); }
.section--deep { background: var(--primary-deep); color: var(--white); }
.section--ink h1, .section--ink h2, .section--ink h3,
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--white); }
.section--ink p, .section--deep p { color: rgba(255, 255, 255, 0.78); }
.section--ink .eyebrow, .section--deep .eyebrow {
  background: rgba(16, 185, 129, 0.15); color: var(--accent-soft);
}

/* ---- 5. BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border-radius: 100px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
  position: relative;
  min-height: 48px;
}
.btn--primary {
  background: var(--accent); color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}
.btn--dark {
  background: var(--primary); color: var(--white);
}
.btn--dark:hover, .btn--dark:focus-visible {
  background: var(--primary-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn--outline:hover, .btn--outline:focus-visible {
  background: var(--primary); color: var(--white);
}
.btn--ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.1); border-color: var(--white);
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: var(--white); padding: 12px 18px;
  z-index: 9999; font-size: 0.9rem; border-radius: 6px;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---- 6. HEADER ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 251, 250, 0.85);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled {
  background: rgba(250, 251, 250, 0.95);
  box-shadow: 0 1px 0 var(--line-soft);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 80px;
}
.brand {
  display: inline-flex; align-items: center;
  transition: opacity .2s ease;
}
.brand:hover { opacity: 0.85; }
.brand__logo { height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-family: var(--body);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 8px 0;
  transition: color .2s ease;
}
.main-nav a:hover, .main-nav a.is-active {
  color: var(--accent-2);
}
.main-nav a.is-active::after {
  content: "";
  position: absolute; bottom: 2px; left: 50%;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary);
}
.phone-link:hover { color: var(--accent-2); }
.phone-link svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 8px;
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle svg { width: 24px; height: 24px; color: var(--primary); }

/* ---- 7. HERO ---- */
.hero {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(52, 211, 153, 0.08) 0%, transparent 35%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(15, 61, 50, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 80px; align-items: center;
}
.hero__content { position: relative; }
.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  margin-bottom: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero__title .accent { color: var(--accent); }
.hero__title .strike {
  display: inline-block;
  position: relative;
}
.hero__title .strike::after {
  content: ""; position: absolute;
  left: -4px; right: -4px;
  top: 53%;
  height: 6px;
  background: var(--accent);
  transform: skewY(-3deg);
  animation: strike .8s var(--ease) .8s both;
  transform-origin: left;
}
@keyframes strike {
  from { transform: scaleX(0) skewY(-3deg); }
  to { transform: scaleX(1) skewY(-3deg); }
}
.hero__lede {
  font-size: 1.18rem;
  max-width: 540px;
  color: var(--ink-soft);
  margin-bottom: 38px;
  line-height: 1.6;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 50px; }
.hero__meta {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  width: fit-content;
  box-shadow: var(--shadow-xs);
}
.hero__meta .avatars {
  display: flex;
}
.hero__meta .avatars span {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px solid var(--white);
  margin-right: -10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
}
.hero__meta .avatars span:nth-child(2) { background: #FCD34D; }
.hero__meta .avatars span:nth-child(3) { background: #93C5FD; }
.hero__meta .avatars span:nth-child(4) { background: #FCA5A5; }
.hero__meta-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-left: 10px;
}
.hero__meta-text strong { color: var(--primary); font-weight: 700; }

/* Hero visual: dashboard-card aesthetic */
.hero__visual {
  position: relative;
  aspect-ratio: 5 / 6;
}
.hero__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  position: absolute;
}
.hero__card--main {
  inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    radial-gradient(circle at 100% 0%, var(--accent-pale) 0%, transparent 50%),
    var(--white);
  border: 1px solid var(--line-soft);
}
.hero__card--main .label {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray);
}
.hero__card-stat {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 4px 0 6px;
}
.hero__card-stat .accent { color: var(--accent); }
.hero__card-sub {
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 360px;
}
.hero__chart {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 10px; align-items: end;
  height: 130px; margin-top: auto;
}
.hero__chart span {
  background: var(--accent-pale);
  border-radius: 6px 6px 2px 2px;
  position: relative;
  transform-origin: bottom;
  animation: grow .8s var(--ease) backwards;
}
.hero__chart span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.hero__chart span:nth-child(2) { height: 55%; animation-delay: 0.18s; }
.hero__chart span:nth-child(3) { height: 35%; animation-delay: 0.26s; }
.hero__chart span:nth-child(4) { height: 70%; animation-delay: 0.34s; }
.hero__chart span:nth-child(5) { height: 85%; animation-delay: 0.42s; background: var(--accent); }
.hero__chart span:nth-child(6) { height: 92%; animation-delay: 0.50s; background: var(--accent); }
.hero__chart span:nth-child(7) { height: 100%; animation-delay: 0.58s; background: var(--accent); }
@keyframes grow {
  from { transform: scaleY(0); }
}

.hero__card--badge {
  top: 24px; right: -24px;
  padding: 18px 22px;
  display: flex; align-items: center; gap: 12px;
  background: var(--primary);
  color: var(--white);
  border: 0;
  z-index: 2;
}
.hero__card--badge svg {
  width: 32px; height: 32px;
  color: var(--accent-soft);
  flex-shrink: 0;
}
.hero__card--badge strong { display: block; font-size: 0.95rem; font-weight: 600; }
.hero__card--badge span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); }

.hero__card--bottom {
  bottom: -32px; left: -28px;
  width: 70%;
  background: var(--white);
  border: 1px solid var(--line-soft);
  padding: 20px 22px;
  display: flex; align-items: center; gap: 14px;
  z-index: 2;
}
.hero__card--bottom .icon {
  width: 42px; height: 42px;
  background: var(--accent-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-2);
  flex-shrink: 0;
}
.hero__card--bottom .icon svg { width: 22px; height: 22px; }
.hero__card--bottom strong { display: block; color: var(--primary); font-size: 0.95rem; font-weight: 700; }
.hero__card--bottom span { font-size: 0.82rem; color: var(--ink-soft); }

/* ---- 8. PAGE HEADER (inner pages) ---- */
.page-header {
  background:
    radial-gradient(circle at 90% 30%, rgba(16, 185, 129, 0.18) 0%, transparent 45%),
    var(--primary);
  color: var(--white);
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.page-header__inner { position: relative; z-index: 2; max-width: 760px; }
.page-header h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  margin-bottom: 22px;
  font-weight: 700;
}
.page-header h1 .accent { color: var(--accent-soft); }
.page-header p { color: rgba(255, 255, 255, 0.82); font-size: 1.12rem; max-width: 580px; line-height: 1.6; }
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--body);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--accent-soft);
  margin-bottom: 24px;
  font-weight: 500;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.breadcrumb a:hover { color: var(--accent-soft); }
.breadcrumb svg { width: 12px; height: 12px; opacity: 0.5; }

/* ---- 9. TRUST STRIP ---- */
.trust-strip {
  background: var(--bg);
  padding: 32px 0;
  border-bottom: 1px solid var(--line-soft);
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: center;
}
.trust-pill {
  display: flex; align-items: center; gap: 14px;
}
.trust-pill__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-pale);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-pill__icon svg { width: 22px; height: 22px; }
.trust-pill strong {
  display: block;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.96rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.trust-pill span {
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* ---- 10. SECTION HEAD ---- */
.section__head {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 60px; margin-bottom: 64px; align-items: end;
}
.section__head h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.section__head--centered {
  display: block;
  max-width: 720px; margin: 0 auto 64px;
  text-align: center;
}

/* ---- 11. SERVICES (homepage cards) ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card--wide { grid-column: span 4; }
.service-card--narrow { grid-column: span 2; }
.service-card--third { grid-column: span 2; }
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-pale);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.service-card:hover .service-card__icon {
  background: var(--accent); color: var(--white);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 12px; font-size: 1.4rem; }
.service-card p { font-size: 0.96rem; margin-bottom: 22px; flex: 1; }
.service-card__list {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 22px;
}
.service-card__list li {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 11px;
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: 100px;
  letter-spacing: -0.01em;
}
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-2);
  margin-top: auto;
  letter-spacing: -0.005em;
}
.service-card__link::after { content: "→"; transition: transform .25s var(--ease); }
.service-card:hover .service-card__link::after { transform: translateX(4px); }

/* ---- 12. EDITORIAL: 3-PILLAR (Get to Know Us) ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 30px;
}
.pillar {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pillar__num {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  margin-bottom: 18px;
  padding-left: 32px;
  position: relative;
}
.pillar__num::before {
  content: ""; position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 1px;
  background: var(--accent);
}
.pillar h3 {
  margin-bottom: 14px;
  font-size: 1.6rem;
}
.pillar p { font-size: 0.97rem; line-height: 1.7; }

/* ---- 13. PROCESS / STEPS ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.step-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.step-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(16, 185, 129, 0.4);
}
.step-card__num {
  font-family: var(--display);
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  font-variation-settings: "wdth" 100, "opsz" 96;
}
.step-card h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.step-card p { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; line-height: 1.6; }

/* ---- 14. INDUSTRIES ---- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex; align-items: flex-start; gap: 18px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.industry-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.industry-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-pale);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.industry-card__icon svg { width: 22px; height: 22px; }
.industry-card h4 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.industry-card p { font-size: 0.9rem; line-height: 1.55; margin: 0; }

/* ---- 15. STATS BAND ---- */
.stats-band {
  padding: 100px 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
    var(--primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.stats-band__head {
  text-align: center;
  margin-bottom: 60px;
  position: relative; z-index: 2;
}
.stats-band__head h2 { color: var(--white); }
.stats-band__head h2 .accent { color: var(--accent-soft); }
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative; z-index: 2;
}
.stat-block {
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  text-align: left;
}
.stat-block__num {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--accent-soft);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
  font-variation-settings: "wdth" 100, "opsz" 96;
}
.stat-block__num .accent-light { color: var(--white); font-size: 0.6em; }
.stat-block__label {
  font-family: var(--body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* ---- 16. TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.testimonial-card__stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 4px;
  margin-bottom: 18px;
}
.testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 24px;
  flex: 1;
}
.testimonial-card__author {
  display: flex; gap: 12px; align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-pale);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card__name {
  display: block; font-weight: 700; color: var(--primary); font-size: 0.96rem;
}
.testimonial-card__role { font-size: 0.82rem; color: var(--gray); }

/* ---- 17. FAQ ---- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin-bottom: 14px;
  transition: border-color .25s var(--ease);
}
.faq-item.is-open { border-color: var(--accent); }
.faq-item__q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 22px;
  padding: 24px 26px;
  text-align: left;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.faq-item__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease), color .25s var(--ease), transform .3s var(--ease);
}
.faq-item.is-open .faq-item__icon {
  background: var(--accent); color: var(--white);
  transform: rotate(45deg);
}
.faq-item__icon svg { width: 16px; height: 16px; }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-item.is-open .faq-item__a { max-height: 360px; }
.faq-item__a-inner {
  padding: 0 26px 26px;
}
.faq-item__a p { font-size: 0.98rem; color: var(--ink-soft); line-height: 1.7; }

/* ---- 18. CTA BANNER ---- */
.cta-banner {
  position: relative;
  padding: 100px 0;
  background:
    radial-gradient(ellipse at top right, rgba(16, 185, 129, 0.22) 0%, transparent 50%),
    var(--primary);
  color: var(--white);
  overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.cta-banner__inner {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 50px; align-items: center;
  position: relative; z-index: 2;
}
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  margin-bottom: 18px;
  font-weight: 700;
}
.cta-banner h2 .accent { color: var(--accent-soft); }
.cta-banner p { color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; max-width: 540px; margin: 0; }
.cta-banner__buttons {
  display: flex; flex-direction: column; gap: 12px;
  align-items: stretch;
}

/* ---- 19. FORM ---- */
.form {
  background: var(--white);
  padding: 48px 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field {
  display: flex; flex-direction: column;
  margin-bottom: 18px;
}
.field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  background: var(--bg);
  border: 1.5px solid var(--line);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--ink);
  font-family: var(--body);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--accent-pale);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.form__note {
  font-size: 0.84rem;
  color: var(--gray);
  margin-top: 18px;
  text-align: center;
  line-height: 1.5;
}

/* ---- 20. CONTACT BLOCK ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.contact-card {
  display: flex; gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-card:last-of-type { border-bottom: 0; }
.contact-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card__icon svg { width: 18px; height: 18px; }
.contact-card h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 4px;
}
.contact-card a, .contact-card p {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.01em;
}
.contact-card a:hover { color: var(--accent-2); }

.book-card {
  margin-top: 28px;
  padding: 30px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.book-card::before {
  content: ""; position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
}
.book-card h3 { color: var(--white); margin-bottom: 12px; position: relative; }
.book-card p { color: rgba(255, 255, 255, 0.8); margin-bottom: 22px; position: relative; }
.book-card .btn { position: relative; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 36px;
  box-shadow: var(--shadow-sm);
}

/* ---- 21. SERVICE DETAIL (services page) ---- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px; align-items: center;
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail--reverse .service-detail__media { order: 2; }
.service-detail:last-child { border-bottom: 0; }
.service-detail__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.service-detail__media-card {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 36px;
  background:
    radial-gradient(circle at 90% 0%, var(--accent-pale) 0%, transparent 50%),
    var(--white);
  border: 1px solid var(--line-soft);
}
.service-detail__media-num {
  font-family: var(--display);
  font-size: 7rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.06em;
  font-variation-settings: "wdth" 100, "opsz" 96;
}
.service-detail__media-icon {
  width: 84px; height: 84px;
  border-radius: 24px;
  background: var(--primary);
  color: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: auto;
  align-self: flex-end;
}
.service-detail__media-icon svg { width: 44px; height: 44px; }
.service-detail h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 18px;
}
.service-detail__list {
  list-style: none;
  margin: 28px 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px;
}
.service-detail__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 0;
}
.service-detail__list svg {
  width: 18px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

/* ---- 22. VALUES (about page) ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  padding: 38px 32px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  position: relative;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.value-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.value-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--primary);
  color: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.value-card__icon svg { width: 28px; height: 28px; }
.value-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.value-card p { font-size: 0.96rem; margin: 0; }

/* ---- 23. STORY (about page) ---- */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.editorial--reverse .editorial__media { order: 2; }
.editorial__media {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.editorial__media img { width: 100%; height: 100%; object-fit: cover; }
.editorial__media-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--white);
  padding: 14px 22px;
  border-radius: 100px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-sm);
}
.editorial__media-tag-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.editorial__media-tag span {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}
.editorial__list {
  list-style: none;
  margin: 30px 0;
}
.editorial__list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1rem;
  color: var(--ink);
}
.editorial__list li:last-child { border-bottom: 0; }
.editorial__list svg {
  width: 22px; height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- 24. FOOTER ---- */
.site-footer {
  background: var(--primary-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 80px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer__brand p {
  color: rgba(255, 255, 255, 0.68);
  margin-top: 22px; font-size: 0.94rem;
  max-width: 320px;
  line-height: 1.6;
}
.footer__col h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 22px;
}
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 12px; }
.footer__col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  transition: color .2s ease;
}
.footer__col a:hover { color: var(--accent-soft); }
.footer__contact li {
  display: flex; align-items: flex-start; gap: 12px;
}
.footer__contact svg {
  width: 16px; height: 16px;
  color: var(--accent);
  flex-shrink: 0; margin-top: 3px;
}
.footer__socials {
  display: flex; gap: 10px;
  margin-top: 22px;
}
.footer__socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.78);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.footer__socials a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.footer__socials svg { width: 16px; height: 16px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.7); }
.footer__bottom a:hover { color: var(--accent-soft); }

/* ---- 25. ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1; transform: translateY(0);
}
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.13s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.21s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.29s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.37s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.45s; }

/* Focus visible */
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---- 26. RESPONSIVE ---- */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { max-width: 520px; margin: 0 auto; aspect-ratio: 5/4; }
  .hero__card--badge { right: -10px; top: 10px; }
  .hero__card--bottom { left: -8px; bottom: -20px; width: 60%; }
  .editorial, .contact-grid, .service-detail { grid-template-columns: 1fr; gap: 50px; }
  .editorial--reverse .editorial__media,
  .service-detail--reverse .service-detail__media { order: -1; }
  .section__head { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide, .service-card--narrow, .service-card--third { grid-column: span 1; }
  .pillars, .industries-grid, .values-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band__grid, .trust-strip__grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-banner__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: flex; flex-direction: column;
    position: fixed; top: 80px; left: 0; right: 0;
    background: var(--bg);
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    align-items: stretch; gap: 4px;
  }
  .main-nav.is-open a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.05rem;
  }
  .main-nav.is-open a.is-active::after { display: none; }
  .header-cta .phone-link { display: none; }
  .services-grid, .pillars, .industries-grid, .values-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .stats-band__grid, .trust-strip__grid, .process-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form { padding: 32px 24px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .service-detail__list { grid-template-columns: 1fr; }
  .hero__card--badge { display: none; }
  .hero__card--bottom { width: 80%; left: 0; }
  .cta-banner__buttons { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .stagger > * { opacity: 1; transform: none; }
  .hero__title .strike::after { transform: scaleX(1) skewY(-3deg); animation: none; }
  .hero__chart span { transform: scaleY(1); animation: none; }
}

@media print {
  .site-header, .site-footer, .cta-banner, .nav-toggle { display: none; }
  body { background: white; color: black; }
}
