@font-face {font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/CormorantGaramond-500i-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/CormorantGaramond-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/Inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/Inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* Sinergística — hoja de estilos
   Sistema: fondo claro, tinta #1a1a1a, Cormorant Garamond en titulares, Inter en texto. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f4f1;
  --bg-dark: #0c0c0c;
  --ink: #1a1a1a;
  --ink-soft: #333333;
  --ink-mute: #5f5f5f;
  --line: #e8e6e1;
  --silver-2: #8a8a8d;

  --c-nature:  #8fbf3a;
  --c-pharma:  #2eb6e2;
  --c-baby:    #a233a8;
  --c-tech:    #2a9550;
  --c-educall: #1a3da0;
  --c-ai:      #e89216;
  --c-ops:     #c62828;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 22px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  line-height: 1.1;
  color: var(--ink);
  text-wrap: balance;
}
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--c-pharma); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
strong { color: var(--ink); font-weight: 600; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.br-desk { display: none; }
@media (min-width: 700px) { .br-desk { display: inline; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 20px; }
.logo-link { display: inline-flex; align-items: center; }
.nav-logo { height: 34px; width: auto; }
.menu { display: flex; gap: 28px; align-items: center; font-size: 14px; color: var(--ink-mute); }
.menu a { padding: 6px 0; position: relative; }
.menu a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.menu a:not(.nav-cta):hover::after { transform: scaleX(1); }
.menu a:hover { color: var(--ink); }
.nav-cta {
  font-size: 13px; padding: 9px 16px !important; border: 1px solid var(--ink); color: var(--ink);
  border-radius: 999px; transition: all .2s ease; margin-left: 8px;
}
.nav-cta:hover { background: var(--ink); color: white; }
.burger {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; gap: 5px;
}
.burger span { display: block; height: 2px; width: 24px; background: var(--ink); transition: transform .25s, opacity .25s; margin: 0 auto; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(64px, 9vw, 120px) 0 40px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 30%, rgba(46,182,226,.10), transparent 70%),
              radial-gradient(40% 40% at 20% 60%, rgba(162,51,168,.07), transparent 70%),
              radial-gradient(40% 40% at 80% 60%, rgba(232,146,22,.08), transparent 70%);
}
.eyebrow, .section-eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em; font-size: 11px;
  color: var(--ink-mute); margin: 0 0 22px;
}
.section-eyebrow.center { text-align: center; margin-bottom: 32px; }
.section-eyebrow.light { color: #8a8a8d; }
.hero h1 { font-size: clamp(44px, 7vw, 92px); margin-bottom: 22px; }
.hero h1 em { font-style: italic; color: var(--silver-2); }
.hero .lede { font-size: clamp(17px, 1.3vw, 19px); max-width: 660px; margin: 0 auto 36px; color: var(--ink-soft); text-wrap: pretty; }
.hero-actions, .contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; min-height: 48px;
  font-size: 14px; font-weight: 600; transition: all .25s var(--ease);
}
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: var(--bg); }
.btn-ghost:hover { border-color: var(--ink); }

.verticals {
  list-style: none; padding: 0; margin: clamp(48px, 7vw, 80px) auto 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; max-width: 1080px;
}
.verticals li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); text-align: center; min-width: 0; }
.verticals img { width: min(100%, 130px); border-radius: 50%; transition: transform .35s var(--ease); }
.verticals li:hover img { transform: translateY(-4px) scale(1.04); }

/* ---------- Proof ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 13.5px; color: var(--ink-mute); line-height: 1.4; display: block; }

/* ---------- Manifiesto ---------- */
.manifesto { padding: clamp(72px, 9vw, 110px) 0; }
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.manifesto h2, .portfolio h2, .services h2, .synergies h2 { font-size: clamp(34px, 4vw, 54px); }
.manifesto p.big { font-family: var(--serif); font-size: clamp(21px, 1.7vw, 27px); color: var(--ink); line-height: 1.4; }
.principles { margin: 28px 0 0; padding: 0; list-style: none; }
.principles li { border-top: 1px solid var(--line); padding: 18px 0; display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles .num { font-family: var(--serif); font-style: italic; color: var(--silver-2); font-size: 18px; }
.principles .title { font-family: var(--sans); font-weight: 600; font-size: 15.5px; color: var(--ink); margin: 0 0 4px; }
.principles .desc { font-size: 14.5px; color: var(--ink-mute); margin: 0; }

/* ---------- Portafolio ---------- */
.portfolio { padding: clamp(72px, 9vw, 110px) 0; background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 48px; gap: 40px; }
.head h2 { max-width: 620px; margin-bottom: 0; }
.head > p { max-width: 400px; color: var(--ink-mute); margin: 0; font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 28px; background: var(--bg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column; min-height: 380px;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.07); border-color: var(--ink); }
.card-top { display: flex; justify-content: space-between; align-items: start; margin-bottom: 20px; }
.card .vmark {
  width: 84px; height: 84px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #fafaf8, #ececea 70%, #d8d6d2);
  box-shadow: 0 6px 14px -6px rgba(0,0,0,0.18);
}
.card .vmark img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pill { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-mute); background: var(--bg-soft); white-space: nowrap; }
.pill.live { border-color: #bfe3c9; color: #1d6b37; background: #eef8f1; }
.pill.demo { border-color: #f3d9a3; color: #8a5a00; background: #fff7e6; }
.pill.offer { border-color: #bcd3f7; color: #1a3da0; background: #eef3fd; }
.pill.soon { border-style: dashed; }
.card h3 { font-size: 30px; margin-bottom: 8px; }
.card .tag { display: inline-block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.card p { font-size: 14.5px; color: var(--ink-soft); flex: 1; text-wrap: pretty; }
.card .arrow { margin-top: 16px; font-size: 13.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.card .arrow.muted { color: var(--ink-mute); font-weight: 400; }
.card.educall .accent { color: var(--c-educall); }
.card.baby    .accent { color: var(--c-baby); }
.card.nacer   .accent { color: var(--c-tech); }
.card.medula  .accent { color: var(--c-ai); }
.card.rezago  .accent { color: var(--c-ops); }
.card.termo   .accent { color: #1489ad; }
.foot-note { margin: 28px 0 0; font-size: 14px; color: var(--ink-mute); }

/* ---------- Servicios ---------- */
.services { padding: clamp(72px, 9vw, 110px) 0; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.svc { padding: 32px 26px 32px 0; border-right: 1px solid var(--line); margin-right: 26px; }
.svc:last-child { border-right: 0; margin-right: 0; }
.svc-num { font-family: var(--serif); font-style: italic; color: var(--silver-2); font-size: 20px; display: block; margin-bottom: 18px; }
.svc h3 { font-size: 26px; margin-bottom: 10px; }
.svc p { font-size: 14.5px; color: var(--ink-mute); margin: 0; }

/* ---------- Sinergias ---------- */
.synergies { padding: clamp(72px, 9vw, 110px) 0; background: var(--bg-dark); color: #f3f3f0; }
.synergies h2 { color: white; margin-bottom: 24px; }
.synergies .lead { color: #c8c6c1; max-width: 680px; font-size: 18px; margin-bottom: 56px; }
.synergies .lead em { color: #fff; }
.syn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.syn { border: 1px solid #2a2a2a; padding: 30px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%); transition: border-color .3s; }
.syn:hover { border-color: #4a4a4a; }
.syn .pair { display: flex; gap: 4px; margin-bottom: 18px; align-items: center; font-family: var(--serif); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: #9a9a9d; }
.syn h3 { color: white; font-size: 24px; margin-bottom: 10px; }
.syn p { color: #b6b4af; font-size: 14.5px; margin: 0; }
.syn .dots { display: inline-flex; gap: 6px; margin-right: 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }

/* ---------- Equipo ---------- */
.team { padding: clamp(72px, 9vw, 110px) 0; }
.founder-card { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; border: 1px solid var(--line); border-radius: 24px; padding: 48px; background: var(--bg); }
.avatar {
  width: 200px; height: 200px; border-radius: 50%;
  background: linear-gradient(135deg, #2c2c2c, #6e6e72 60%, #2c2c2c);
  display: grid; place-items: center; color: white; font-family: var(--serif); font-size: 64px; font-weight: 500;
}
.founder-card h3 { font-size: 36px; margin-bottom: 6px; }
.role { color: var(--ink-mute); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.founder-card p { font-size: 16px; }
.founder-card .small { color: var(--ink-mute); font-size: 14px; margin: 0; }
.founder-card .small a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contacto ---------- */
.contact { padding: clamp(80px, 10vw, 120px) 0 90px; background: var(--bg-soft); border-top: 1px solid var(--line); text-align: center; }
.contact h2 { font-size: clamp(40px, 5vw, 66px); }
.contact .lead { max-width: 540px; margin: 0 auto 36px; color: var(--ink-mute); }

/* WhatsApp */
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.contact-note { margin: 22px 0 0; font-size: 14px; color: var(--ink-mute); }
.contact-note a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }

/* ---------- Footer ---------- */
footer { padding: 44px 0 40px; border-top: 1px solid var(--line); color: var(--ink-mute); font-size: 13.5px; }
.foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; align-items: center; }
.foot-small { margin-top: 6px; font-size: 12.5px; }
.foot-small a:hover, .foot-links a:hover { color: var(--ink); }
.foot-links { display: flex; gap: 22px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .verticals img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(2) { border-right: 0; margin-right: 0; }
  .svc:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 880px) {
  .burger { display: flex; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 4%;
  }
  .menu.open { display: flex; }
  .menu a { padding: 14px 0; font-size: 16px; border-top: 1px solid var(--line); color: var(--ink); }
  .menu a:first-child { border-top: 0; }
  .menu a::after { display: none; }
  .nav-cta { margin: 10px 0 8px; text-align: center; justify-content: center; display: inline-flex; border-top: 1px solid var(--ink) !important; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .head { flex-direction: column; align-items: start; gap: 16px; margin-bottom: 32px; }
  .verticals { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .verticals li { font-size: 10px; letter-spacing: .08em; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .syn-grid { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; padding: 32px; text-align: center; gap: 24px; }
  .avatar { margin: 0 auto; width: 160px; height: 160px; font-size: 52px; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .card { min-height: 0; padding: 26px 22px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc { border-right: 0; margin-right: 0; padding-right: 0; }
  .svc:nth-child(n+2) { border-top: 1px solid var(--line); }
  .stat strong { font-size: 32px; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}

/* ===== Portafolio por tema: selector + banner giratorio ===== */
.banner-sel { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 26px; }
.banner-sel .bchip { display: inline-flex; align-items: center; gap: 9px; background: none; border: 1px solid transparent; border-radius: 999px; padding: 7px 15px 7px 7px; cursor: pointer; font: inherit; font-size: 13px; letter-spacing: .03em; color: var(--ink-mute); transition: background .2s, border-color .2s, color .2s; }
.banner-sel .bchip img { width: 30px; height: 30px; border-radius: 50%; }
.banner-sel .bchip:hover { color: var(--ink); background: var(--bg-soft); }
.banner-sel .bchip.on { color: var(--ink); border-color: var(--line); background: var(--bg); font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,.05); }

.banner { position: relative; }
.bn-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 42px; min-height: 420px; animation: bnfade .5s var(--ease); }
@keyframes bnfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bn-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.bn-logo { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.bn-pill { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-mute); background: var(--bg-soft); }
.bn-pill.live { border-color: #bfe3c9; color: #1d6b37; background: #eef8f1; }
.bn-tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 10px; }
.bn-name { font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 14px; }
.bn-insight { font-size: 16px; color: var(--ink-soft); max-width: 48ch; line-height: 1.55; }
.bn-cta { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--accent, var(--ink)); }
.bn-media { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(0,0,0,.09); aspect-ratio: 16 / 10; background: var(--bg-soft); }
.bn-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.bn-items { display: flex; flex-direction: column; gap: 12px; }
.bn-item { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; text-decoration: none; border: 1px solid var(--line); border-radius: 12px; padding: 15px 18px; background: var(--bg-soft); transition: border-color .2s, transform .2s, box-shadow .2s; }
.bn-item:hover { border-color: var(--accent, var(--ink)); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.06); }
.bn-stat { grid-row: 1 / 3; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1; color: var(--accent, var(--ink)); white-space: nowrap; }
.bn-iname { font-weight: 600; color: var(--ink); font-size: 15px; }
.bn-inote { font-size: 13px; color: var(--ink-mute); }
.bn-soon { font-size: 13px; color: var(--ink-mute); padding: 6px 2px 0; }
.bn-empty { text-align: center; grid-template-columns: 1fr; }
.bn-empty .bn-logo { margin: 0 auto 10px; }

@media (max-width: 820px) {
  .bn-panel { grid-template-columns: 1fr; gap: 24px; padding: 26px; min-height: 0; }
  .bn-media { order: -1; }
  .banner-sel .bchip span { display: none; }
  .banner-sel .bchip { padding: 6px; }
}
@media (prefers-reduced-motion: reduce) { .bn-panel { animation: none; } }
