/* =========================================================
   KAUKA · Lissa Muñoz — estilos (mobile first)
   ========================================================= */
:root {
  --navy: #0D2550;
  --blue: #14387A;        /* azul corporativo principal */
  --blue-2: #2457C5;      /* azul vivo para detalles */
  --blue-50: #F3F6FC;
  --blue-100: #E6EDFA;
  --blue-200: #C9D7F2;
  --gold: #F2B33D;        /* acento cálido, con moderación */
  --ink: #0F1B2D;
  --text: #33415A;
  --muted: #64738C;
  --line: #E1E7F1;
  --white: #fff;
  --ok: #1E8E5A;
  --warn: #B7791F;
  --wa: #1FAF5A;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(13,37,80,.06), 0 12px 32px -12px rgba(13,37,80,.18);
  --shadow-lg: 0 2px 4px rgba(13,37,80,.06), 0 30px 60px -20px rgba(13,37,80,.30);
  --gutter: 16px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--white); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-2); text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--blue-2); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
svg { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section__head { max-width: 760px; margin-bottom: 36px; }
.section__intro { font-size: 1.05rem; color: var(--muted); }
h2 { font-size: clamp(1.75rem, 5.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-2); margin-bottom: 14px;
}
.eyebrow .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(242,179,61,.22); }
.eyebrow--light { color: var(--gold); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .97rem/1 var(--sans); cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(20,56,122,.7); }
.btn--primary:hover { background: var(--navy); }
.btn--ghost { background: #fff; color: var(--blue); border-color: var(--blue-200); }
.btn--ghost:hover { border-color: var(--blue); }
.btn--light { background: #fff; color: var(--navy); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(31,175,90,.6); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13,37,80,.4); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: .14em; color: var(--navy); }
.brand__text small { font-family: var(--serif); font-style: italic; font-size: .85rem; color: var(--muted); }
.brand--light strong { color: #fff; }
.brand--light small { color: #AFC0DE; }

.nav__toggle { width: 44px; height: 44px; border: 0; background: var(--blue-50); border-radius: 12px; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav__links {
  position: fixed; inset: var(--nav-h) 0 auto 0; background: #fff;
  display: flex; flex-direction: column; padding: 12px var(--gutter) 24px; gap: 2px;
  border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(13,37,80,.35);
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s;
}
.nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
.nav__links a:not(.btn) { padding: 13px 4px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav__cta { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 40px 0 64px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 100% 0%, var(--blue-100), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, #FFF6E5, transparent 60%),
    var(--blue-50);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(20,56,122,.12) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.hero__grid { position: relative; display: grid; gap: 48px; }
.hero h1 { font-size: clamp(2.2rem, 9vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
.hero h1 em { display: inline; }
.lead { font-size: 1.08rem; color: var(--text); max-width: 560px; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 32px; }
.hero__facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero__facts li { background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 10px; }
.hero__facts strong { display: block; color: var(--navy); font-size: .98rem; line-height: 1.2; }
.hero__facts span { font-size: .78rem; color: var(--muted); line-height: 1.3; display: block; }

/* Antes / después */
.ba { padding: 22px 20px 18px; }
.ba__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ba__title { margin: 0; font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.ba__switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--blue-50); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.ba__switch button { position: relative; z-index: 1; border: 0; background: none; font: 700 .85rem/1 var(--sans); color: var(--muted); padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: color .3s; }
.ba__switch button[aria-selected="true"] { color: #fff; }
.ba__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--muted); transition: transform .45s cubic-bezier(.2,.8,.2,1), background .45s; }
.ba[data-state="despues"] .ba__pill { transform: translateX(100%); background: var(--blue); }
.ba__sub { font-family: var(--serif); font-style: italic; color: var(--muted); margin: 8px 0 16px; font-size: .98rem; }
.ba__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ba__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .88rem; margin-bottom: 6px; }
.ba__row span { color: var(--text); font-weight: 600; }
.ba__row b { color: var(--ink); font-size: 1.05rem; font-weight: 800; white-space: nowrap; transition: color .4s; }
.ba__bar { height: 10px; border-radius: 999px; background: var(--blue-50); border: 1px solid var(--line); overflow: hidden; }
.ba__bar i { display: block; height: 100%; width: 50%; border-radius: 999px; background: #A9B4C6; transition: width .8s cubic-bezier(.2,.8,.2,1), background .5s; }
.ba[data-state="despues"] .ba__bar i { background: linear-gradient(90deg, var(--blue), var(--blue-2)); }
.ba[data-state="despues"] .is-less .ba__bar i { background: linear-gradient(90deg, var(--ok), #3FB27F); }
.ba[data-state="despues"] .ba__row b { color: var(--blue); }
.ba[data-state="despues"] .is-less .ba__row b { color: var(--ok); }
.ba__foot { display: flex; gap: 10px; align-items: center; margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--blue-50); font-size: .88rem; font-weight: 600; color: var(--ink); }
.ba__foot svg { color: var(--blue-2); }
.ba__note { margin: 10px 0 0; font-size: .74rem; color: var(--muted); text-align: right; }

/* Panel maqueta */
.hero__visual { position: relative; padding: 18px 6px 26px; }
.panel { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.panel__top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--blue-50); border-bottom: 1px solid var(--line); }
.panel__dots { display: flex; gap: 5px; }
.panel__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-200); }
.panel__url { flex: 1; font-size: .74rem; color: var(--muted); background: #fff; border-radius: 999px; padding: 4px 12px; border: 1px solid var(--line); }
.panel__body { padding: 18px; }
.panel__hello { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--ink); font-size: .95rem; margin-bottom: 14px; }
.panel__hello span { font-size: .72rem; font-weight: 600; color: var(--blue-2); background: var(--blue-100); padding: 3px 10px; border-radius: 999px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px; min-width: 0; }
.kpi span { display: block; font-size: .66rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi strong { display: block; color: var(--ink); font-size: clamp(.86rem, 3.6vw, 1.15rem); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.kpi em { font-style: normal; font-size: .68rem; font-weight: 700; color: var(--muted); }
.kpi em.up { color: var(--ok); }
.kpi--main { background: var(--blue); border-color: var(--blue); }
.kpi--main span, .kpi--main em, .kpi--main em.up { color: #BFD0F2; }
.kpi--main strong { color: #fff; }
.bars { height: 110px; display: flex; align-items: flex-end; gap: 8px; margin: 18px 0 14px; padding: 0 2px; border-bottom: 1px dashed var(--line); }
.bars div { position: relative; flex: 1; height: var(--h); background: var(--blue-100); border-radius: 7px 7px 3px 3px; transform-origin: bottom; animation: grow 1s cubic-bezier(.2,.8,.2,1) both; }
.bars div:nth-child(2) { animation-delay: .06s } .bars div:nth-child(3) { animation-delay: .12s } .bars div:nth-child(4) { animation-delay: .18s }
.bars div:nth-child(5) { animation-delay: .24s } .bars div:nth-child(6) { animation-delay: .30s } .bars div:nth-child(7) { animation-delay: .36s }
.bars i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--g); background: var(--blue); border-radius: 7px 7px 3px 3px; }
.bars div:last-child i { background: var(--blue-2); }
@keyframes grow { from { transform: scaleY(0); } }
.panel__list { list-style: none; margin: 0; padding: 0; font-size: .78rem; }
.panel__list li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--text); }
.panel__list li:first-child { border-top: 0; }
.panel__list b { margin-left: auto; color: var(--ink); white-space: nowrap; }
.tag { font-size: .64rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--blue-50); color: var(--muted); white-space: nowrap; }
.tag--ok { background: #E3F4EC; color: var(--ok); }
.tag--warn { background: #FBF0DC; color: var(--warn); }
.float {
  position: absolute; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
  font-size: .78rem; font-weight: 700; color: var(--ink); box-shadow: var(--shadow); white-space: nowrap;
  animation: bob 5s ease-in-out infinite;
}
.float svg { color: var(--ok); }
.float--a { top: 0; right: 4px; }
.float--b { bottom: 4px; left: 0; animation-delay: -2.5s; }
.float--b svg { color: #D9534F; }
@keyframes bob { 50% { transform: translateY(-6px); } }

.lead--soft { font-family: var(--serif); font-style: italic; color: var(--blue); font-size: 1.12rem; margin-top: -4px; }

/* ---------- Solo lo esencial ---------- */
.essential { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 18px; border-radius: var(--r); background: #FFF8EA; border: 1px solid #F6DFAE; }
.essential p { margin: 0; color: var(--text); font-size: .95rem; }
.essential strong { color: var(--ink); }
.essential__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: var(--navy); }
.essential__icon svg { width: 22px; height: 22px; }

/* ---------- Promesa ---------- */
.promise { background: #FFF8E1; padding: 56px 0; position: relative; overflow: hidden; }
.promise__inner { position: relative; }
.promise__text { margin: 0 auto; max-width: 900px; text-align: center; color: var(--ink); font-weight: 700; font-size: clamp(1.35rem, 4.2vw, 2.1rem); line-height: 1.3; letter-spacing: -.015em; }
.promise__text em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--blue); }

/* ---------- Notas ---------- */
.aside-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 18px 20px; border-radius: var(--r); border: 1px dashed var(--blue-200); background: #fff; }
.aside-note svg { color: var(--blue-2); margin-top: .25em; }
.aside-note p { margin: 0; color: var(--muted); }
.aside-note strong { color: var(--ink); }
.badge-line { display: inline-flex; gap: 8px; align-items: center; margin: 4px 0 0; padding: 8px 14px; border-radius: 999px; background: var(--blue-100); color: var(--blue); font-weight: 700; font-size: .86rem; line-height: 1.35; }
.also { margin-top: 26px; padding: 22px; border-radius: var(--r); background: var(--blue-50); border: 1px solid var(--line); text-align: center; }
.also__title { margin: 0 0 12px; font-family: var(--serif); font-style: italic; color: var(--muted); }
.also__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.also__list li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: .92rem; }
.also__list .also__more { background: none; border-style: dashed; color: var(--muted); font-weight: 600; }

/* ---------- Hero: imagen 3D y estado ---------- */
.hero__3d { position: absolute; z-index: 0; width: 62%; max-width: 340px; right: -6%; top: 0%; aspect-ratio: 1; object-fit: cover; border-radius: 42% 58% 55% 45% / 48% 40% 60% 52%; opacity: .85; filter: saturate(1.1); animation: morph 14s ease-in-out infinite; }
.hero__visual .panel { position: relative; z-index: 1; }
.hero__visual .float { z-index: 2; }
@keyframes morph { 50% { border-radius: 55% 45% 40% 60% / 40% 58% 42% 60%; transform: rotate(6deg); } }
.ba__status { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; background: #FBEDEC; color: #8A2E26; font-size: .88rem; font-weight: 600; line-height: 1.45; transition: background .5s, color .5s; }
.ba__status svg { margin-top: .15em; }
.ba[data-state="despues"] .ba__status { background: #E3F4EC; color: #17633F; }
.float--b { white-space: normal; max-width: 250px; border-radius: 16px; line-height: 1.3; }

/* ---------- Tu oficio ---------- */
.craft__grid { display: grid; gap: 36px; align-items: center; }
.craft__copy > p:not(.eyebrow) { font-size: 1.05rem; }
.craft__copy strong { color: var(--ink); }
.paths { display: grid; gap: 12px; margin-top: 24px; }
.path { padding: 20px; border-radius: var(--r); background: var(--blue-50); border: 1px solid var(--line); }
.path h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.path p { margin: 0; color: var(--muted); font-size: .95rem; }
.path__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue); }
.path--dark { background: var(--navy); border-color: var(--navy); }
.path--dark h3 { color: #fff; }
.path--dark p { color: #C3D0EA; }
.path--dark .path__icon { background: rgba(255,255,255,.1); color: var(--gold); }

/* ---------- Puente con la asesoría ---------- */
.bridge { padding-top: 0; }
.bridge__box {
  position: relative; overflow: hidden; display: grid; gap: 30px; border-radius: 28px; padding: 34px 22px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); color: #D2DDF2;
}
.bridge__box::after { content: ""; position: absolute; width: 420px; height: 420px; right: -150px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(242,179,61,.25), transparent 65%); }
.bridge__box > * { position: relative; z-index: 1; }
.bridge__box h2 { color: #fff; }
.bridge__box h2 em { color: var(--gold); }
.bridge__copy { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.bridge__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.bridge__list li { display: flex; gap: 10px; align-items: flex-start; color: #fff; font-weight: 600; min-width: 0; }
.bridge__list li span { flex: 1; min-width: 0; }
.bridge__list svg { color: var(--gold); margin-top: .25em; flex-shrink: 0; }
/* Diagrama bridge: vertical por defecto (móvil/tablet), horizontal en desktop */
.bridge__diagram { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-wrap: nowrap; }
.bnode { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 18px; border-radius: 20px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.9); font-weight: 600; font-size: .88rem; text-align: center; width: 200px; min-width: 0; }
.bnode svg { opacity: .65; }
.bnode--me { background: #fff; border-color: transparent; color: var(--navy); box-shadow: 0 0 0 3px rgba(242,179,61,.5), 0 20px 40px -14px rgba(13,37,80,.5); padding: 18px 24px; width: 220px; }
.bnode--me img { width: 36px; height: 36px; }
.bnode--me strong { display: block; font-size: 1rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.bnode--me small { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--blue-2); font-size: .8rem; }
.bconn { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.bconn i { display: block; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.22); }
.bconn i:nth-child(3) { background: var(--gold); opacity: .8; }

/* ---------- Todo en una aplicación ---------- */
.twofaces__plus { margin-top: 18px; font-size: 1rem; color: var(--text) !important; }
.twofaces__plus strong { color: var(--blue); }
.faces { position: relative; }
.faces::before { content: ""; position: absolute; inset: -30px -20px; z-index: -1; border-radius: 40px; background: var(--blue-50); }
.twofaces { position: relative; isolation: isolate; overflow: hidden; }
.face__more { color: var(--blue-2) !important; font-style: italic; font-weight: 600 !important; }
.face__more::before { background: var(--gold) !important; }

/* ---------- Objetivo ---------- */
.promise { background: #FFF8E1; padding: 72px 0; }
.promise::before { display: none; }
.promise__label { text-align: center; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }

/* ---------- IA ---------- */
.ai-box { position: relative; overflow: hidden; border-radius: 24px; margin-bottom: 40px; min-height: 220px; display: flex; align-items: flex-end; background: var(--navy); }
.ai-box::before { display: none; }
.ai-box__text { position: relative; z-index: 2; padding: 26px 22px; color: #E3EAF7; max-width: 760px; }
.ai-box__text p { margin: 0; font-size: 1.05rem; }
.ai-box__text strong { color: #fff; }
.ai-box__label { color: var(--gold) !important; font-size: .78rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px !important; }
.prices__title { font-weight: 800; color: var(--ink); margin-bottom: 26px; }
.prices__title span { font-weight: 500; color: var(--muted); }

/* ---------- Entidades ---------- */
.entities { background: var(--blue-50); }
.entities__hero { position: relative; overflow: hidden; display: grid; border-radius: 28px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #D2DDF2; }
.entities__intro { position: relative; z-index: 1; padding: 34px 22px; }
.entities__intro h2 { color: #fff; }
.entities__intro h2 em { color: var(--gold); }
.entities__3d { width: 100%; height: 220px; object-fit: cover; }
.entities__cards { display: grid; gap: 16px; margin-top: 18px; }
.ecard { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; box-shadow: var(--shadow); }
.ecard__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue); margin-bottom: 14px; }
.ecard__icon svg { width: 24px; height: 24px; }
.ecard p { color: var(--muted); }
.entities__how { margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; }
.entities__how-title { font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.entities__how ol { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.entities__how li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-weight: 600; }
.entities__how li span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: .85rem; font-weight: 800; }
.entities__for { margin: 0; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .95rem; }
.entities__for strong { color: var(--ink); }

/* ---------- Problema ---------- */
.pains { display: grid; gap: 14px; }
.pain { position: relative; padding: 24px 22px; border-radius: var(--r); background: var(--blue-50); border: 1px solid var(--line); }
.pain__n { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--blue-2); display: block; margin-bottom: 6px; }
.pain p { color: var(--muted); margin: 0; }

/* ---------- Servicios ---------- */
.services { background: linear-gradient(180deg, #fff, var(--blue-50)); }
.cards { display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue); margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); }
.card--feature { background: var(--blue); border-color: var(--blue); }
.card--feature h3 { color: #fff; }
.card--feature p { color: #C9D6F0; }
.card--feature .card__icon { background: rgba(255,255,255,.12); color: var(--gold); }
.card--feature .ticks li { color: #fff; }
.card--feature .ticks li::before { background: var(--gold); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 17px; height: 17px; border-radius: 50%;
  background: var(--blue-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- Dos caras ---------- */
.twofaces__grid { display: grid; gap: 32px; align-items: center; }
.twofaces__copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.faces { display: grid; gap: 14px; }
.face { border-radius: var(--r); padding: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.face__label { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--blue); margin-bottom: 12px; }
.face ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.face li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.face li::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--blue-2); flex: none; }
.face--dark { background: var(--navy); border-color: var(--navy); }
.face--dark .face__label { color: var(--gold); }
.face--dark li { color: #fff; }
.face--dark li::before { background: var(--gold); }

/* ---------- Pasos ---------- */
.steps-sec { background: var(--blue-50); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 22px 80px; }
.steps span {
  position: absolute; left: 22px; top: 22px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800;
}
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Proyectos ---------- */
.project { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: grid; }
.project + .projects__row, .projects__row { margin-top: 18px; display: grid; gap: 18px; }
.project__shot { display: block; position: relative; background: var(--blue-50); padding: 14px 14px 0; overflow: hidden; }
.browser { display: flex; align-items: center; gap: 5px; background: #fff; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; padding: 8px 12px; }
.browser i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-200); }
.browser b { margin-left: 8px; font-size: .72rem; font-weight: 600; color: var(--muted); }
.project__shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 1px solid var(--line); border-top: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.project__shot:hover img { transform: scale(1.03); }
.project__info { padding: 22px; }
.project__sector { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 6px; }
.project__info h3 { font-size: 1.4rem; margin-bottom: 8px; }
.project__info > p:not(.project__sector) { color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .78rem; font-weight: 600; color: var(--blue); background: var(--blue-100); padding: 5px 11px; border-radius: 999px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
.link:hover { color: var(--blue-2); }

/* ---------- Tarifas ---------- */
.pricing { background: linear-gradient(180deg, #fff, var(--blue-50)); }
.prices { display: grid; gap: 16px; }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow); }
.price__name { font-weight: 800; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.price__amount { font-size: 2.6rem; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 10px; }
.price__amount small { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1rem; color: var(--muted); letter-spacing: 0; }
.price__amount span { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price__desc { color: var(--muted); }
.price--best { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.price__badge { position: absolute; top: -13px; left: 24px; background: var(--gold); color: var(--navy); font-size: .74rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; margin: 0; }
.price--wide { display: grid; gap: 14px; align-items: center; background: var(--navy); border-color: var(--navy); }
.price--wide .price__name { color: #fff; }
.price--wide .price__desc { color: #C3D0EA; margin: 0; }
.price--wide .btn { background: #fff; color: var(--navy); box-shadow: none; }

/* ---------- Entidades ---------- */
.partners { padding-top: 0; background: var(--blue-50); }
.partners__box {
  position: relative; overflow: hidden; display: grid; gap: 18px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); color: #D2DDF2;
  border-radius: 26px; padding: 34px 24px; max-width: 1148px; width: calc(100% - 2 * var(--gutter)); margin: 0 auto;
}
.partners__box::after { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(242,179,61,.28), transparent 65%); }
.partners__box > * { position: relative; z-index: 1; }
.partners__box h2 { color: #fff; font-size: clamp(1.5rem, 4.6vw, 2.2rem); }
.partners__icon { width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--gold); }
.partners__icon svg { width: 28px; height: 28px; }

/* ---------- Sobre mí ---------- */
.about__grid { display: grid; gap: 36px; align-items: center; }
.about__photo { position: relative; max-width: 360px; width: 100%; margin: 0 auto; }
.about__photo img, .monogram { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 28px; object-fit: cover; }
.about__photo img { object-position: 52% center; box-shadow: var(--shadow-lg); }
.monogram {
  display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--blue-100), var(--blue-200));
}
.monogram::before { content: ""; position: absolute; inset: 18px; border: 1.5px solid rgba(20,56,122,.25); border-radius: 18px; }
.monogram span { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 7.5rem; color: var(--blue); letter-spacing: -.04em; }
.about__sign { position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow); font-weight: 800; color: var(--ink); }
.about__sign span { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--muted); font-size: .9rem; }
.about__copy p:not(.eyebrow) { color: var(--text); }
.about__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.about__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.about__list svg { color: var(--blue-2); margin-top: .25em; }

/* ---------- Contacto ---------- */
.contact { background: var(--blue-50); }
.contact__grid { display: grid; gap: 28px; }
.vcard { background: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); border-top: 5px solid var(--blue); }
.vcard__head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.vcard__head h3 { margin: 0; font-size: 1.3rem; }
.vcard__head p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.vcard__actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.vcard__actions a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; color: var(--ink); }
.vcard__actions svg { width: 52px; height: 52px; padding: 14px; border-radius: 16px; background: var(--blue-100); color: var(--blue); transition: transform .2s, background .2s; }
.vcard__actions a:hover svg { transform: translateY(-3px); background: var(--blue-200); }
.vcard__actions .wa svg { background: #E2F6EA; color: var(--wa); }
.vcard__data { margin: 0; border-top: 1px dashed var(--line); padding-top: 12px; }
.vcard__data div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .9rem; }
.vcard__data dt { color: var(--muted); }
.vcard__data dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; word-break: break-word; }
.vcard__data a { color: var(--ink); }
.vcard__note { margin: 14px 0 0; font-family: var(--serif); font-style: italic; color: var(--blue); font-size: .95rem; }

.contact__form h2 { font-size: clamp(1.6rem, 5vw, 2.3rem); }
form { display: grid; gap: 14px; margin-top: 18px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: .85rem; font-weight: 700; color: var(--ink); padding: 0; margin-bottom: 6px; }
.field-row { display: grid; gap: 14px; }
input, select, textarea {
  width: 100%; font: 500 1rem/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(36,87,197,.14); }
input.is-invalid { border-color: #C0392B; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; margin: 0; cursor: pointer; }
.pills input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .88rem; font-weight: 600; color: var(--text); transition: all .2s; }
.pills input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.form__actions { display: grid; gap: 10px; }
.form__error { color: #C0392B; font-weight: 600; font-size: .9rem; margin: 0; }
.form__note { font-size: .8rem; color: var(--muted); margin: 0; }
.form__response { font-size: .92rem; font-weight: 600; padding: 12px 16px; border-radius: 10px; margin-top: 4px; }
.form__response.is-ok { background: #ECFDF5; color: #065F46; }
.form__response.is-error { background: #FEF2F2; color: #991B1B; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #AFC0DE; padding: 44px 0 90px; font-size: .9rem; }
.footer__inner { display: grid; gap: 16px; }
.footer p { margin: 0; }
.footer a { color: #fff; }
.footer nav a { text-decoration: underline; text-underline-offset: 3px; }
.footer__copy { font-size: .8rem; color: #8195BA; }

.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(31,175,90,.65);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Móvil pequeño (< 420px) — pantallas estrechas tipo 320px
   ========================================================= */
@media (max-width: 419px) {
  /* Eyebrow largo del hero: que se envuelva */
  .hero .eyebrow { display: flex; flex-wrap: wrap; white-space: normal; max-width: 100%; }
  /* Título hero ligeramente más pequeño */
  .hero h1 { font-size: 1.9rem; }
  /* Facts de hero: columnas más compactas */
  .hero__facts { gap: 6px; }
  .hero__facts li { padding: 10px 7px; }
  .hero__facts strong { font-size: .82rem; }
  .hero__facts span { font-size: .68rem; }
  /* Bridge diagram: nodos más pequeños en pantallas muy estrechas */
  .bridge__box { padding: 24px 16px; }
  .bnode { width: 170px; }
  .bnode--me { width: 190px; }
}

/* =========================================================
   Tablet (≥ 640px)
   ========================================================= */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .section { padding: 92px 0; }
  .hero__ctas { flex-direction: row; flex-wrap: wrap; }
  .hero__facts li { padding: 14px 16px; }
  .hero__facts strong { font-size: 1.1rem; }
  .hero__facts span { font-size: .84rem; }
  .pains, .cards { grid-template-columns: 1fr 1fr; }
  .faces { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .projects__row { grid-template-columns: 1fr 1fr; }
  .prices { grid-template-columns: 1fr 1fr; }
  .price--wide { grid-column: 1 / -1; grid-template-columns: 1fr auto; padding: 30px 32px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .form__actions { grid-template-columns: 1fr 1fr; }
  .partners__box { grid-template-columns: auto 1fr; padding: 48px; gap: 28px; }
  .footer__inner { grid-template-columns: 1fr 1fr; align-items: center; }
  .float { font-size: .82rem; }
  .paths { grid-template-columns: 1fr 1fr; }
  .bridge__box { padding: 48px; }
  .bnode { width: 210px; padding: 18px 20px; }
  .bnode--me { width: 230px; }
  .ai-box__text { padding: 36px 40px; }
  .entities__cards { grid-template-columns: 1fr 1fr; }
  .entities__intro { padding: 48px; }
  .entities__how { padding: 30px 36px; }
  .entities__how ol { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Escritorio (≥ 980px)
   ========================================================= */
@media (min-width: 980px) {
  :root { --nav-h: 76px; }
  .nav__toggle { display: none; }
  .nav__links {
    position: static; flex-direction: row; align-items: center; gap: 26px; padding: 0;
    background: none; border: 0; box-shadow: none; transform: none; opacity: 1; visibility: visible;
  }
  .nav__links a:not(.btn) { padding: 6px 0; border: 0; font-size: .93rem; color: var(--text); position: relative; }
  .nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue-2); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
  .nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
  .nav__links a.is-active { color: var(--ink); }
  .nav__cta { margin: 0 0 0 6px; }

  .hero { padding: 72px 0 104px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
  .hero h1 { font-size: clamp(2.8rem, 4.4vw, 3.6rem); }
  .hero__visual { padding: 30px 10px 40px 30px; }
  .float--a { right: -14px; top: 4px; }
  .float--b { left: -6px; bottom: 6px; }

  .section { padding: 112px 0; }
  .section__head { margin-bottom: 52px; }
  .pains { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .card--feature { transform: translateY(-14px); }
  .card--feature:hover { transform: translateY(-18px); }
  .twofaces__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 80px 24px 26px; }
  .steps span { top: 24px; left: 24px; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; top: 45px; left: 76px; right: -14px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-200) 0 6px, transparent 6px 12px); }

  .project--big { grid-template-columns: 1.35fr 1fr; align-items: center; }
  .project--big .project__shot { padding: 26px 0 26px 26px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
  .project--big .project__info { padding: 36px; }
  .project--big .project__info h3 { font-size: 1.9rem; }

  .prices { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .craft__grid { max-width: 760px; }
  .bridge__box { grid-template-columns: 1.05fr .95fr; align-items: center; padding: 60px 64px; gap: 48px; }
  /* Diagrama: vuelve a horizontal en la columna derecha del desktop */
  .bridge__diagram { flex-direction: row; gap: 10px; justify-content: center; }
  .bconn { flex-direction: row; gap: 5px; }
  .bconn i { width: 5px; height: 5px; }
  .bnode { width: auto; min-width: 90px; }
  .bnode--me { width: auto; }
  .ai-box { min-height: 260px; align-items: center; }
  .ai-box::before { background: linear-gradient(90deg, rgba(13,37,80,.92) 0%, rgba(13,37,80,.6) 60%, rgba(13,37,80,.1) 100%); }
  .ai-box__text { padding: 44px 56px; }
  .ai-box__text p { font-size: 1.2rem; }
  .entities__intro { padding: 60px 64px; }
  .entities__how ol { grid-template-columns: repeat(4, 1fr); }
  .entities__how li { flex-direction: column; }
  .promise { padding: 96px 0; }
  .price--best { transform: translateY(-12px); }
  .partners__box { padding: 60px 64px; }
  .about__grid { grid-template-columns: .8fr 1.2fr; gap: 72px; }
  .contact__grid { grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
  .contact__card { position: sticky; top: calc(var(--nav-h) + 24px); }
  .footer { padding-bottom: 44px; }
  .footer__inner { grid-template-columns: auto 1fr auto; gap: 40px; }
  .footer__copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; }
}
