/* ============================================================
   MasterHRM — Editorial Design System (by Master Engineering)
   Fraunces + Plus Jakarta Sans · Brand red · hairline cells
   Shared across all pages.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  /* Brand */
  --brand:        #B8271B;
  --brand-deep:   #8C1D13;
  --brand-soft:   #F4EAE9;
  --brand-tint:   #E87A73;

  /* Neutrals */
  --ink-900:  #0F0F0F;
  --ink-800:  #1C1C1C;
  --ink-700:  #2E2E2E;
  --ink-500:  #6B6B6B;
  --ink-400:  #949494;
  --ink-200:  #DEDEDE;
  --ink-100:  #F0F0F0;
  --ink-050:  #F8F8F8;
  --white:    #FFFFFF;
  --success:  #1A6B3A;

  /* Type */
  --sans:  'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --serif: 'Fraunces', Georgia, serif;

  /* Spacing */
  --sp-4:4px; --sp-8:8px; --sp-12:12px; --sp-16:16px; --sp-20:20px; --sp-24:24px;
  --sp-28:28px; --sp-32:32px; --sp-40:40px; --sp-48:48px; --sp-64:64px; --sp-80:80px; --sp-96:96px; --sp-128:128px;

  --max-w: 1240px;
  --gutter: 48px;

  --r-sm: 4px; --r-md: 8px; --r-lg: 12px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: rgba(184,39,27,0.14); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- TOPBAR ---------- */
.topbar {
  background: var(--ink-900);
  color: rgba(255,255,255,0.62);
  font-size: 12.5px; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-24); }
.topbar a { color: rgba(255,255,255,0.62); transition: color 0.18s; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--white); }
.topbar-right { display: flex; align-items: center; gap: var(--sp-24); }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.12); }

/* ---------- NAV ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 200; background: var(--white); border-bottom: 1px solid var(--ink-200); transition: box-shadow .2s; }
.nav-wrap.scrolled { box-shadow: 0 1px 12px rgba(0,0,0,0.07); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: var(--sp-32); }
.nav-logo { display: flex; align-items: center; gap: var(--sp-12); flex-shrink: 0; }
/* Logo mark (square) + wordmark beside it */
.brand-mark { width: 44px; height: 44px; object-fit: contain; display: block; flex-shrink: 0; }
@media (max-width: 640px) { .brand-mark { width: 40px; height: 40px; } }
/* Footer: logo on a white chip so it reads on the dark background */
.footer-mark { width: 48px; height: 48px; background: #fff; border-radius: 8px; padding: 5px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--sp-16); }
.footer-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav-logomark { width: 38px; height: 38px; background: var(--brand); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logotype { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logotype-primary { font-weight: 700; font-size: 15px; color: var(--ink-900); letter-spacing: -0.01em; }
.nav-logotype-secondary { font-size: 10.5px; font-weight: 500; color: var(--ink-500); letter-spacing: 0.05em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: var(--sp-4); flex: 1; justify-content: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-700); padding: 8px 14px; border-radius: var(--r-md); transition: background 0.16s, color 0.16s; white-space: nowrap; }
.nav-links a:hover { background: var(--ink-100); color: var(--ink-900); }
.nav-links a.active { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: var(--sp-12); flex-shrink: 0; }
.nav-tel { font-size: 13.5px; font-weight: 600; color: var(--ink-700); letter-spacing: -0.01em; display: flex; align-items: center; gap: 6px; }

.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 14px; font-weight: 600; padding: 10px 22px; border-radius: var(--r-md); transition: all 0.18s var(--ease); letter-spacing: -0.01em; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: var(--white); border: 1.5px solid var(--brand); }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(184,39,27,0.25); }
.btn-outline { background: transparent; color: var(--ink-800); border: 1.5px solid var(--ink-200); }
.btn-outline:hover { border-color: var(--ink-400); background: var(--ink-050); }
.btn-white { background: var(--white); color: var(--ink-900); border: 1.5px solid var(--white); }
.btn-white:hover { background: var(--ink-100); border-color: var(--ink-100); }
.btn-outline-white { background: transparent; color: rgba(255,255,255,0.85); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-outline-white:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }
.btn-lg { font-size: 15px; padding: 13px 28px; }
.btn-block { width: 100%; justify-content: center; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--ink-700); border-radius: 1px; transition: all 0.25s; }

.mobile-nav { display: none; position: fixed; inset: 0; z-index: 300; background: var(--white); flex-direction: column; padding: var(--sp-24) var(--sp-24) var(--sp-48); overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-40); }
.mobile-nav-close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink-200); border-radius: var(--r-md); font-size: 20px; color: var(--ink-700); transition: background 0.16s; }
.mobile-nav-close:hover { background: var(--ink-100); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: var(--sp-40); }
.mobile-nav-links a { font-size: 18px; font-weight: 600; color: var(--ink-800); padding: 14px 0; border-bottom: 1px solid var(--ink-100); letter-spacing: -0.01em; }
.mobile-nav-contact { margin-top: auto; display: flex; flex-direction: column; gap: var(--sp-12); }

/* ---------- HERO ---------- */
.hero { padding: var(--sp-96) 0 var(--sp-80); background: var(--white); border-bottom: 1px solid var(--ink-200); overflow: hidden; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1fr 480px; gap: var(--sp-64); align-items: center; }
.eyebrow, .hero-eyebrow { display: inline-flex; align-items: center; gap: var(--sp-8); background: var(--brand-soft); border: 1px solid rgba(184,39,27,0.18); border-radius: 2px; padding: 5px 12px; font-size: 11.5px; font-weight: 600; color: var(--brand); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--sp-24); }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero h1 { font-family: var(--serif); font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; color: var(--ink-900); margin-bottom: var(--sp-24); }
h1 em, h2 em, h3 em, .title em { font-style: italic; font-weight: 300; color: var(--brand); }
.hero-lead { font-size: 17px; color: var(--ink-500); line-height: 1.72; max-width: 520px; margin-bottom: var(--sp-40); }
.hero-ctas { display: flex; align-items: center; gap: var(--sp-12); flex-wrap: wrap; }
.hero-divider { width: 100%; height: 1px; background: var(--ink-200); margin: var(--sp-48) 0 var(--sp-40); }
.hero-stats { display: flex; gap: var(--sp-48); flex-wrap: wrap; }
.hero-stat-num { font-family: var(--serif); font-size: 36px; font-weight: 600; color: var(--ink-900); letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; }
.hero-stat-num sup { font-size: 18px; font-weight: 400; color: var(--brand); }
.hero-stat-label { font-size: 12.5px; font-weight: 500; color: var(--ink-500); letter-spacing: 0.02em; }

/* Hero card stack */
.hero-card-stack { display: flex; flex-direction: column; border: 1px solid var(--ink-200); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04); }
.hero-card-item { display: flex; align-items: center; gap: var(--sp-16); padding: 18px 22px; background: var(--white); border-bottom: 1px solid var(--ink-100); transition: background 0.16s; }
.hero-card-item:last-of-type { border-bottom: none; }
.hero-card-item:hover { background: var(--ink-050); }
.hero-card-icon { width: 38px; height: 38px; background: var(--ink-100); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--brand); }
.hero-card-icon svg { width: 19px; height: 19px; }
.hero-card-label { font-size: 14px; font-weight: 600; color: var(--ink-800); margin-bottom: 1px; }
.hero-card-sub { font-size: 12px; color: var(--ink-500); }
.hero-card-arrow { margin-left: auto; color: var(--ink-400); flex-shrink: 0; }
.hero-card-stack-footer { background: var(--ink-050); border-top: 1px solid var(--ink-200); padding: 14px 22px; font-size: 12.5px; color: var(--ink-500); display: flex; align-items: center; justify-content: space-between; }
.hero-card-stack-footer a { font-weight: 600; color: var(--brand); }
.hero-card-stack-footer a:hover { color: var(--brand-deep); }

/* ---------- PAGE HERO (interior) ---------- */
.page-hero { background: var(--ink-050); border-bottom: 1px solid var(--ink-200); padding: var(--sp-64) 0 var(--sp-64); }
.breadcrumb { font-size: 12.5px; color: var(--ink-400); margin-bottom: var(--sp-20); display: flex; gap: 8px; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--ink-700); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink-900); margin-bottom: var(--sp-16); max-width: 900px; }
.page-hero .lead { font-size: 17px; color: var(--ink-500); line-height: 1.7; max-width: 620px; }

/* ---------- SECTIONS ---------- */
.section { padding: var(--sp-96) 0; }
.section-tight { padding: var(--sp-64) 0; }
.section-alt { background: var(--ink-050); border-top: 1px solid var(--ink-200); border-bottom: 1px solid var(--ink-200); }
.section-dark { background: var(--ink-900); color: var(--white); }
.section-header { margin-bottom: var(--sp-64); }
.section-header.centered { text-align: center; }
.section-header.centered .section-lead { margin-left: auto; margin-right: auto; }
.section-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-bottom: var(--sp-12); }
.section-kicker::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--brand); border-radius: 1px; }
.section-header.centered .section-kicker { justify-content: center; }
.section-title { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink-900); margin-bottom: var(--sp-16); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-title em { color: var(--brand-tint); }
.section-lead { font-size: 16px; color: var(--ink-500); line-height: 1.7; max-width: 560px; }
.section-dark .section-lead { color: rgba(255,255,255,0.72); }

/* ---------- CELL GRID (services / modules) ---------- */
.cell-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink-200); border-radius: var(--r-lg); overflow: hidden; }
.cell-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cell-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cell { padding: var(--sp-32) var(--sp-28); border-right: 1px solid var(--ink-200); border-bottom: 1px solid var(--ink-200); background: var(--white); transition: background 0.2s; position: relative; overflow: hidden; }
.cell::before { content: ''; position: absolute; inset: 0; background: var(--brand-soft); opacity: 0; transition: opacity 0.2s; }
.cell:hover { background: var(--ink-050); }
.cell:hover::before { opacity: 0.4; }
.cell-inner { position: relative; z-index: 1; }
.cell-num { font-size: 11px; font-weight: 700; color: var(--ink-400); letter-spacing: 0.1em; margin-bottom: var(--sp-20); }
.cell-icon { width: 44px; height: 44px; background: var(--ink-100); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-20); transition: background 0.2s; color: var(--ink-700); }
.cell-icon svg { width: 22px; height: 22px; }
.cell:hover .cell-icon { background: rgba(184,39,27,0.1); color: var(--brand); }
.cell-name { font-size: 15px; font-weight: 700; color: var(--ink-900); line-height: 1.3; margin-bottom: var(--sp-8); letter-spacing: -0.01em; }
.cell-desc { font-size: 13px; color: var(--ink-500); line-height: 1.65; }
.cell-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--brand); margin-top: var(--sp-16); letter-spacing: -0.01em; transition: gap 0.15s; }
.cell-link:hover { gap: 8px; }
/* right-edge / bottom-edge border cleanup handled per-grid via .cell-grid rules below */
.cell-grid > .cell:nth-child(4n) { border-right: none; }
.cell-grid.cols-3 > .cell:nth-child(3n) { border-right: none; }
.cell-grid.cols-2 > .cell:nth-child(2n) { border-right: none; }
.cell-grid > .cell:last-child { border-bottom: none; }

/* ---------- SPLIT / WHY ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-96); align-items: start; }
.split.narrow-gap { gap: var(--sp-64); }
.split-body p { font-size: 16px; color: var(--ink-500); line-height: 1.75; margin-bottom: var(--sp-32); }
.pillars { display: flex; flex-direction: column; gap: var(--sp-24); margin-top: var(--sp-8); }
.pillar { display: flex; gap: var(--sp-16); align-items: flex-start; }
.pillar-line { width: 2px; background: var(--ink-200); border-radius: 1px; flex-shrink: 0; margin-top: 4px; align-self: stretch; transition: background .2s; }
.pillar:first-child .pillar-line, .pillar:hover .pillar-line { background: var(--brand); }
.pillar-title { font-size: 15px; font-weight: 700; color: var(--ink-900); margin-bottom: 5px; letter-spacing: -0.01em; }
.pillar-desc { font-size: 14px; color: var(--ink-500); line-height: 1.6; }

/* metrics + bars */
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ink-200); border: 1px solid var(--ink-200); border-radius: var(--r-lg); overflow: hidden; margin-bottom: var(--sp-32); }
.metric-cell { background: var(--white); padding: var(--sp-32) var(--sp-28); }
.metric-num { font-family: var(--serif); font-size: 42px; font-weight: 600; color: var(--ink-900); letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; }
.metric-num sup { font-size: 20px; font-weight: 400; color: var(--brand); }
.metric-label { font-size: 13px; font-weight: 500; color: var(--ink-500); }
.bars { background: var(--ink-050); border: 1px solid var(--ink-200); border-radius: var(--r-lg); padding: var(--sp-28); }
.bars-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-700); margin-bottom: var(--sp-24); }
.bar-row { margin-bottom: var(--sp-20); }
.bar-row:last-child { margin-bottom: 0; }
.bar-head { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 500; color: var(--ink-700); margin-bottom: 8px; }
.bar-head span:last-child { font-weight: 600; color: var(--ink-900); }
.bar-track { height: 3px; background: var(--ink-200); border-radius: 2px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--brand); border-radius: 2px; width: 0; transition: width 1.1s var(--ease); }

/* ---------- 2-COL BLOCKS (mission/approach) ---------- */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ink-200); border: 1px solid var(--ink-200); border-radius: var(--r-lg); overflow: hidden; }
.duo-block { background: var(--white); padding: var(--sp-48); }
.duo-block.alt { background: var(--ink-050); }
.duo-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-bottom: var(--sp-16); }
.duo-block h3 { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; color: var(--ink-900); letter-spacing: -0.025em; line-height: 1.2; margin-bottom: var(--sp-20); }
.duo-block p { font-size: 15px; color: var(--ink-500); line-height: 1.75; }

/* ---------- DARK FEATURE + STATUS PANEL ---------- */
.feature-dark { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-80); align-items: start; }
.feature-dark .section-kicker { color: var(--brand-tint); }
.feature-dark .section-kicker::before { background: var(--brand-tint); }
.feature-body { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.78); margin-bottom: var(--sp-32); }
.feature-checks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); margin-bottom: var(--sp-40); }
.fchk { display: flex; align-items: flex-start; gap: 10px; }
.fchk-mark { width: 16px; height: 16px; border-radius: 50%; background: rgba(232,122,115,0.18); border: 1px solid rgba(232,122,115,0.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; font-size: 9px; color: #F0A09A; }
.fchk-text { font-size: 13.5px; color: rgba(255,255,255,0.78); line-height: 1.4; }
.panel { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-lg); overflow: hidden; }
.panel-header { padding: var(--sp-24) var(--sp-28); border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 6px; }
.panel-dot { width: 8px; height: 8px; border-radius: 50%; }
.panel-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.65); letter-spacing: 0.04em; margin-left: 8px; }
.panel-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 28px; border-bottom: 1px solid rgba(255,255,255,0.05); transition: background 0.15s; }
.panel-row:last-child { border-bottom: none; }
.panel-row:hover { background: rgba(255,255,255,0.04); }
.panel-name { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.88); }
.tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 2px; letter-spacing: 0.04em; }
.tag-live { background: rgba(34,136,63,0.25); color: #52c97c; }
.tag-dev  { background: rgba(201,146,42,0.2); color: #d4a843; }
.tag-planned { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.55); }

/* ---------- CHECKLIST ---------- */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-700); line-height: 1.55; }
.checklist .ck { width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); border: 1px solid rgba(184,39,27,0.25); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; font-size: 10px; }

/* ---------- INDUSTRIES ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink-200); border-radius: var(--r-lg); overflow: hidden; }
.ind-cell { padding: var(--sp-28) var(--sp-24); border-right: 1px solid var(--ink-200); border-bottom: 1px solid var(--ink-200); background: var(--white); transition: background .2s; }
.ind-cell:hover { background: var(--ink-050); }
.ind-cell .ind-ico { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--ink-100); display: grid; place-items: center; color: var(--brand); margin-bottom: var(--sp-16); }
.ind-cell .ind-ico svg { width: 20px; height: 20px; }
.ind-cell h4 { font-size: 14.5px; font-weight: 700; color: var(--ink-900); letter-spacing: -0.01em; margin-bottom: 4px; }
.ind-cell p { font-size: 12.5px; color: var(--ink-500); line-height: 1.5; }
.ind-grid > .ind-cell:nth-child(4n) { border-right: none; }
.ind-grid > .ind-cell:nth-child(n+5) { border-bottom: none; }

/* ---------- PULL QUOTE ---------- */
.pullquote { max-width: 900px; margin: 0 auto; text-align: center; }
.pullquote-mark { font-family: var(--serif); font-size: 72px; line-height: .5; color: var(--brand); height: 42px; display: block; }
.pullquote blockquote { font-family: var(--serif); font-size: clamp(22px, 2.8vw, 32px); font-weight: 400; font-style: italic; line-height: 1.35; color: var(--ink-900); letter-spacing: -0.01em; margin-bottom: var(--sp-32); }
.pullquote blockquote em { font-style: normal; color: var(--brand); }
.pullquote-who { display: inline-flex; align-items: center; gap: 12px; }
.pullquote-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--ink-900); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.pullquote-name { font-size: 14px; font-weight: 700; color: var(--ink-900); text-align: left; }
.pullquote-role { font-size: 12.5px; color: var(--ink-500); text-align: left; }

/* ---------- LOGOS STRIP ---------- */
.logos-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-400); text-align: center; margin-bottom: var(--sp-32); }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 2px; flex-wrap: wrap; }
.logo-item { padding: 16px 28px; border: 1px solid var(--ink-200); border-radius: var(--r-md); background: var(--white); font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--ink-400); transition: border-color .18s, color .18s; }
.logo-item:hover { border-color: var(--ink-400); color: var(--ink-700); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border: 1px solid var(--ink-200); border-radius: var(--r-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--ink-200); }
.faq-item:last-child { border-bottom: none; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; text-align: left; font-size: 16px; font-weight: 600; color: var(--ink-900); letter-spacing: -0.01em; transition: background .15s; }
.faq-q:hover { background: var(--ink-050); }
.faq-pm { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq-pm::before, .faq-pm::after { content:''; position: absolute; background: var(--brand); border-radius: 1px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-pm::before { width: 12px; height: 1.5px; }
.faq-pm::after { width: 1.5px; height: 12px; transition: transform .25s; }
.faq-item.open .faq-pm::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding: 0 26px 24px; font-size: 14.5px; color: var(--ink-500); line-height: 1.7; }

/* ---------- TABS ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: var(--sp-48); }
.tabs button { font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--ink-600, #47536b); padding: 9px 18px; border: 1px solid var(--ink-200); border-radius: var(--r-md); background: var(--white); transition: .18s; color: var(--ink-700); }
.tabs button:hover { border-color: var(--ink-400); }
.tabs button.active { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- CONTACT ---------- */
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: var(--sp-96); align-items: start; }
.contact-info p { font-size: 16px; color: var(--ink-500); line-height: 1.75; margin-bottom: var(--sp-40); }
.contact-details { display: flex; flex-direction: column; gap: var(--sp-24); }
.contact-detail { display: flex; align-items: flex-start; gap: var(--sp-16); }
.contact-detail-icon { width: 40px; height: 40px; background: var(--ink-100); border: 1px solid var(--ink-200); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--brand); }
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-400); margin-bottom: 3px; }
.contact-detail-value { font-size: 14.5px; font-weight: 500; color: var(--ink-800); }
.contact-form-wrap { background: var(--ink-050); border: 1px solid var(--ink-200); border-radius: var(--r-lg); padding: var(--sp-40); }
.contact-form-title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--ink-900); letter-spacing: -0.02em; margin-bottom: var(--sp-28); }
.form-grid { display: flex; flex-direction: column; gap: var(--sp-16); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-700); }
.field input, .field select, .field textarea { font-family: var(--sans); font-size: 14.5px; color: var(--ink-900); background: var(--white); border: 1px solid var(--ink-200); border-radius: var(--r-md); padding: 11px 14px; outline: none; transition: border-color 0.18s, box-shadow 0.18s; -webkit-appearance: none; appearance: none; width: 100%; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-400); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(184,39,27,0.1); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0.5 0.5L5 5L9.5 0.5' stroke='%236B6B6B' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-submit { width: 100%; background: var(--brand); color: var(--white); border: 1.5px solid var(--brand); border-radius: var(--r-md); font-family: var(--sans); font-size: 15px; font-weight: 600; padding: 13px 28px; transition: all 0.18s var(--ease); letter-spacing: -0.01em; display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-submit:hover { background: var(--brand-deep); border-color: var(--brand-deep); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(184,39,27,0.2); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.form-note { font-size: 12px; color: var(--ink-400); margin-top: var(--sp-12); text-align: center; }

/* ---------- CTA STRIP ---------- */
.cta-strip { text-align: center; }
.cta-strip h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -0.025em; color: var(--white); margin-bottom: var(--sp-16); }
.cta-strip .section-title em { color: var(--brand-tint); }
.cta-strip p { font-size: 16px; color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto var(--sp-32); line-height: 1.7; }
.cta-strip .hero-ctas { justify-content: center; }

/* ---------- FOOTER ---------- */
footer { background: var(--ink-900); color: rgba(255,255,255,0.5); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-main { padding: var(--sp-80) 0 var(--sp-64); display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: var(--sp-64); }
.footer-brand-mark { width: 36px; height: 36px; background: var(--brand); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-16); }
.footer-brand-name { font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: -0.01em; margin-bottom: var(--sp-4); }
.footer-brand-tag { font-size: 11px; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--sp-16); }
.footer-brand-desc { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 300px; margin-bottom: var(--sp-24); }
.footer-contact-line { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.footer-contact-line svg { width: 13px; height: 13px; flex-shrink: 0; }
.footer-contact-line a { color: rgba(255,255,255,0.6); transition: color 0.16s; }
.footer-contact-line a:hover { color: var(--white); }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: var(--sp-20); }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,0.6); margin-bottom: 12px; transition: color 0.16s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: var(--sp-24) 0; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-24); flex-wrap: wrap; }
.footer-copyright { font-size: 12.5px; color: rgba(255,255,255,0.45); }
.footer-legal { display: flex; gap: var(--sp-24); }
.footer-legal a { font-size: 12.5px; color: rgba(255,255,255,0.45); transition: color 0.16s; }
.footer-legal a:hover { color: rgba(255,255,255,0.75); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .hero-inner { grid-template-columns: 1fr 400px; gap: var(--sp-48); }
  .cell-grid { grid-template-columns: repeat(2, 1fr); }
  .cell-grid > .cell:nth-child(2n) { border-right: none; }
  .cell-grid > .cell:nth-child(4n) { border-right: 1px solid var(--ink-200); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid > .ind-cell:nth-child(n+5) { border-bottom: 1px solid var(--ink-200); }
  .ind-grid > .ind-cell:nth-child(2n) { border-right: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--sp-48); }
}
@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .topbar { display: none; }
  .nav-tel { display: none; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: var(--sp-64) 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card-stack { display: none; }
  .section, .section-tight { padding: var(--sp-64) 0; }
  .split { grid-template-columns: 1fr; gap: var(--sp-48); }
  .feature-dark { grid-template-columns: 1fr; gap: var(--sp-48); }
  .contact-layout { grid-template-columns: 1fr; gap: var(--sp-48); }
  .duo-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--sp-40); padding: var(--sp-48) 0; }
}
@media (max-width: 640px) {
  .cell-grid, .cell-grid.cols-3, .cell-grid.cols-2, .ind-grid { grid-template-columns: 1fr; }
  .cell, .ind-cell { border-right: none !important; border-bottom: 1px solid var(--ink-200) !important; }
  .cell-grid > .cell:last-child, .ind-grid > .ind-cell:last-child { border-bottom: none !important; }
  .hero h1 { font-size: 34px; }
  .hero-stats { gap: var(--sp-32); }
  .metrics, .feature-checks, .form-row-2 { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: var(--sp-32); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--sp-12); }
  .duo-block { padding: var(--sp-32) var(--sp-24); }
  .contact-form-wrap { padding: var(--sp-24); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
@media print { .topbar, .nav-wrap, .hero-card-stack, .mobile-nav { display: none; } }
