/* =========================================================
   MetricaStudio — landing styles
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --ink: #0b1220;
  --ink-soft: #39435c;
  --muted: #6b7690;
  --line: #e3e8f1;
  --line-strong: #cfd7e6;

  --brand: #3355ff;
  --brand-600: #2545e6;
  --brand-100: #eaefff;
  --accent: #12b886;
  --accent-soft: #e6f8f1;

  --dark: #070c18;
  --dark-2: #0d1426;
  --dark-line: rgba(255, 255, 255, 0.1);
  --dark-muted: #9aa6c0;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06), 0 1px 3px rgba(11, 18, 32, 0.05);
  --shadow: 0 12px 30px -12px rgba(11, 18, 32, 0.18), 0 4px 12px -6px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 40px 80px -32px rgba(11, 18, 32, 0.35);

  --container: 1180px;
  --gutter: 22px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; font-weight: 800; overflow-wrap: break-word; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.section-head { max-width: none; margin-bottom: clamp(34px, 5vw, 56px); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); margin: 14px 0 16px; }
.section-sub { font-size: 1.06rem; color: var(--muted); max-width: none; }

.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand);
}
.kicker-light { color: #7d9bff; }
.section-head-light h2 { color: #fff; }
.section-head-light .section-sub { color: var(--dark-muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 0.98rem; cursor: pointer; white-space: nowrap;
  background: var(--btn-bg); color: var(--btn-fg);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-primary { box-shadow: 0 10px 24px -12px rgba(51, 85, 255, 0.75); }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 16px 30px -12px rgba(51, 85, 255, 0.85); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(11, 18, 32, 0.03); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 248, 252, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,18,32,.5); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.06rem; letter-spacing: -0.02em; }
.brand-mark { color: var(--ink); display: inline-flex; }
.brand-name span { color: var(--brand); }
.brand-light { color: #fff; }
.brand-light .brand-mark { color: rgba(255,255,255,.14); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; }
.nav a { display: block; padding: 9px 13px; border-radius: 10px; font-size: 0.94rem; font-weight: 600; color: var(--ink-soft); transition: background .15s ease, color .15s ease; }
.nav a:hover { background: rgba(11,18,32,.05); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .22s ease, top .22s ease; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 4.5vw, 64px) 0 clamp(48px, 6vw, 84px); }
.hero-glow {
  position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 60% at 18% 22%, rgba(51,85,255,.20), transparent 62%),
    radial-gradient(42% 55% at 86% 8%, rgba(18,184,134,.16), transparent 62%);
  filter: blur(6px);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

.hero h1 { font-size: clamp(30px, 4.2vw, 50px); margin: 16px 0 14px; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--muted); max-width: 620px; }
.lead strong { color: var(--ink); font-weight: 700; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 28px; }

.trust-bar { display: flex; flex-wrap: wrap; gap: 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.trust-bar li { display: flex; flex-direction: column; gap: 2px; }
.trust-num { font-size: 1.65rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.trust-label { font-size: .8rem; color: var(--muted); }

/* ---------- Dashboard visual ---------- */
.hero-visual { perspective: 1200px; }
.dash {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08);
  transform: rotateY(-6deg) rotateX(2deg); transition: transform .5s ease;
}
.dash:hover { transform: none; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--dark-line); }
.dash-title { font-weight: 800; letter-spacing: -0.01em; }
.dash-sub { font-size: .82rem; color: var(--dark-muted); }

.dash-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--dark-line); border-radius: 12px; overflow: hidden; margin: 20px 0; }
.kpi { background: rgba(255,255,255,.03); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.kpi-name { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #7d9bff; font-weight: 800; }
.kpi-meaning { font-size: .98rem; font-weight: 700; color: #fff; }

.dash-chart { background: rgba(255,255,255,.03); border: 1px solid var(--dark-line); border-radius: 12px; padding: 14px 16px 8px; }
.chart-head { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--dark-muted); margin-bottom: 8px; }
.chart-legend { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-left: 6px; }
.chart-legend i:first-child { margin-left: 0; }
.lg-a { background: rgba(255,255,255,.28); }
.lg-b { background: #5b84ff; }
.dash-chart svg { width: 100%; height: 84px; }
.dash-chart polyline { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.line-a { stroke: rgba(255,255,255,.28); }
.line-b { stroke: #5b84ff; }

/* ---------- Trust strip ---------- */
.strip { background: var(--surface); border-block: 1px solid var(--line); padding: 22px 0; }
.strip-inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.strip-label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.strip-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.strip-tags li { font-size: .88rem; font-weight: 600; color: var(--ink-soft); background: var(--bg); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }

/* ---------- Problem ---------- */
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pain:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.pain-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-size: 17px; font-weight: 800; color: #e5484d; background: rgba(229, 72, 77, .1); margin-bottom: 16px; }
.pain p { font-size: 1.02rem; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Services ---------- */
.section-services { background: var(--surface); border-top: 1px solid var(--line); }
.service { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-badge { margin-left: auto; white-space: nowrap; background: rgba(11, 18, 32, .8); color: #eef1f8; font-size: .72rem; font-weight: 600; letter-spacing: .01em; padding: 5px 11px; border-radius: 999px; }
.service-top { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.service-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--brand-100); color: var(--brand); flex-shrink: 0; }
.service-ico svg { width: 24px; height: 24px; }
.service h3 { font-size: 1.3rem; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pills li { font-size: .8rem; font-weight: 700; color: var(--brand); background: var(--brand-100); border: 1px solid #cfdcff; padding: 6px 12px; border-radius: 999px; }
.check-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 22px; }
.check-list li { position: relative; padding-left: 28px; font-size: .95rem; color: var(--ink-soft); }
.check-list li::before {
  content: ""; position: absolute; left: 3px; top: 7px; width: 15px; height: 9px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg); border-radius: 1px;
}
.check-list-lg li { font-size: 1rem; }
.service-outcome { margin-top: auto; font-size: .95rem; color: var(--muted); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 12px; padding: 14px 16px; }
.service-outcome span { color: var(--ink); font-weight: 800; }

/* ---------- Dark sections ---------- */
.section-dark { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 85% 0%, rgba(51,85,255,.22), transparent 60%);
}
.section-dark .container { position: relative; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; background: rgba(255,255,255,.04); border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.step:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
.step-no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #5b84ff; color: #7d9bff; font-weight: 800; font-size: .95rem; margin-bottom: 16px; }
.step h3 { color: #fff; font-size: 1.16rem; margin: 0 0 10px; }
.step p { font-size: .95rem; color: var(--dark-muted); }

/* ---------- Pricing ---------- */
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-featured { border-color: var(--brand); border-width: 2px; box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.plan-badge-muted { background: var(--ink); color: #fff; }
.plan-name { font-size: 1.16rem; min-height: 2.6em; }
.plan-desc { font-size: .93rem; color: var(--muted); margin: 10px 0 18px; }
.plan-price { font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-bottom: 20px; }
.plan-price span { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan-price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.plan-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.plan-list li { position: relative; padding-left: 26px; font-size: .94rem; }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.plan .btn { margin-top: auto; }
.pricing-note { margin-top: 30px; font-size: .95rem; color: var(--muted); max-width: none; }

/* ---------- Cases ---------- */
.section-cases { background: var(--surface); border-block: 1px solid var(--line); }
.case { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.case-tag { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.case h3 { font-size: 1.14rem; margin-bottom: 10px; }
.case-task { font-size: .93rem; color: var(--muted); margin-bottom: 20px; }
.case-metrics { display: flex; flex-direction: column; gap: 0; margin-top: auto; border-top: 1px solid var(--line); }
.case-metrics > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.case-metrics dt { font-size: .88rem; color: var(--muted); }
.case-metrics dd { margin: 0; font-size: 1.06rem; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.team-copy .kicker { margin-bottom: 4px; }
.team-copy h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 14px 0 18px; }
.team-copy .check-list { margin: 26px 0 30px; }
.team-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.stat-num { display: block; font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: 8px; font-size: .9rem; color: var(--muted); }
.stat-card-accent { background: var(--ink); border-color: var(--ink); }
.stat-card-accent .stat-num { color: #fff; }
.stat-card-accent .stat-label { color: #c3cbdd; }

/* ---------- FAQ ---------- */
.section-faq { background: var(--surface); border-top: 1px solid var(--line); }
.faq-wrap { max-width: 900px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); background: var(--surface); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 1.05rem; padding: 18px 34px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px;
  border-right: 2.2px solid var(--muted); border-bottom: 2.2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); border-color: var(--brand); }
.faq p { padding: 0 0 20px; color: var(--muted); font-size: .98rem; max-width: 760px; }

/* ---------- Contact ---------- */
.section-contact { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.section-contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(48% 60% at 12% 8%, rgba(51,85,255,.26), transparent 60%); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.section-contact h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin: 14px 0 18px; }
.section-contact .section-sub { color: var(--dark-muted); }

.contact-facts { display: flex; flex-direction: column; gap: 0; margin-top: 34px; border-top: 1px solid var(--dark-line); }
.contact-facts li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--dark-line); }
.contact-facts span { font-size: .9rem; color: var(--dark-muted); }
.contact-facts strong { font-size: .98rem; }
.contact-facts a { color: #7d9bff; }

.contact-form { background: #fff; color: var(--ink-soft); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-lg); }
#lead-form { scroll-margin-top: 90px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 11px;
  background: #fbfcfe; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(51,85,255,.14);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 4px 0 20px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }

.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-status { margin-top: 12px; font-size: .92rem; font-weight: 700; text-align: center; min-height: 1.2em; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #e5484d; }
.form-fallback { margin-top: 10px; font-size: .86rem; color: var(--muted); text-align: center; }
.form-fallback a { color: var(--brand); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: #05090f; color: var(--dark-muted); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-brand p { margin-top: 16px; font-size: .92rem; max-width: 300px; }
.footer-nav h4, .footer-contact h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-nav ul, .footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a { font-size: .93rem; transition: color .15s ease; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact .btn { margin-top: 18px; color: #fff; border-color: rgba(255,255,255,.22); }
.footer-contact .btn:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--dark-line); font-size: .84rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .dash { transform: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; inset: 74px 0 auto; background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 12px 22px 22px; display: none; box-shadow: var(--shadow);
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { padding: 13px 12px; font-size: 1rem; }
  .burger { display: block; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .trust-bar { gap: 22px 30px; }
  .plan-name { min-height: 0; }
  .team-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; gap: 8px; }
  .header-actions .btn { padding: 9px 13px; font-size: .82rem; }
  .brand-name { font-size: 1rem; }
  .service { padding: 24px 20px; }
  .service h3 { font-size: 1.2rem; }
  .service-top h3 { min-width: 0; }
  .service-badge { font-size: .68rem; padding: 4px 9px; }
  .case-metrics > div { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .dash-kpis { grid-template-columns: 1fr; }
  .team-stats { grid-template-columns: 1fr; }
}

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

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .hero-glow, .contact-form, .btn { display: none !important; }
  body { background: #fff; }
  .section-dark, .section-contact { background: #fff; color: #000; }
}

/* ---------- Legal / privacy page ---------- */
.legal-hero { background: var(--dark); color: #fff; padding: clamp(44px, 6vw, 76px) 0 clamp(32px, 4vw, 48px); position: relative; overflow: hidden; }
.legal-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 85% 0%, rgba(51,85,255,.22), transparent 60%); pointer-events: none; }
.legal-hero .container { position: relative; }
.legal-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
.legal-hero p { color: var(--dark-muted); margin-top: 14px; max-width: 720px; }
.legal-hero .legal-updated { display: inline-block; margin: 18px 8px 0 0; font-size: .84rem; color: #cdd6ea; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: 6px 13px; border-radius: 999px; }

.legal { max-width: 820px; margin-inline: auto; }
.legal h2 { font-size: 1.26rem; margin: 38px 0 12px; scroll-margin-top: 90px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; }
.legal li { color: var(--ink-soft); }
.legal a { color: var(--brand); text-decoration: underline; }
.legal-meta { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 18px 0 10px; background: var(--surface); }
.legal-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .94rem; }
.legal-meta div:last-child { border-bottom: 0; }
.legal-meta span { color: var(--muted); flex-shrink: 0; }
.legal-meta strong { color: var(--ink); text-align: right; font-weight: 700; }
.legal-note { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 12px; padding: 16px 18px; margin: 18px 0; font-size: .95rem; color: var(--muted); }

.consent a { color: var(--brand); text-decoration: underline; }
.footer-legal a { color: #b9c4dc; text-decoration: underline; }
.footer-legal a:hover { color: #fff; }
.footer-requisites { margin-top: 14px; font-size: .82rem; line-height: 1.5; color: #7c88a0; }

/* ---------- Kicker as section heading ---------- */
h2.kicker { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.02em; text-transform: none; color: var(--ink); line-height: 1.15; margin: 0 0 16px; }
.section-head-light h2.kicker,
.section-contact h2.kicker,
.contact-copy h2.kicker { color: #fff; }
