/* ========================================================================
   HUMANUS · Consultora de RRHH
   Sistema de diseño base — humanus.css
   Aplicado al manual de identidad oficial (paleta multicolor, multiply,
   formas redondeadas, tipografía Plus Jakarta Sans + Fraunces como acento).
   ======================================================================== */

/* ── 1. Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Paleta HUMANUS (manual de identidad) */
  --h-green-d: #225D38;
  --h-green:   #45A041;
  --h-yellow:  #F5A800;
  --h-orange:  #E0592A;
  --h-magenta: #C31C4A;
  --h-violet:  #9E28B5;
  --h-blue:    #1226AA;

  /* Neutrales — sistema cálido off-white */
  --bg:        #FAF6EF;
  --bg-2:      #F4EFE6;
  --bg-3:      #EDE7D7;
  --surface:   #FFFFFF;
  --ink:       #16140F;
  --ink-2:     #46443D;
  --ink-3:     #8A8579;
  --line:      #E6DFCF;
  --line-2:    #D6CDB6;

  /* Radios */
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;

  /* Sombras */
  --sh-1: 0 1px 2px rgba(20,18,12,.04), 0 6px 18px -8px rgba(20,18,12,.06);
  --sh-2: 0 4px 12px -4px rgba(20,18,12,.08), 0 30px 60px -30px rgba(20,18,12,.20);

  /* Layout */
  --container: 1180px;
  --container-narrow: 880px;
  --nav-h: 72px;
}

/* ── 2. Reset / base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ── 3. Tipografía ──────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
h1 { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -0.035em; line-height: 1.02; font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 17px; line-height: 1.3; }
p  { margin: 0; }

.serif    { font-family: 'Fraunces', Georgia, serif; font-weight: 500; letter-spacing: -0.01em; }
.serif-it { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
.mono     { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 999px;
}
.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
}
.lede strong { color: var(--ink); font-weight: 600; }

/* ── 4. Logo HUMANUS (tipográfico, multicolor) ─────────────────────── */
.h-logo {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  font-size: 26px;
}
.h-logo .l1 { color: var(--h-green-d); }
.h-logo .l2 { color: var(--h-green); }
.h-logo .l3 { color: var(--h-yellow); }
.h-logo .l4 { color: var(--h-orange); }
.h-logo .l5 { color: var(--h-magenta); }
.h-logo .l6 { color: var(--h-violet); }
.h-logo .l7 { color: var(--h-blue); }

.h-mark {
  display: inline-block;
  width: 1em;
  height: 1em;
  position: relative;
}

/* ── 5. Layout ──────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: 96px 0; }
section.sm { padding: 64px 0; }
section.tight { padding: 48px 0; }
.bg-alt { background: var(--bg-2); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink .eyebrow { color: rgba(255,255,255,.6); }
.bg-ink .eyebrow::before { background: rgba(255,255,255,.8); }
.bg-ink .lede { color: rgba(255,255,255,.78); }
.bg-ink .lede strong { color: #fff; }

/* ── 6. Header / nav ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 246, 239, 0.95);
}
.site-header .inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--ink); font-weight: 600; }
.site-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}
.header-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.menu-toggle:hover { background: var(--ink); color: #fff; }
.menu-toggle svg { width: 22px; height: 22px; display: block; }

/* ── 7. Botones ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .arr { transition: transform .2s ease; display: inline-block; }
.btn:hover .arr { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-brand { background: var(--h-magenta); color: #fff; border-color: var(--h-magenta); }
.btn-brand:hover { background: #A41840; border-color: #A41840; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ── 8. Chips / etiquetas ───────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  height: 24px;
  background: var(--bg-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.chip.dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}
.chip-green   { background: rgba(69,160,65,.10);  color: var(--h-green-d); border-color: rgba(69,160,65,.25); }
.chip-yellow  { background: rgba(245,168,0,.14);  color: #8a5e00; border-color: rgba(245,168,0,.30); }
.chip-orange  { background: rgba(224,89,42,.10);  color: var(--h-orange); border-color: rgba(224,89,42,.25); }
.chip-magenta { background: rgba(195,28,74,.08);  color: var(--h-magenta); border-color: rgba(195,28,74,.25); }
.chip-violet  { background: rgba(158,40,181,.08); color: var(--h-violet); border-color: rgba(158,40,181,.22); }
.chip-blue    { background: rgba(18,38,170,.07);  color: var(--h-blue); border-color: rgba(18,38,170,.20); }

/* ── 9. Tramas decorativas (formas redondeadas, multiply) ──────────── */
.trama { position: absolute; pointer-events: none; mix-blend-mode: multiply; }
.trama svg { width: 100%; height: 100%; display: block; }

.shape {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: multiply;
  border-radius: 999px;
}
.shape.curve-tl { border-radius: 0 0 0 999px; }
.shape.curve-br { border-radius: 999px 0 0 0; }
.shape.curve-bl { border-radius: 0 999px 0 0; }
.shape.curve-tr { border-radius: 0 0 999px 0; }
.shape.curve-half-r { border-radius: 999px 0 0 999px; }
.shape.curve-half-l { border-radius: 0 999px 999px 0; }

/* ── 10. Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 96px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 { max-width: 16ch; }
.hero h1 .ital { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; }
.hero .sub {
  margin-top: 24px;
  font-size: clamp(16px, 1.55vw, 20px);
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.5;
}
.hero .ctas {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero .proof-row {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  align-items: center;
}
.hero .proof-row .item .v {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero .proof-row .item .l {
  font-size: 13px;
  color: var(--ink-3);
}

/* Hero decorative shapes */
.hero .shape.d1 { top: -120px; right: -80px; width: 360px; height: 360px; background: var(--h-orange); opacity: 0.78; }
.hero .shape.d2 { top: 80px; right: 200px; width: 180px; height: 180px; background: var(--h-yellow); opacity: 0.85; border-radius: 999px 999px 999px 0; }
.hero .shape.d3 { bottom: -60px; left: -50px; width: 220px; height: 220px; background: var(--h-green); opacity: 0.50; border-radius: 0 999px 999px 999px; }
.hero .shape.d4 { bottom: 80px; left: 220px; width: 80px; height: 80px; background: var(--h-violet); opacity: 0.55; }
.hero .shape.d5 { top: 220px; right: 320px; width: 50px; height: 50px; background: var(--h-magenta); opacity: 0.65; }

/* ── 11. Cards (servicios) ──────────────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.svc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--sh-1); }
.svc-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #fff;
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.svc-card .icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 22px;
  background: currentColor;
  opacity: 0.18;
  z-index: -1;
  mix-blend-mode: multiply;
}
.svc-card h3 { margin-bottom: 10px; letter-spacing: -0.02em; }
.svc-card .what {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 44ch;
}
.svc-card .for {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.svc-card .more {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.svc-card .more::after { content: "→"; transition: transform .2s ease; }
.svc-card:hover .more::after { transform: translateX(4px); }

.svc-card.s1 .icon { background: var(--h-green); }
.svc-card.s2 .icon { background: var(--h-blue); }
.svc-card.s3 .icon { background: var(--h-magenta); }
.svc-card.s4 .icon { background: var(--h-violet); }

/* ── 12. Caso destacado ─────────────────────────────────────────────── */
.case {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.case .pre {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--h-yellow);
  margin-bottom: 18px;
}
.case h2 {
  color: #fff;
  max-width: 18ch;
  margin-bottom: 24px;
}
.case h2 .ital { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; color: rgba(255,255,255,.78); }
.case p {
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.6;
  max-width: 56ch;
}
.case .stats-row {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.case .stat .v {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin-bottom: 8px;
}
.case .stat.s1 .v { color: var(--h-green); }
.case .stat.s2 .v { color: var(--h-yellow); }
.case .stat.s3 .v { color: var(--h-orange); }
.case .stat .l {
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
  max-width: 28ch;
}
.case .shape.c1 { top: -80px; right: -60px; width: 280px; height: 280px; background: var(--h-violet); opacity: 0.35; mix-blend-mode: screen; }
.case .shape.c2 { bottom: -100px; right: 200px; width: 180px; height: 180px; background: var(--h-blue); opacity: 0.35; mix-blend-mode: screen; }

/* ── 13. Bifurcación ────────────────────────────────────────────────── */
.bifurcation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.bif-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  position: relative;
}
.bif-card .label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bif-card.empresa { border-left: 4px solid var(--h-magenta); }
.bif-card.empresa .label { color: var(--h-magenta); }
.bif-card.candidato { border-left: 4px solid var(--h-green); }
.bif-card.candidato .label { color: var(--h-green-d); }
.bif-card h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}
.bif-card p {
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 24px;
  max-width: 38ch;
}
.bif-card .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── 14. Sobre preview ──────────────────────────────────────────────── */
.about-preview {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-preview .photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #E0CFA8, #C9B485);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-2);
}
.about-preview .photo .placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(0,0,0,.45);
  text-align: center;
  padding: 24px;
  line-height: 1.5;
}
.about-preview .photo .shape {
  position: absolute;
  border-radius: 999px;
  mix-blend-mode: multiply;
}
.about-preview .photo .shape.s1 { top: -40px; right: -30px; width: 140px; height: 140px; background: var(--h-orange); opacity: 0.7; border-radius: 0 0 0 999px; }
.about-preview .photo .shape.s2 { bottom: 24px; left: -28px; width: 80px; height: 80px; background: var(--h-green); opacity: 0.65; }
.about-preview img.photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  z-index: 0;
}
.about-preview .photo .shape { z-index: 1; }
.about-preview .role {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.about-preview .pname {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.about-preview .quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  line-height: 1.32;
  margin: 24px 0 24px;
  padding-left: 18px;
  border-left: 3px solid var(--h-yellow);
}
.about-preview p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 46ch;
}
.about-preview .cta-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
}
.about-preview .cta-link::after { content: "→"; transition: transform .2s ease; }
.about-preview .cta-link:hover::after { transform: translateX(4px); }

/* ── 14b. Placeholder de foto (hasta tener la definitiva) ───────────── */
.photo-placeholder,
.photo-wrap-placeholder {
  background: linear-gradient(150deg, var(--bg-2) 0%, #EDE7DB 100%) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 24px;
}
.ph-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.ph-initials {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 88px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 14px;
}
.ph-name {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  color: var(--ink-2);
}

/* ── 15. Insights preview ───────────────────────────────────────────── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.insight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.insight-card:hover { transform: translateY(-3px); box-shadow: var(--sh-1); }
.insight-card .topic {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 22px;
}
.insight-card.t-seleccion .topic { color: var(--h-green-d); }
.insight-card.t-reingenieria .topic { color: var(--h-blue); }
.insight-card.t-liderazgo .topic { color: var(--h-magenta); }
.insight-card.t-agro .topic { color: var(--h-orange); }
.insight-card h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.022em;
  margin-bottom: 16px;
  flex: 1;
}
.insight-card .meta {
  font-size: 11.5px;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ── 16. Formulario / contacto ──────────────────────────────────────── */
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.form-wrap.dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid.full { grid-template-columns: 1fr; }
.field { margin-bottom: 14px; }
.field-full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.form-wrap.dark .field label { color: rgba(255,255,255,.75); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(22,20,15,.08);
}
.form-wrap.dark .field input, .form-wrap.dark .field select, .form-wrap.dark .field textarea {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.15);
}
.form-wrap.dark .field input:focus, .form-wrap.dark .field select:focus, .form-wrap.dark .field textarea:focus {
  border-color: rgba(255,255,255,.5);
  box-shadow: 0 0 0 3px rgba(255,255,255,.1);
}
.form-msg {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  display: none;
}
.form-msg.success { display: block; background: rgba(69,160,65,.12); color: var(--h-green-d); border: 1px solid rgba(69,160,65,.3); }
.form-msg.error   { display: block; background: rgba(195,28,74,.10); color: var(--h-magenta); border: 1px solid rgba(195,28,74,.3); }
.form-note {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 12px;
  line-height: 1.5;
}
.form-wrap.dark .form-note { color: rgba(255,255,255,.55); }

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
}
.contact-split .left {
  background: var(--ink);
  color: #fff;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.contact-split .right { background: var(--surface); padding: 56px 48px; }
.contact-split .left h2 { color: #fff; margin-bottom: 16px; max-width: 14ch; }
.contact-split .left h2 .ital { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; color: rgba(255,255,255,.78); }
.contact-split .left p { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 26px; max-width: 36ch; line-height: 1.55; }
.contact-split .left ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-split .left ul li { font-size: 14px; color: rgba(255,255,255,.85); display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact-split .left ul li:first-child { border-top: 0; padding-top: 0; }
.contact-split .left ul li .k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,.5); flex: 0 0 80px; padding-top: 2px; }
.contact-split .left ul li a:hover { text-decoration: underline; }
.contact-split .left .shape.x1 { position: absolute; bottom: -40px; right: -40px; width: 200px; height: 200px; background: var(--h-magenta); opacity: 0.32; mix-blend-mode: screen; border-radius: 999px 0 999px 999px; }
.contact-split .left .shape.x2 { position: absolute; top: 120px; right: 80px; width: 60px; height: 60px; background: var(--h-yellow); opacity: 0.45; mix-blend-mode: screen; border-radius: 999px; }

/* ── 17. Section heads ──────────────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.section-head .copy { max-width: 60ch; }
.section-head h2 { margin-top: 14px; }
.section-head h2 .ital { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; }
.section-head .actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── 18. Footer ─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.site-footer .brand-col .h-logo { font-size: 32px; margin-bottom: 14px; }
.site-footer .brand-col p { font-size: 14px; color: var(--ink-2); max-width: 38ch; line-height: 1.55; }
.site-footer h5 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.site-footer .links { display: flex; flex-direction: column; gap: 10px; }
.site-footer .links a { font-size: 14px; color: var(--ink-2); transition: color .15s ease; }
.site-footer .links a:hover { color: var(--ink); }
.site-footer .bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
}
.site-footer .bottom .social { display: flex; gap: 14px; }
.site-footer .bottom .social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); transition: background .15s ease, color .15s ease; }
.site-footer .bottom .social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.site-footer .bottom .social svg { width: 16px; height: 16px; }

/* ── 19. Utilities ──────────────────────────────────────────────────── */
.muted { color: var(--ink-3); }
.divider { height: 1px; background: var(--line); border: 0; margin: 56px 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.wrap { flex-wrap: wrap; }

/* ── 20. Responsivo ─────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .svc-grid { grid-template-columns: 1fr; }
  .bifurcation { grid-template-columns: 1fr; }
  .about-preview { grid-template-columns: 1fr; gap: 32px; }
  .about-preview .photo { aspect-ratio: 1/1; max-width: 480px; }
  .insights-grid { grid-template-columns: 1fr; }
  .case { padding: 40px 28px; }
  .case .stats-row { grid-template-columns: 1fr; gap: 24px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-split .left, .contact-split .right { padding: 40px 32px; }
}

@media (max-width: 720px) {
  .container, .container-narrow { padding: 0 22px; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 72px; }
  .site-nav { display: none; }
  .header-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.menu-open .site-nav { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg); padding: 24px; flex-direction: column; gap: 18px; border-bottom: 1px solid var(--line); align-items: flex-start; }
  .form-wrap { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .hero .proof-row { gap: 28px; }
  .case h2 { font-size: 28px; }
  .case .stat .v { font-size: 44px; }
}

/* ── 21. Print ──────────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .form-wrap, .menu-toggle { display: none !important; }
  body { background: #fff; }
  section { padding: 24px 0; page-break-inside: avoid; }
}
