/* ============================================================
   HRUplift — public site stylesheet
   Design language:
     ink violet + jade accent on a soft lilac paper
     display: Bricolage Grotesque · body: Inter · data: IBM Plex Mono
     signature: "the uplift rule" — a rising line that marks every section
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink:        #1B1442;
  --ink-2:      #3B3468;
  --ink-3:      #6B648F;
  --brand:      #5330C9;
  --brand-deep: #2E1A73;
  --brand-soft: #EFEBFC;
  --accent:     #0FA47F;
  --accent-soft:#E4F5EF;
  --gold:       #E5A93C;
  --paper:      #FFFFFF;
  --mist:       #F5F3FB;
  --line:       #E4DFF4;
  --line-2:     #D3CCEC;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1180px;
  --gap: 24px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(27, 20, 66, .06);
  --shadow:    0 8px 28px -14px rgba(27, 20, 66, .28);
  --shadow-lg: 0 30px 70px -34px rgba(27, 20, 66, .45);

  --t: 260ms cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--ink); margin: 0 0 .5em; line-height: 1.12; font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.13rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

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

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

/* ---------- Layout ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 108px) 0; }
.section--tight { padding: clamp(48px, 5vw, 68px) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #C9C3E8; }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.lead { font-size: 1.16rem; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.mx-narrow { max-width: 720px; }
.center .mx-narrow, .mx-auto { margin-inline: auto; }

/* ---------- The uplift rule: eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 10px; flex: none;
  background:
    linear-gradient(var(--brand), var(--brand)) 0 100% / 5px 3px no-repeat,
    linear-gradient(var(--brand), var(--brand)) 7px 100% / 5px 6px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 14px 100% / 5px 10px no-repeat;
}
.section--ink .eyebrow { color: #A99AF0; }
.section--ink .eyebrow::before {
  background:
    linear-gradient(#A99AF0, #A99AF0) 0 100% / 5px 3px no-repeat,
    linear-gradient(#A99AF0, #A99AF0) 7px 100% / 5px 6px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 14px 100% / 5px 10px no-repeat;
}

.section-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-size: .97rem; font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer; text-align: center;
  transition: transform var(--t), background var(--t), box-shadow var(--t), border-color var(--t), color var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }

.btn-accent { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-accent:hover { background: #0B8A6A; color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--paper); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--brand-deep); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }

.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

.btn .arrow { transition: transform var(--t); }
.btn:hover .arrow { transform: translate(3px, -3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 243, 251, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.site-header.is-stuck { border-bottom-color: var(--line); background: rgba(255,255,255,.94); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__logo { width: auto; height: 34px; flex: none; }
.brand__text {
  font-family: var(--font-display); font-weight: 700; font-size: 1.32rem;
  letter-spacing: -.035em; color: var(--ink); line-height: 1;
}
.brand__text em { font-style: normal; color: var(--brand); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 14px; border-radius: 8px;
  font-size: .95rem; font-weight: 500; color: var(--ink-2);
  transition: color var(--t), background var(--t);
}
.nav a:hover { color: var(--ink); background: var(--brand-soft); }
.nav a.is-active { color: var(--brand-deep); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.header-cta { display: inline-flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-2);
  width: 44px; height: 44px; border-radius: 11px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: var(--t); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--t);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
}
.hero__grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero__text { font-size: 1.18rem; max-width: 30em; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { margin-top: 16px; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-3); letter-spacing: .02em; }

/* Signature: rising dot field behind the hero */
.hero__field {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, var(--line-2) 1.4px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(115deg, transparent 30%, #000 100%);
          mask-image: linear-gradient(115deg, transparent 30%, #000 100%);
  opacity: .9;
}

.hero__visual { position: relative; }
.hero__photo {
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--brand-soft), #fff 60%);
  border: 1px solid var(--line);
  overflow: hidden;
  aspect-ratio: 4 / 4.4;
  display: flex; align-items: flex-end; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.hero__badge {
  position: absolute; left: -18px; bottom: 28px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  max-width: 250px;
}
.hero__badge strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); line-height: 1; }
.hero__badge span { font-size: .8rem; line-height: 1.35; color: var(--ink-3); }

/* ---------- Stats bar ---------- */
.stats {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative; overflow: hidden;
}
.stats::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, #7C5BE0 45%, var(--accent) 100%);
}
.stat__value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.9rem); color: #fff; line-height: 1; letter-spacing: -.04em;
}
.stat__value sup { font-size: .45em; font-weight: 600; color: var(--accent); margin-left: 3px; top: -.7em; }
.stat__label { margin-top: 10px; font-size: .9rem; color: #A79FCE; line-height: 1.45; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 34px);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card:hover::before { transform: scaleY(1); }
.card h3 { margin-bottom: .45em; }
.card p { font-size: .97rem; }

.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card__icon svg { width: 25px; height: 25px; }
.card__link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 18px; font-size: .93rem; font-weight: 600; color: var(--brand);
}
.card__link svg { width: 15px; height: 15px; transition: transform var(--t); }
.card:hover .card__link svg { transform: translate(3px, -3px); }

.card--flat { border-radius: var(--radius); }
.card--flat::before { display: none; }
.card--flat:hover { transform: none; }

/* Service list on the services page */
.service-block {
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: clamp(28px, 4vw, 56px); align-items: start;
  padding: clamp(32px, 4vw, 52px) 0;
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: 0; }
.service-block__aside { position: sticky; top: 104px; }
.tag {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  background: var(--accent-soft); color: #0B7A5E;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
}
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative; padding-left: 30px; margin-bottom: 12px; font-size: .98rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230FA47F' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}

/* ---------- Problem / signal list ---------- */
.signal {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  font-size: .98rem;
}
.signal svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 2px; }

/* ---------- Process steps (a real sequence, so it is numbered) ---------- */
.steps { counter-reset: step; display: grid; gap: 4px; }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.step:first-child { border-top: 0; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-size: .95rem; font-weight: 500;
  color: var(--brand); letter-spacing: .06em; padding-top: 4px;
}
.step h4 { margin-bottom: .3em; }
.step p { font-size: .97rem; color: var(--ink-3); }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 2.6vw, 32px);
  display: flex; flex-direction: column; height: 100%;
  transition: transform var(--t), box-shadow var(--t);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote__stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--gold); }
.quote__stars svg { width: 17px; height: 17px; }
.quote__text { font-size: 1.02rem; color: var(--ink-2); margin-bottom: 22px; flex: 1; }
.quote__who { display: flex; align-items: center; gap: 13px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  object-fit: cover;
}
.quote__name { font-weight: 600; color: var(--ink); font-size: .97rem; line-height: 1.3; }
.quote__role { font-size: .84rem; color: var(--ink-3); }

/* ---------- Logo marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.logo-item {
  height: 46px; display: grid; place-items: center; padding: 0 6px;
  filter: grayscale(1); opacity: .55; transition: var(--t);
  font-family: var(--font-display); font-weight: 600; color: var(--ink-3); white-space: nowrap;
}
.logo-item:hover { filter: none; opacity: 1; }
.logo-item img { max-height: 46px; width: auto; }

/* ---------- Case study cards ---------- */
.case {
  display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 3vw, 40px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px); align-items: center;
  transition: transform var(--t), box-shadow var(--t);
}
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.case__metric { text-align: left; }
.case__metric strong {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem); color: var(--brand); line-height: 1; letter-spacing: -.045em;
}
.case__metric span { display: block; margin-top: 8px; font-size: .86rem; color: var(--ink-3); line-height: 1.4; }
.case__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pill {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--mist); border: 1px solid var(--line);
  font-size: .76rem; color: var(--ink-3); letter-spacing: .01em;
}

/* ---------- Blog cards ---------- */
.post-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: transform var(--t), box-shadow var(--t);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft)); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.18rem; margin-bottom: .5em; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand); }
.post-card__meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.post-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }

.prose { max-width: 74ch; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.22rem; margin-top: 1.5em; }
.prose p, .prose li { font-size: 1.05rem; }
.prose strong { color: var(--ink); }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 24px 0; font-family: var(--font-display); font-weight: 600;
  font-size: 1.1rem; color: var(--ink); letter-spacing: -.015em;
}
.faq-q:hover { color: var(--brand); }
.faq-q .sign { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); position: relative; transition: var(--t); margin-top: 2px; }
.faq-q .sign::before, .faq-q .sign::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--brand); border-radius: 2px;
  transform: translate(-50%, -50%); transition: var(--t);
}
.faq-q .sign::before { width: 11px; height: 2px; }
.faq-q .sign::after { width: 2px; height: 11px; }
.faq-item.is-open .sign::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 26px; max-width: 68ch; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .87rem; font-weight: 600; color: var(--ink); }
.field label .req { color: #C2410C; }
.field input, .field select, .field textarea {
  padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 11px;
  background: var(--paper); font-size: .97rem; color: var(--ink);
  transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.field .hint { font-size: .8rem; color: var(--ink-3); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C2410C; }
.field .error { font-size: .82rem; color: #C2410C; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.alert { padding: 15px 18px; border-radius: 12px; font-size: .95rem; margin-bottom: 22px; border: 1px solid; }
.alert-success { background: var(--accent-soft); border-color: #A8DECC; color: #0A6B52; }
.alert-error { background: #FDF0EA; border-color: #F3C7B2; color: #9A3412; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-item { display: flex; gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 4px; }
.contact-item h4 { margin-bottom: .2em; font-size: 1rem; }
.contact-item a { color: var(--ink-2); }
.contact-item a:hover { color: var(--brand); }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(125deg, var(--brand-deep) 0%, var(--brand) 55%, #7145E0 100%);
  border-radius: var(--radius-lg); color: #fff;
  padding: clamp(38px, 5vw, 64px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(255,255,255,.07);
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }

/* ---------- Page hero ---------- */
.page-hero {
  padding: clamp(44px, 5.5vw, 78px) 0 clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 260px at 12% 0%, var(--brand-soft), transparent 70%),
    var(--mist);
}
.page-hero h1 { max-width: 17ch; }
.page-hero .lead { max-width: 58ch; }
.breadcrumb { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #A79FCE; padding: clamp(52px, 6vw, 76px) 0 30px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer a { color: #A79FCE; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-brand .brand__text { color: #fff; }
.footer-brand .brand__text em { color: #A99AF0; }
.footer-about { font-size: .92rem; margin-top: 18px; max-width: 34ch; line-height: 1.6; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); transition: var(--t);
}
.socials a:hover { background: var(--brand); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  font-size: .86rem;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform var(--t);
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; }
  .hero__badge { left: auto; right: 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .service-block__aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-ghost { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 14px 20px 22px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 12px; font-size: 1rem; }
  .nav a.is-active::after { left: 12px; right: auto; width: 22px; bottom: 8px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .cta-band { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 12px; }
  .hero__badge { position: static; margin-top: 16px; max-width: none; }
  .btn { width: 100%; }
  .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
  .marquee__track { gap: 36px; }
}

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

@media print {
  .site-header, .site-footer, .wa-float, .cta-band { display: none; }
  body { background: #fff; }
}
