/* Nítido Group — estilos del sitio */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../assets/fonts/dmsans-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: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../assets/fonts/dmsans-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-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: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-400-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/poppins-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: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/poppins-500-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-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; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-600-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/poppins-700-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: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/poppins-700-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy-900: #00173D; --navy-950: #00173D; --navy-800: #001F5E;
  --ink: #001F5E; --ink-2: rgba(0,31,94,0.82); --ink-3: rgba(0,31,94,0.7);
  --paper: #F0F4FA; --paper-line: #CBD5E0; --card-line: #CBD5E0;
  --cyan: #2CD2FF; --green: #64F495; --violet: #796CF9;
  --cyan-ink: #001F5E; --green-ink: #001F5E;
  --on-dark: #FFFFFF; --on-dark-2: rgba(255,255,255,0.76); --on-dark-3: rgba(255,255,255,0.66);
  --grad: linear-gradient(120deg, #2CD2FF, #64F495);
  --display: 'Poppins', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(64px, 8vw, 104px);
  --radius: 16px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy-900); color: var(--on-dark); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--green); }
input, textarea, button, select { font: inherit; }
::selection { background: var(--cyan); color: var(--navy-800); }
section[id] { scroll-margin-top: var(--header-h); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible { outline-color: var(--cyan-ink); }
/* Títulos que reciben foco al navegar por el menú: sin borde visible (el foco sigue funcionando para lectores de pantalla) */
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; box-shadow: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cyan); color: var(--navy-800); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; color: var(--navy-800); }

.wrap { max-width: 1380px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.stack-48 { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 48px); padding-top: var(--section-y); padding-bottom: var(--section-y); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0,23,61,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,0.08); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-size: 15px; }
.nav a { color: var(--on-dark-2); padding: 8px 0; }
.nav a:hover { color: var(--cyan); }
.nav .nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; padding: 3px; font-family: var(--display); font-size: 12px; letter-spacing: 0.06em; }
.lang button { border: 0; cursor: pointer; border-radius: 999px; min-height: 30px; min-width: 38px; padding: 4px 10px; background: transparent; color: var(--on-dark-2); font-weight: 600; }
.lang button[aria-pressed="true"] { background: var(--cyan); color: var(--navy-800); }
.burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; background: transparent; color: var(--on-dark); border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; padding: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font-family: var(--display); font-weight: 500; font-size: 16px; line-height: 1.2; padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer; text-align: center; }
.btn-primary { color: var(--navy-800); background: var(--grad); }
.btn-primary:hover { color: var(--navy-800); filter: brightness(1.06); }
.btn-primary[disabled] { opacity: .7; cursor: progress; }
.btn-sm { min-height: 42px; padding: 10px 20px; font-size: 14.5px; white-space: nowrap; }
.link-arrow { font-family: var(--display); font-weight: 500; font-size: 16px; color: var(--on-dark); padding: 12px 4px; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow::after { content: "→"; color: var(--cyan); transition: transform .2s; }
.link-arrow:hover { color: var(--cyan); }
.link-arrow:hover::after { transform: translateX(3px); }

/* Common section parts */
.dark { background: var(--navy-900); color: var(--on-dark); border-bottom: 1px solid rgba(255,255,255,0.08); position: relative; overflow: hidden; }
.light { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--paper-line); }
.light.alt { background: #fff; }
.section-head { display: flex; flex-direction: column; gap: 20px; max-width: 1180px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow .bar { width: 32px; height: 3px; border-radius: 2px; background: var(--grad); flex: none; }
.eyebrow-dark { color: var(--on-dark-3); }
.eyebrow-green { color: var(--green); }
.eyebrow-blue { color: var(--cyan); }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.9vw, 48px); line-height: 1.1; letter-spacing: -0.02em; text-wrap: pretty; max-width: 26ch; }
.section-head h2 { max-width: 38ch; }
.lead { font-size: 18px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; max-width: 68ch; }
.dark .lead { color: var(--on-dark-2); }
h3, h4 { font-family: var(--display); font-weight: 600; text-wrap: pretty; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-2-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

/* Hero */
.hero { border-bottom: 1px solid rgba(255,255,255,0.08); }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(1000px 600px at 78% -8%, rgba(44,210,255,0.22), rgba(0,23,61,0) 62%), radial-gradient(760px 520px at 10% 108%, rgba(100,244,149,0.12), rgba(0,23,61,0) 66%); }
.hero-inner { position: relative; display: flex; flex-direction: column; gap: 28px; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 72px); }
.hero-inner > * { position: relative; z-index: 1; }
.eyebrow-hero { color: var(--cyan); font-size: 14px; align-items: flex-start; line-height: 1.5; }
.eyebrow-hero .pulse { margin-top: 0.45em; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ng-pulse 2.6s ease-in-out infinite; flex: none; }
@keyframes ng-pulse { 0%,100% { opacity: .35; } 50% { opacity: .9; } }
.hero-title { max-width: none; font-family: var(--display); font-weight: 600; font-size: clamp(42px, 7.2vw, 80px); line-height: 1.03; letter-spacing: -0.03em; text-wrap: balance; }
.grad-text { background: linear-gradient(100deg, #2CD2FF, #64F495); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 56ch; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.6; color: var(--on-dark-2); text-wrap: pretty; }
.hero-note { max-width: 56ch; margin-top: -10px; font-size: 16px; line-height: 1.6; color: var(--on-dark-3); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,0.12); margin-top: 12px; }
.pillars li { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px 0 0; font-size: 15px; line-height: 1.5; color: var(--on-dark-3); }
.pillars strong { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--on-dark); }
.pillar-n { font-family: var(--display); font-size: 13px; color: var(--cyan); }

/* Momento */
.card-pain { background: #fff; border: 1px solid var(--card-line); border-radius: var(--radius); padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 3px rgba(0,31,94,0.06); }
.card-pain h3 { font-size: 17.5px; line-height: 1.32; }
.card-pain p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.ico svg { width: 24px; height: 24px; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-g { background: rgba(100,244,149,0.18); } .ico-g svg { stroke: var(--green-ink); }
.ico-b { background: rgba(44,210,255,0.16); } .ico-b svg { stroke: var(--cyan-ink); }
.quote { max-width: 900px; font-family: var(--display); font-weight: 500; font-size: clamp(19px, 2vw, 23px); line-height: 1.45; color: var(--ink); padding-left: 20px; border-left: 3px solid var(--cyan); text-wrap: pretty; }

/* Servicios */
.serv-core { background: var(--paper); border: 1px solid var(--paper-line); border-radius: 20px; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 22px; }
.serv-core-head { display: flex; flex-direction: column; gap: 6px; }
.serv-core-head h3 { font-size: clamp(26px, 3vw, 32px); }
.serv-core-head p, .serv-side-head p { font-size: 16px; color: var(--ink-3); }
.serv-side { border: 1px solid var(--paper-line); border-radius: 20px; padding: clamp(20px, 2.6vw, 26px); display: flex; flex-direction: column; gap: 18px; }
.serv-side-head { display: flex; flex-direction: column; gap: 4px; }
.serv-side-head h3 { font-size: 22px; }
.line { background: #fff; box-shadow: 0 1px 3px rgba(0,31,94,0.07); border-top: 3px solid var(--cyan); border-radius: 2px 2px 14px 14px; padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.serv-side .line { background: var(--paper); box-shadow: none; }
.line h4 { font-size: 17px; line-height: 1.25; }
.line p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.line-g { border-top-color: var(--green); } .line-v { border-top-color: var(--violet); }
.serv-foot { font-size: 16px; color: var(--ink-2); }
.serv-foot a { color: var(--cyan-ink); font-weight: 700; }
.serv-foot a:hover { color: var(--green-ink); }

/* Enfoque */
.dim { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 18px; padding: 28px 26px; display: flex; flex-direction: column; gap: 8px; }
.dim h3 { font-size: 21px; }
.dim p { font-size: 16px; line-height: 1.55; color: var(--on-dark-3); }
.commit { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 32px; }
.commit-title, .principles-title { font-size: 14px; font-family: var(--body); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-3); }
.commit li { display: flex; flex-direction: column; gap: 6px; }
.commit h4 { font-size: 18px; color: var(--on-dark); }
.commit p { font-size: 15.5px; line-height: 1.55; color: var(--on-dark-3); }

/* Método */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--card-line); border-radius: 20px; padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 3px rgba(0,31,94,0.06); }
.step::after { content: ""; position: absolute; top: 50px; right: -17px; width: 18px; height: 2px; background: var(--grad); }
.step-last::after { display: none; }
.step-n { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--navy-800); }
.step h3 { font-size: clamp(24px, 2.4vw, 28px); letter-spacing: -0.01em; }
.step p { font-size: 16px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }
.principles { display: flex; flex-direction: column; gap: 18px; }
.principles-title { color: var(--ink-3); }
.principles li { display: flex; flex-direction: column; gap: 10px; }
.rule { height: 3px; border-radius: 2px; background: var(--cyan); }
.rule-g { background: var(--green); } .rule-v { background: var(--violet); }
.principles h4 { font-size: 18px; line-height: 1.25; }
.principles p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

/* IA */
.ia-glow { position: absolute; inset: 0; background: radial-gradient(900px 560px at 88% 4%, rgba(100,244,149,0.13), rgba(0,23,61,0) 62%), radial-gradient(760px 480px at 4% 92%, rgba(44,210,255,0.13), rgba(0,23,61,0) 64%); }
.ia .wrap { position: relative; }
.ia-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.13); border-radius: 20px; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color .2s; }
.ia-card:hover { border-color: rgba(100,244,149,0.5); }
.ia-n { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--navy-800); }
.ia-card h3 { font-size: 22px; line-height: 1.2; }
.ia-card p { font-size: 16px; line-height: 1.6; color: var(--on-dark-3); }
.ia-criteria { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 28px; }
.ia-criteria li { display: flex; flex-direction: column; gap: 4px; font-size: 15.5px; line-height: 1.55; color: var(--on-dark-3); }
.ia-criteria strong { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--green); }

/* Contacto */
.contact { border-bottom: 0; }
.contact-glow { position: absolute; inset: 0; background: radial-gradient(920px 560px at 14% 0%, rgba(44,210,255,0.16), rgba(0,23,61,0) 62%), radial-gradient(760px 520px at 92% 96%, rgba(100,244,149,0.12), rgba(0,23,61,0) 64%); }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-top: var(--section-y); padding-bottom: var(--section-y); }
.contact-info { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.contact-info h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -0.025em; max-width: 16ch; }
.contact-or { font-size: 15px; color: var(--on-dark-3); border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; align-self: stretch; }
.contact-list { display: flex; flex-direction: column; gap: 6px; font-family: var(--display); font-size: 17px; margin-top: -12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list a { padding: 6px 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-g { background: var(--green); } .dot-wa { background: #25D366; } .dot-v { background: var(--violet); }

.form { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.13); border-radius: 22px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.form-title { font-size: 22px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; color: var(--on-dark-2); }
.opt { color: var(--on-dark-3); font-size: 13px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; background: rgba(0,23,61,0.55); border: 1px solid rgba(255,255,255,0.2); border-radius: 10px; padding: 12px 14px; font-size: 16px; color: var(--on-dark); }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232CD2FF' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field select option { background: var(--navy-900); color: var(--on-dark); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(44,210,255,0.25); }
.field [aria-invalid="true"] { border-color: #DC2626; }
.field-err { font-size: 14px; color: #FEE2E2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-status { border-radius: 14px; padding: 18px 20px; font-size: 16px; line-height: 1.55; display: flex; flex-direction: column; gap: 10px; }
.form-status[data-state="sending"] { background: rgba(44,210,255,0.08); color: var(--on-dark); }
.form-status[data-state="ok"] { background: rgba(100,244,149,0.12); border: 1px solid rgba(100,244,149,0.4); color: var(--on-dark); }
.form-status[data-state="error"] { background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.45); color: var(--on-dark); }
.form-status strong { font-family: var(--display); font-weight: 600; font-size: 18px; }
.form-status .status-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.form-status button.as-link { background: none; border: 0; padding: 4px 0; color: var(--cyan); cursor: pointer; text-decoration: underline; }

/* Footer */
.site-footer { background: var(--navy-950); border-top: 1px solid rgba(255,255,255,0.08); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 36px; padding-bottom: 36px; }
.footer-logo { height: 38px; width: auto; }
.footer-tag { font-family: var(--display); font-size: 15px; color: var(--on-dark-2); }
.footer-geo { margin-left: auto; font-size: 14px; color: var(--on-dark-3); }

/* Responsive */
@media (max-width: 1190px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 940px) {
  :root { --header-h: 70px; }
  .js .nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 6px; }
  .js .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; }
  .js .nav .nav-cta { display: inline-flex; align-self: flex-start; margin: 8px 0 6px; padding: 12px 22px; color: var(--navy-800); }
  .js .burger { display: flex; }
  .brand-logo { height: 36px; }
  .header-actions .btn-sm { display: none; }
  .grid-3, .steps, .ia-criteria, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .step::after { top: auto; bottom: -17px; right: auto; left: 50px; width: 2px; height: 18px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 760px) {
  .hero-inner { gap: 22px; }
  .pillars { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .pillars li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .pillars li:last-child { border-bottom: 0; }
  .footer-geo { margin-left: 0; }
}
@media (max-width: 620px) {
  .grid-4, .grid-2-inner, .form-row { grid-template-columns: minmax(0, 1fr); }
  .hero-ctas .btn { width: 100%; }
  .lead { font-size: 17px; }
}
@media (max-width: 400px) {
  .header-row { gap: 10px; }
  .brand-logo { height: 32px; }
  .lang button { min-width: 34px; padding: 4px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Fase 2.1 ===== */

/* Hero: líneas fluidas fundidas con el fondo (blend + máscara radial, sin bordes) */
.hero-a { background: #00173D; }
.hero-a .hero-bg { position: absolute; inset: 0; overflow: hidden;
  background: radial-gradient(900px 600px at 78% 40%, rgba(44,210,255,0.10), rgba(0,23,61,0) 70%), #00173D; }
.hero-lines { position: absolute; top: -8%; bottom: -8%; right: -6%; width: min(74%, 1200px); display: block; }
.hero-lines img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 60% 52%, #000 35%, rgba(0,0,0,0.6) 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 58% at 60% 52%, #000 35%, rgba(0,0,0,0.6) 62%, transparent 100%); }
.hero-a .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #00173D 0%, rgba(0,23,61,0.92) 30%, rgba(0,23,61,0.35) 52%, rgba(0,23,61,0) 68%); }
.hero-a .hero-inner { min-height: min(78vh, 720px); justify-content: center; }
.h1-keep { white-space: nowrap; }

/* Hero B: sin imagen, tres formas abstractas que se superponen (personas, procesos, tecnología) */
.hero-shapes { position: absolute; z-index: 0; top: 50%; right: max(var(--gutter), calc((100vw - 1380px) / 2 + var(--gutter))); width: clamp(320px, 38vw, 560px); aspect-ratio: 1; transform: translateY(-58%); pointer-events: none; }
.orb { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: screen; }
.orb-1 { left: 0; top: 4%; background: radial-gradient(circle at 35% 35%, rgba(44,210,255,0.42), rgba(44,210,255,0.10) 58%, rgba(44,210,255,0) 72%); box-shadow: inset 0 0 0 1px rgba(44,210,255,0.35); }
.orb-2 { right: 0; top: 4%; background: radial-gradient(circle at 65% 35%, rgba(100,244,149,0.36), rgba(100,244,149,0.08) 58%, rgba(100,244,149,0) 72%); box-shadow: inset 0 0 0 1px rgba(100,244,149,0.32); }
.orb-3 { left: 19%; bottom: 0; background: radial-gradient(circle at 50% 70%, rgba(121,108,249,0.40), rgba(121,108,249,0.10) 58%, rgba(121,108,249,0) 72%); box-shadow: inset 0 0 0 1px rgba(121,108,249,0.34); }
.hero-b .hero-glow { background: radial-gradient(900px 620px at 82% 30%, rgba(44,210,255,0.14), rgba(0,23,61,0) 64%), radial-gradient(700px 480px at 8% 110%, rgba(100,244,149,0.08), rgba(0,23,61,0) 66%); }

/* El momento: 4 agrupaciones */
.grid-moment { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card-group { padding: 28px 26px 30px; gap: 10px; }
.card-group .ico { margin-bottom: 6px; }
.card-kicker { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.card-group h3 { font-size: 19px; line-height: 1.28; }
.card-group p:last-child { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }

/* Método: secuencia con íconos y microinteracción */
.steps-v2 { gap: 28px; }
.steps-v2 .step { gap: 14px; padding: 28px 28px 32px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; outline-offset: 4px; }
.steps-v2 .step::after { top: 54px; right: -29px; width: 30px; height: 2px; background: linear-gradient(90deg, #2CD2FF, #64F495); }
.steps-v2 .step::before { content: ""; position: absolute; top: 49px; right: -31px; width: 0; height: 0; border-left: 7px solid #64F495; border-top: 6px solid transparent; border-bottom: 6px solid transparent; z-index: 1; }
.steps-v2 .step-last::before, .steps-v2 .step-last::after { display: none; }
.step-head { display: flex; align-items: center; justify-content: space-between; }
.step-ico { width: 52px; height: 52px; border-radius: 14px; background: rgba(44,210,255,0.16); display: flex; align-items: center; justify-content: center; transition: background .2s ease, box-shadow .2s ease; }
.step-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--cyan-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease; }
.steps-v2 .step-n { width: auto; height: auto; background: none; font-size: 32px; font-weight: 600; color: #CBD5E0; letter-spacing: -0.02em; transition: color .2s ease; }
.steps-v2 .step:hover, .steps-v2 .step:focus-visible { transform: translateY(-4px); border-color: rgba(44,210,255,0.7); box-shadow: 0 16px 36px rgba(0,31,94,0.12); }
.steps-v2 .step:hover .step-ico, .steps-v2 .step:focus-visible .step-ico { background: var(--grad); box-shadow: 0 6px 18px rgba(44,210,255,0.35); }
.steps-v2 .step:hover .step-ico svg, .steps-v2 .step:focus-visible .step-ico svg { stroke: var(--navy-800); }
.steps-v2 .step:hover .step-n, .steps-v2 .step:focus-visible .step-n { color: var(--cyan-ink); }

/* IA → PRISMA → Contacto */
.ia { border-bottom: 0; }
.prisma { position: relative; background: linear-gradient(180deg, var(--navy-900) 0, var(--navy-900) 50%, var(--paper) 50%, var(--paper) 100%); padding-bottom: var(--section-y); }
.prisma-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 26px; color: var(--on-dark);
  background: radial-gradient(600px 380px at 85% 20%, rgba(121,108,249,0.28), rgba(121,108,249,0) 70%), radial-gradient(520px 340px at 10% 100%, rgba(44,210,255,0.16), rgba(44,210,255,0) 70%), linear-gradient(135deg, #001F5E 0%, #001F5E 55%, #00173D 100%);
  border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 30px 70px rgba(0,23,61,0.28); }
.prisma-copy { display: flex; flex-direction: column; gap: 18px; }
.eyebrow-prisma { color: #FFFFFF; }
.eyebrow-prisma .bar { background: linear-gradient(90deg, #796CF9, #2CD2FF); }
.prisma h2 { color: #fff; max-width: 30ch; }
.prisma-name { background: linear-gradient(100deg, #FFFFFF, #2CD2FF 55%, #64F495); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prisma .lead { color: var(--on-dark-2); max-width: 56ch; }
.prisma-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.prisma-status { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(121,108,249,0.4); background: rgba(121,108,249,0.14); font-size: 14px; font-weight: 700; color: #FFFFFF; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #FFFFFF; }
.prisma-visual { position: relative; min-height: 260px; }
.prism { position: absolute; left: 34%; top: 50%; width: 150px; height: 132px; transform: translate(-50%, -50%); clip-path: polygon(50% 0, 100% 100%, 0 100%); background: linear-gradient(160deg, rgba(255,255,255,0.32), rgba(255,255,255,0.06) 70%); }
.prism::after { content: ""; position: absolute; inset: 2px 2px 1px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: linear-gradient(160deg, #001F5E, #00173D); }
.beam-in { position: absolute; left: 0; top: 56%; width: 30%; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.85)); transform: rotate(-8deg); transform-origin: right center; }
.beam-out { position: absolute; left: 40%; top: 54%; width: 58%; height: 3px; border-radius: 2px; transform-origin: left center; }
.b1 { background: linear-gradient(90deg, rgba(121,108,249,0.9), rgba(121,108,249,0)); transform: rotate(-14deg); }
.b2 { background: linear-gradient(90deg, rgba(44,210,255,0.95), rgba(44,210,255,0)); transform: rotate(0deg); }
.b3 { background: linear-gradient(90deg, rgba(100,244,149,0.95), rgba(100,244,149,0)); transform: rotate(14deg); }
.prisma-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* Contacto en claro */
.contact-light { background: #fff; color: var(--ink); border-bottom: 0; overflow: visible; }
.contact-light .lead { color: var(--ink-2); }
.contact-light .contact-or { color: var(--ink-3); border-top-color: var(--paper-line); }
.contact-light .contact-list a { color: var(--cyan-ink); }
.contact-light .contact-list a:hover { color: var(--green-ink); }
.contact-light .form { background: var(--paper); border-color: var(--paper-line); }
.contact-light .form-title { color: var(--ink); }
.contact-light .field label { color: var(--ink-2); }
.contact-light .opt { color: var(--ink-3); }
.contact-light .field input, .contact-light .field select, .contact-light .field textarea { background: #fff; border-color: rgba(0,31,94,0.45); color: var(--ink); }
.contact-light .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23001F5E' stroke-width='1.6'/%3E%3C/svg%3E"); }
.contact-light .field select option { background: #fff; color: var(--ink); }
.contact-light .field input:focus, .contact-light .field select:focus, .contact-light .field textarea:focus { border-color: var(--cyan-ink); box-shadow: 0 0 0 3px rgba(0,31,94,0.2); }
.contact-light .field [aria-invalid="true"] { border-color: #DC2626; }
.contact-light .field-err { color: #DC2626; }
.contact-light .form-status[data-state="sending"] { background: rgba(44,210,255,0.16); color: var(--ink); }
.contact-light .form-status[data-state="ok"] { background: rgba(100,244,149,0.18); border-color: #059669; color: var(--ink); }
.contact-light .form-status[data-state="error"] { background: #FEE2E2; border-color: #DC2626; color: var(--ink); }
.contact-light .form-status button.as-link, .contact-light .form-status a { color: var(--cyan-ink); }

@media (max-width: 1199px) { .grid-moment { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1190px) {
  .hero-lines { width: 86%; right: -18%; }
  .hero-a .hero-bg::after { background: linear-gradient(90deg, #00173D 0%, rgba(0,23,61,0.92) 40%, rgba(0,23,61,0.4) 66%, rgba(0,23,61,0.1) 100%); } }
@media (max-width: 940px) {
  .steps-v2 .step::after { top: auto; bottom: -29px; right: auto; left: 54px; width: 2px; height: 30px; background: linear-gradient(180deg, #2CD2FF, #64F495); }
  .steps-v2 .step::before { top: auto; bottom: -31px; right: auto; left: 49px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 7px solid #64F495; border-bottom: 0; }
  .prisma-panel { grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; }
  .prisma-visual { min-height: 200px; }
  .prism { width: 104px; height: 92px; left: 30%; }
  .hero-shapes { top: 0; transform: none; right: -60px; width: 320px; opacity: .45; }
}
@media (max-width: 760px) {
  .hero-a .hero-inner { min-height: 0; }
  .hero-lines { top: auto; bottom: -6%; right: -45%; width: 175%; height: 62%; }
  .hero-lines img { object-position: 70% 55%;
    -webkit-mask-image: radial-gradient(ellipse 55% 60% at 55% 55%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 55% 60% at 55% 55%, #000 30%, transparent 100%); }
  .hero-a .hero-bg::after { background: linear-gradient(180deg, #00173D 0%, rgba(0,23,61,0.92) 45%, rgba(0,23,61,0.25) 72%, rgba(0,23,61,0.55) 100%); }
  .hero-title { font-size: clamp(38px, 11.4vw, 56px); line-height: 1.06; }
  .hero-inner { padding-bottom: 120px; }
}
@media (max-width: 620px) {
  .grid-moment { grid-template-columns: minmax(0, 1fr); }
  .hero-shapes { width: 240px; right: -70px; top: 20px; opacity: .35; }
  .prisma-panel { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .prisma-visual { min-height: 96px; order: 2; margin: 0 -6px; }
  .prism { width: 70px; height: 62px; left: 22%; }
  .beam-out { left: 28%; width: 70%; }
  .beam-in { width: 18%; }
  .prisma h2 { font-size: 27px; }
  .prisma-meta { gap: 12px; }
  .prism { width: 110px; height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .steps-v2 .step:hover, .steps-v2 .step:focus-visible { transform: none; }
}

/* Enfoque con acento cromático por dimensión */
#diferencial { background: radial-gradient(800px 480px at 8% 0%, rgba(121,108,249,0.16), rgba(0,23,61,0) 65%), radial-gradient(800px 480px at 95% 100%, rgba(100,244,149,0.10), rgba(0,23,61,0) 65%), var(--navy-900); }
.dim { position: relative; overflow: hidden; gap: 12px; border-top-width: 3px; }
.dim-ico { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.dim-ico svg { width: 24px; height: 24px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dim-v { border-top-color: #796CF9; background: linear-gradient(180deg, rgba(121,108,249,0.16), rgba(255,255,255,0.03) 70%); }
.dim-v .dim-ico { background: rgba(121,108,249,0.22); } .dim-v .dim-ico svg { stroke: #FFFFFF; }
.dim-c { border-top-color: #2CD2FF; background: linear-gradient(180deg, rgba(44,210,255,0.14), rgba(255,255,255,0.03) 70%); }
.dim-c .dim-ico { background: rgba(44,210,255,0.18); } .dim-c .dim-ico svg { stroke: #2CD2FF; }
.dim-g { border-top-color: #64F495; background: linear-gradient(180deg, rgba(100,244,149,0.13), rgba(255,255,255,0.03) 70%); }
.dim-g .dim-ico { background: rgba(100,244,149,0.18); } .dim-g .dim-ico svg { stroke: #64F495; }
.commit li { padding-left: 16px; border-left: 3px solid rgba(255,255,255,0.2); }
.commit .c-v { border-left-color: #796CF9; } .commit .c-c { border-left-color: #2CD2FF; } .commit .c-g { border-left-color: #64F495; }

/* PRISMA: sección propia a ancho completo (sin solaparse con IA) */
.prisma { background: radial-gradient(700px 420px at 88% 20%, rgba(121,108,249,0.30), rgba(121,108,249,0) 70%), radial-gradient(620px 380px at 6% 100%, rgba(44,210,255,0.14), rgba(44,210,255,0) 70%), linear-gradient(135deg, #001F5E 0%, #001F5E 60%, #00173D 100%); padding: var(--section-y) 0; border-top: 1px solid rgba(121,108,249,0.18); }
.prisma-panel { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0; overflow: visible; }

/* Enfoque: hover/foco en tarjetas */
.dim { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease; }
.dim-ico { transition: transform .22s ease, background .22s ease; }
.dim:hover, .dim:focus-within { transform: translateY(-5px); }
.dim-v:hover { box-shadow: 0 18px 40px rgba(121,108,249,0.28); border-color: rgba(121,108,249,0.6); border-top-color: #796CF9; }
.dim-c:hover { box-shadow: 0 18px 40px rgba(44,210,255,0.22); border-color: rgba(44,210,255,0.55); border-top-color: #2CD2FF; }
.dim-g:hover { box-shadow: 0 18px 40px rgba(100,244,149,0.2); border-color: rgba(100,244,149,0.55); border-top-color: #64F495; }
.dim:hover .dim-ico { transform: scale(1.08); }
.dim-v:hover .dim-ico { background: rgba(121,108,249,0.38); }
.dim-c:hover .dim-ico { background: rgba(44,210,255,0.32); }
.dim-g:hover .dim-ico { background: rgba(100,244,149,0.32); }

/* PRISMA: prisma visible */
.prism { width: 190px; height: 168px; background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(121,108,249,0.75) 45%, rgba(44,210,255,0.6)); filter: drop-shadow(0 0 22px rgba(121,108,249,0.45)); }
.prism::after { inset: 3px 3px 2px; background: linear-gradient(165deg, rgba(121,108,249,0.55) 0%, rgba(30,40,120,0.85) 55%, rgba(14,30,100,0.95) 100%); }
.prism::before { content: ""; position: absolute; inset: 0; z-index: 1; clip-path: polygon(50% 0, 62% 24%, 50% 100%, 38% 24%); background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0)); }
.beam-in { height: 3px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff); box-shadow: 0 0 10px rgba(255,255,255,0.6); }
.beam-out { height: 4px; filter: blur(0.3px); }
.b1 { box-shadow: 0 0 12px rgba(121,108,249,0.5); } .b2 { box-shadow: 0 0 12px rgba(44,210,255,0.5); } .b3 { box-shadow: 0 0 12px rgba(100,244,149,0.45); }
.prisma-visual { min-height: 300px; }
@media (max-width: 940px) { .prism { width: 120px; height: 106px; } .prisma-visual { min-height: 220px; } }
@media (max-width: 620px) { .prism { width: 92px; height: 82px; } .prisma-visual { min-height: 130px; } }
@media (prefers-reduced-motion: reduce) { .dim:hover, .dim:focus-within, .dim:hover .dim-ico { transform: none; } }

/* Variante con fotografía */
.hero-lines.media-photo { top: 0; bottom: 0; right: calc(-1 * max(var(--gutter), (100vw - 1380px) / 2 + var(--gutter))); width: min(70%, 1180px); }
.hero-lines.media-photo img { mix-blend-mode: normal; object-position: 85% 40%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(180deg, #000 78%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 34%), linear-gradient(180deg, #000 78%, transparent 100%); mask-composite: intersect; }

@media (max-width: 1190px) { .hero-lines.media-photo { width: 78%; }  }
@media (max-width: 760px) {
  .hero-lines.media-photo { top: auto; bottom: 0; right: 0; width: 100%; height: 46%; }
  .hero-lines.media-photo img { object-position: 78% 35%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%); -webkit-mask-composite: source-over; mask-composite: add; }
  
}

/* IA: hover/foco en tarjetas */
.ia-card { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background-color .22s ease; }
.ia-n { transition: transform .22s ease, box-shadow .22s ease; }
.ia-card:hover, .ia-card:focus-within { transform: translateY(-5px); border-color: rgba(100,244,149,0.6); background-color: rgba(255,255,255,0.08); box-shadow: 0 18px 40px rgba(100,244,149,0.16); }
.ia-card:hover .ia-n { transform: scale(1.08); box-shadow: 0 6px 18px rgba(44,210,255,0.35); }
@media (prefers-reduced-motion: reduce) { .ia-card:hover, .ia-card:focus-within, .ia-card:hover .ia-n { transform: none; } }

/* Nav: más secciones → menú hamburguesa desde 1180px */
@media (max-width: 1180px) {
  .js .nav { display: none; order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 6px; }
  .js .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; }
  .js .burger { display: flex; }
  .header-actions .btn-sm { display: none; }
  .js .nav .nav-cta { display: inline-flex; align-self: flex-start; margin: 8px 0 6px; padding: 12px 22px; color: var(--navy-800); }
}
.nav { gap: 6px 22px; }

/* Hero carrusel */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s; }
.js .hero-slide:not(.is-active) { opacity: 0; visibility: hidden; transform: translateY(10px); }
.js .hero-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html:not(.js) .hero-slide:not(:first-child), html:not(.js) .hero-controls { display: none; }
.hero-slide .hero-note { margin-top: -10px; }
.hero-q { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -0.025em; max-width: 20ch; text-wrap: balance; color: var(--on-dark); }
.hero-controls { display: flex; align-items: flex-end; gap: 16px; margin-top: 12px; max-width: 880px; }
.hero-tabs { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hero-tab { display: flex; flex-direction: column; gap: 10px; min-height: 44px; padding: 8px 0 4px; background: none; border: 0; cursor: pointer; text-align: left; color: var(--on-dark-3); font-size: 14px; line-height: 1.3; }
.hero-tab:hover, .hero-tab[aria-selected="true"] { color: var(--on-dark); }
.hero-tab-bar { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.18); overflow: hidden; }
.hero-tab-fill { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left center; }
.hero-tab.is-done .hero-tab-fill { transform: scaleX(1); opacity: .45; }
.hero-tab[aria-selected="true"] .hero-tab-fill { animation: ng-progress var(--hero-dur, 8s) linear forwards; opacity: 1; }
.hero.is-paused .hero-tab[aria-selected="true"] .hero-tab-fill { animation-play-state: paused; }
@keyframes ng-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-pause { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); background: rgba(0,23,61,0.4); color: var(--on-dark); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hero-pause:hover { border-color: var(--cyan); }
.hero-pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-pause .i-play { fill: currentColor; stroke: none; display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; } .hero-pause[aria-pressed="true"] .i-pause { display: none; }
@media (max-width: 620px) { .hero-tabs { gap: 8px; } .hero-tab { font-size: 12px; } .hero-q { font-size: clamp(28px, 8.4vw, 40px); } }
@media (prefers-reduced-motion: reduce) { .hero-tab[aria-selected="true"] .hero-tab-fill { transform: scaleX(1); } .hero-slide { transform: none !important; } }

/* Imagen por diapositiva (fundido cruzado) */
.hero-media { opacity: 0; transition: opacity 1s ease; }
.hero-media.is-active { opacity: 1; }
html:not(.js) .hero-media[data-slide="1"] { opacity: 1; }
.hero-media.is-active img { animation: ng-zoom 9s ease-out both; }
@keyframes ng-zoom { from { transform: scale(1.05); } to { transform: scale(1); } }
.media-placeholder { position: absolute; top: 0; bottom: 0; right: 0; width: 62%; }
.ph-3 { background: radial-gradient(ellipse 60% 55% at 62% 50%, rgba(121,108,249,0.28), rgba(0,23,61,0) 70%); }
.ph-4 { background: radial-gradient(ellipse 60% 55% at 62% 50%, rgba(100,244,149,0.20), rgba(0,23,61,0) 70%); }
@media (max-width: 760px) { .hero-inner { padding-bottom: 46vw; } .media-placeholder { top: auto; height: 50%; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .hero-media { transition: none; } .hero-media.is-active img { animation: none; } }

/* Menú móvil como panel superpuesto: no desplaza el contenido */
@media (max-width: 1180px) {
  .js .nav { position: absolute; left: 0; right: 0; top: 100%; background: rgba(0,23,61,0.98); padding: 6px var(--gutter) 16px; border-bottom: 1px solid rgba(255,255,255,0.1); box-shadow: 0 18px 40px rgba(0,0,0,0.35); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
}
section[id], #consultoria, #talento, #capacidades { scroll-margin-top: 80px; }

/* Select del formulario sobre fondo claro (la flecha se repetía) */
.contact-light .field select { background-color: #fff; background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; padding-right: 40px; }

/* WhatsApp flotante */
.wa-float { position: fixed; z-index: 60; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(0,0,0,0.28); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
html:not(.js) .wa-float { opacity: 1; transform: none; pointer-events: auto; }
.wa-float.is-visible:hover { transform: scale(1.06); }
.wa-float svg { width: 34px; height: 34px; }
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float.is-visible:hover { transition: none; transform: none; } }

/* Pieza en movimiento (canvas). Sin JS o con menos movimiento se ve la imagen fija. */
.hero-motion { position: absolute; top: 0; bottom: 0; right: 0; width: min(78%, 1240px); height: 100%; display: block;
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at 60% 52%, #000 30%, rgba(0,0,0,0.55) 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 60% at 60% 52%, #000 30%, rgba(0,0,0,0.55) 62%, transparent 100%); }
html:not(.js) .hero-motion, .hero:not(.motion-on) .hero-motion { display: none; }
.hero.motion-on .media-lines { display: none; }
@media (max-width: 760px) { .hero-motion { top: auto; height: 52%; width: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 80%, transparent 100%); } }

/* Hero: fotografía con tratamiento duotono (tinte de marca) + pieza punteada en movimiento */
.hero-a .hero-bg::after { display: none; }
.media-duo { position: absolute; inset: 0; }
.media-duo picture, .media-duo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.media-duo img { object-fit: cover; object-position: 78% 35%; filter: grayscale(1) contrast(1.12) brightness(1.1); mix-blend-mode: luminosity; opacity: .85; }
.tint-1 { background: linear-gradient(115deg, #001F5E 0%, #001F5E 48%, #2CD2FF 100%); }
.tint-2 { background: linear-gradient(115deg, #001F5E 0%, #796CF9 48%, #2CD2FF 100%); }
.tint-3 { background: linear-gradient(115deg, #00173D 0%, #796CF9 50%, #2CD2FF 100%); }
.tint-4 { background: linear-gradient(115deg, #001F5E 0%, #2CD2FF 50%, #64F495 100%); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,23,61,0.82) 0%, rgba(0,23,61,0.62) 34%, rgba(0,23,61,0.12) 62%, rgba(0,23,61,0) 78%), linear-gradient(180deg, rgba(0,23,61,0) 70%, rgba(0,23,61,0.55) 100%); }
.hero-motion { left: auto; right: 0; width: 40%; max-width: 640px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%); opacity: .75; }
html:not(.js) .hero-motion { display: none; }
.hero:not(.motion-on) .hero-motion { display: block; }
.hero-a .hero-inner { min-height: min(82vh, 760px); }
@media (max-width: 760px) {
  .media-duo img { object-position: 72% 30%; }
  .hero-shade { background: linear-gradient(180deg, rgba(0,23,61,0.85) 0%, rgba(0,23,61,0.7) 50%, rgba(0,23,61,0.25) 78%, rgba(0,23,61,0.5) 100%); }
  .hero-motion { top: auto; bottom: 0; height: 40%; width: 100%; max-width: none; opacity: .5; }
  .hero-inner { padding-bottom: 38vw; }
}

/* Paleta del Brand Book: Navy #001F5E · Azul Dark #00173D · Celeste #2CD2FF · Verde #64F495 · Violeta #796CF9 · Blanco */
.tint-1 { background: linear-gradient(115deg, #00173D 0%, #001F5E 45%, #2CD2FF 100%); }
.tint-2 { background: linear-gradient(115deg, #001F5E 0%, #796CF9 55%, #2CD2FF 100%); }
.tint-3 { background: linear-gradient(115deg, #00173D 0%, #001F5E 40%, #796CF9 100%); }
.tint-4 { background: linear-gradient(115deg, #001F5E 0%, #2CD2FF 60%, #64F495 100%); }
.tint-1 img, .tint-3 img, .tint-4 img { filter: grayscale(1) contrast(1.15) brightness(0.82); }
.tint-1 img { object-position: 72% 40%; } .tint-3 img { object-position: 70% 35%; } .tint-4 img { object-position: 85% 40%; }
.prisma-name { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow-prisma .bar { background: var(--violet); }
.hero-shade { background: linear-gradient(90deg, rgba(0,23,61,0.88) 0%, rgba(0,23,61,0.7) 34%, rgba(0,23,61,0.18) 62%, rgba(0,23,61,0) 80%), linear-gradient(180deg, rgba(0,23,61,0) 70%, rgba(0,23,61,0.55) 100%); }
@media (max-width: 760px) { .hero-shade { background: linear-gradient(180deg, rgba(0,23,61,0.9) 0%, rgba(0,23,61,0.75) 50%, rgba(0,23,61,0.25) 78%, rgba(0,23,61,0.5) 100%); } }

/* ===== Legibilidad del hero sobre fotos ===== */
.hero-shade { background:
  linear-gradient(90deg, rgba(0,23,61,0.94) 0%, rgba(0,23,61,0.88) 30%, rgba(0,23,61,0.6) 48%, rgba(0,23,61,0.15) 68%, rgba(0,23,61,0) 82%),
  linear-gradient(180deg, rgba(0,23,61,0.35) 0%, rgba(0,23,61,0) 22%, rgba(0,23,61,0) 66%, rgba(0,23,61,0.7) 100%); }
.hero-slide .hero-title, .hero-slide .hero-q, .hero-slide .hero-sub, .hero-slide .hero-note, .hero-slide .eyebrow { text-shadow: 0 1px 2px rgba(0,23,61,0.5), 0 4px 24px rgba(0,23,61,0.45); }
.hero-slide .hero-sub, .hero-slide .hero-note { color: #FFFFFF; }
.hero-tab { color: rgba(255,255,255,0.8); }
@media (max-width: 1190px) { .hero-shade { background: linear-gradient(90deg, rgba(0,23,61,0.94) 0%, rgba(0,23,61,0.86) 45%, rgba(0,23,61,0.5) 70%, rgba(0,23,61,0.25) 100%), linear-gradient(180deg, rgba(0,23,61,0) 66%, rgba(0,23,61,0.7) 100%); } }
@media (max-width: 760px) { .hero-shade { background: linear-gradient(180deg, rgba(0,23,61,0.95) 0%, rgba(0,23,61,0.9) 55%, rgba(0,23,61,0.45) 80%, rgba(0,23,61,0.7) 100%); } }

/* ===== Tarjetas: separación del fondo y animación ===== */
.card-lift { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
/* El momento */
#momento .card-pain { position: relative; overflow: hidden; background: #FFFFFF; border: 1px solid #CBD5E0; box-shadow: 0 2px 6px rgba(0,31,94,0.06), 0 12px 28px rgba(0,31,94,0.07); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
#momento .card-pain::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); transform: scaleX(0.18); transform-origin: left center; transition: transform .3s ease; }
#momento .card-pain:hover { transform: translateY(-6px); border-color: rgba(44,210,255,0.6); box-shadow: 0 4px 10px rgba(0,31,94,0.08), 0 22px 44px rgba(0,31,94,0.14); }
#momento .card-pain:hover::before { transform: scaleX(1); }
#momento .card-pain .ico { transition: transform .22s ease, background .22s ease; }
#momento .card-pain:hover .ico { transform: scale(1.08); background: var(--grad); }
#momento .card-pain:hover .ico svg { stroke: #001F5E; }

/* Servicios: Consultoría como núcleo en navy */
.serv-core { background: #001F5E; border: 0; box-shadow: 0 24px 56px rgba(0,31,94,0.22); }
.serv-core-head h3 { color: #FFFFFF; }
.serv-core-head p { color: rgba(255,255,255,0.8); }
.serv-core .line { background: #FFFFFF; box-shadow: none; }
.serv-side { background: #F0F4FA; border: 1px solid #CBD5E0; }
.serv-side .line { background: #FFFFFF; box-shadow: 0 2px 8px rgba(0,31,94,0.07); }
.line { transition: transform .22s ease, box-shadow .22s ease; }
.line:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,23,61,0.22); }
.serv-side .line:hover { box-shadow: 0 16px 32px rgba(0,31,94,0.14); }

/* Cómo trabajamos */
#proceso .step { background: #FFFFFF; border: 1px solid #CBD5E0; box-shadow: 0 2px 6px rgba(0,31,94,0.06), 0 14px 32px rgba(0,31,94,0.08); overflow: hidden; }
#proceso .step .step-head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
#proceso .principles li { background: #FFFFFF; border: 1px solid #CBD5E0; border-radius: 16px; padding: 22px 22px 24px; }

/* IA: tarjetas sólidas sobre el fondo oscuro */
.ia-card { background: #001F5E; border: 1px solid rgba(44,210,255,0.28); box-shadow: 0 18px 40px rgba(0,0,0,0.25); position: relative; overflow: hidden; }
.ia-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.ia-card p { color: rgba(255,255,255,0.82); }
.ia-card:hover, .ia-card:focus-within { background-color: #001F5E; border-color: rgba(100,244,149,0.7); }

/* PRISMA: panel navy sobre fondo blanco (corta con IA y destaca) */
.prisma { background: #FFFFFF; border-top: 0; padding: var(--section-y) 0; }
.prisma-panel { background: radial-gradient(620px 420px at 85% 15%, rgba(121,108,249,0.45), rgba(121,108,249,0) 70%), radial-gradient(520px 360px at 5% 100%, rgba(44,210,255,0.18), rgba(44,210,255,0) 70%), #001F5E;
  border-radius: 28px; padding: clamp(28px, 4.5vw, 64px); box-shadow: 0 30px 70px rgba(0,31,94,0.25); overflow: hidden; }
.prisma .lead { color: rgba(255,255,255,0.85); }
.prisma-status { color: #FFFFFF; background: rgba(121,108,249,0.3); border-color: rgba(255,255,255,0.35); }
.status-dot { background: #64F495; }
@media (max-width: 620px) { .prisma-panel { padding: 28px 22px 26px; border-radius: 22px; } }

/* Contacto en gris claro, formulario en blanco */
.contact-light { background: #F0F4FA; }
.contact-light .form { background: #FFFFFF; border-color: #CBD5E0; box-shadow: 0 18px 44px rgba(0,31,94,0.1); }
@media (prefers-reduced-motion: reduce) { #momento .card-pain:hover, .line:hover { transform: none; } #momento .card-pain::before { transition: none; } }

.hero-slide .grad-text, .prisma-name { text-shadow: none; filter: drop-shadow(0 4px 18px rgba(0,23,61,0.45)); }

/* ===== PRISMA editorial a pantalla completa (fondo blanco: alterna con IA oscuro) ===== */
.prisma-ed { position: relative; overflow: hidden; background: #FFFFFF; color: var(--ink); border-bottom: 1px solid #CBD5E0; }
.prisma-ed-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 28px; padding-top: var(--section-y); padding-bottom: var(--section-y); }
.bar-violet { background: var(--violet) !important; }
.prisma-head { display: flex; flex-direction: column; gap: 10px; max-width: none; }
.prisma-word { font-family: var(--display); font-weight: 700; font-size: clamp(76px, 15vw, 220px); line-height: 0.86; letter-spacing: -0.045em; color: #001F5E; }
.prisma-claim { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.02em; color: #001F5E; max-width: 22ch; }
.prisma-lead { max-width: 60ch; }
.prisma-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid #CBD5E0; max-width: 1040px; margin-top: 8px; }
.prisma-steps li { display: flex; flex-direction: column; gap: 6px; padding: 24px 28px 4px 0; }
.prisma-steps li + li { padding-left: 28px; border-left: 1px solid #CBD5E0; }
.ps-n { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .08em; color: #001F5E; display: inline-flex; align-items: center; gap: 10px; }
.ps-n::before { content: ""; width: 26px; height: 4px; border-radius: 2px; }
.ps-c::before { background: var(--cyan); } .ps-g::before { background: var(--green); } .ps-v::before { background: var(--violet); }
.prisma-steps h3 { font-size: 22px; color: #001F5E; }
.prisma-steps p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.prisma-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; }
.btn-navy { background: #001F5E; color: #FFFFFF; }
.btn-navy:hover { color: #FFFFFF; background: #00173D; box-shadow: 0 10px 26px rgba(0,31,94,0.25); }
.prisma-status-ed { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid #CBD5E0; font-size: 14px; font-weight: 700; color: #001F5E; white-space: nowrap; }
.prisma-ed .status-dot { background: var(--violet); }
.prisma-ed .prisma-link { color: #001F5E; }
/* Refracción: un haz entra y se abre en celeste, verde y violeta */
.prisma-refraction { position: absolute; z-index: 0; top: 0; right: 0; width: 62%; height: 62%; pointer-events: none; }
.pr-in { position: absolute; left: 0; top: 46%; width: 34%; height: 3px; background: linear-gradient(90deg, rgba(0,31,94,0), #001F5E); transform: rotate(6deg); transform-origin: right center; }
.pr-out { position: absolute; left: 34%; top: 46%; width: 80%; height: 46px; border-radius: 40px; transform-origin: left center; filter: blur(14px); opacity: .55; }
.pr-c { background: linear-gradient(90deg, #2CD2FF, rgba(44,210,255,0)); transform: rotate(-16deg); }
.pr-g { background: linear-gradient(90deg, #64F495, rgba(100,244,149,0)); transform: rotate(-4deg); }
.pr-v { background: linear-gradient(90deg, #796CF9, rgba(121,108,249,0)); transform: rotate(8deg); }
.pr-out::after { content: ""; position: absolute; left: 0; right: 30%; top: 50%; height: 2px; transform: translateY(-50%); background: inherit; filter: none; }
@media (max-width: 940px) { .prisma-refraction { width: 90%; height: 46%; opacity: .7; } .prisma-steps { grid-template-columns: minmax(0, 1fr); } .prisma-steps li, .prisma-steps li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid #CBD5E0; } }
@media (max-width: 620px) { .prisma-refraction { height: 30%; opacity: .55; } .prisma-actions .btn { width: 100%; } }

/* ===== PRISMA v2: misma escala tipográfica que el resto + visual contenido ===== */
.prisma-refraction, .prisma-word, .prisma-claim { display: none; }
.prisma-ed-inner { display: contents; }
.prisma-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.prisma-name-ed { color: #796CF9; }
.prisma-ed .section-head .prisma-actions { margin-top: 8px; }
.prisma-steps { margin-top: 0; max-width: none; }
.prisma-art { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: 24px;
  background: radial-gradient(70% 60% at 75% 50%, rgba(121,108,249,0.35), rgba(121,108,249,0) 70%), radial-gradient(60% 50% at 10% 55%, rgba(44,210,255,0.12), rgba(44,210,255,0) 70%), #001F5E;
  box-shadow: 0 30px 70px rgba(0,31,94,0.22); }
.pa-prism { position: absolute; left: 44%; top: 50%; width: 30%; aspect-ratio: 1 / 0.9; transform: translate(-50%, -50%); clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(160deg, rgba(255,255,255,0.95), rgba(255,255,255,0.55) 55%, rgba(44,210,255,0.7)); }
.pa-prism::after { content: ""; position: absolute; inset: 3px 3px 2px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: linear-gradient(165deg, rgba(121,108,249,0.6), #001F5E 70%); }
.pa-in { position: absolute; left: 0; top: 54%; width: 37%; height: 3px; background: linear-gradient(90deg, rgba(255,255,255,0), #FFFFFF); box-shadow: 0 0 12px rgba(255,255,255,0.7); transform: rotate(-7deg); transform-origin: right center; }
.pa-out { position: absolute; left: 50%; top: 52%; width: 56%; height: 3px; border-radius: 2px; transform-origin: left center; }
.pa-c { background: linear-gradient(90deg, #2CD2FF, rgba(44,210,255,0.2)); box-shadow: 0 0 12px rgba(44,210,255,0.7); transform: rotate(-15deg); }
.pa-g { background: linear-gradient(90deg, #64F495, rgba(100,244,149,0.2)); box-shadow: 0 0 12px rgba(100,244,149,0.7); transform: rotate(-2deg); }
.pa-v { background: linear-gradient(90deg, #796CF9, rgba(121,108,249,0.25)); box-shadow: 0 0 12px rgba(121,108,249,0.8); transform: rotate(11deg); }
.pa-fan { position: absolute; left: 50%; top: 52%; width: 60%; height: 16%; transform-origin: left center; filter: blur(18px); opacity: .35; border-radius: 50%; }
.pa-fan-c { background: #2CD2FF; transform: translateY(-50%) rotate(-15deg); } .pa-fan-g { background: #64F495; transform: translateY(-50%) rotate(-2deg); } .pa-fan-v { background: #796CF9; transform: translateY(-50%) rotate(11deg); }
@media (max-width: 940px) { .prisma-grid { grid-template-columns: minmax(0, 1fr); } .prisma-art { aspect-ratio: 16 / 9; max-width: 640px; } }

/* ===== PRISMA v3: imagen definitiva integrada sobre blanco ===== */
.prisma-v3 { position: relative; overflow: hidden; background: #FFFFFF; color: var(--ink); border-bottom: 1px solid #CBD5E0; }
.pv3-inner { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 44px); padding-top: var(--section-y); padding-bottom: var(--section-y); }
.pv3-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(16px, 2vw, 32px); align-items: center; }
.pv3-copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; }
.pv3-copy h2 { color: #001F5E; }
.pv3-name { color: #796CF9; }
.pv3-copy .lead { max-width: 56ch; }
.pv3-art { display: block; margin-right: calc(-1 * max(var(--gutter), (100vw - 1380px) / 2 + var(--gutter))); }
.pv3-art img { width: 100%; height: auto; display: block; }
.pv3-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #CBD5E0; }
.pv3-steps li { display: flex; flex-direction: column; gap: 8px; padding: 26px 32px 0 0; }
.pv3-steps li + li { padding-left: 32px; border-left: 1px solid #CBD5E0; }
.pv3-steps h3 { font-size: 22px; color: #001F5E; }
.pv3-steps p { font-size: 16px; line-height: 1.55; color: var(--ink-2); max-width: 34ch; text-wrap: pretty; }
@media (max-width: 940px) {
  .pv3-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pv3-art { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .pv3-steps { grid-template-columns: minmax(0, 1fr); }
  .pv3-steps li, .pv3-steps li + li { padding: 20px 0; border-left: 0; border-bottom: 1px solid #CBD5E0; }
  .pv3-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
}
@media (max-width: 620px) { .pv3-copy .prisma-actions .btn { width: 100%; } }

/* ===== Servicios v2: títulos + descripción en todas las líneas ===== */
#servicios .line { padding: 24px 22px 26px; gap: 10px; }
#servicios .line h4 { font-size: 18px; line-height: 1.25; }
#servicios .line p { font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }
#servicios .serv-core-head p { font-size: 17px; max-width: 62ch; }
#servicios .serv-side-head p { font-size: 16px; line-height: 1.55; max-width: 52ch; }
#servicios .serv-side { gap: 20px; }
@media (max-width: 1190px) { #servicios .grid-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { #servicios .line { padding: 20px 18px 22px; } }

/* ===== Encabezados de sección: usar el ancho disponible ===== */
.section-head { max-width: none; }
.section-head h2 { max-width: 1240px; }
.section-head .lead { max-width: 1180px; font-size: clamp(17px, 1.3vw, 20px); }
.pv3-copy .lead { max-width: 60ch; }

/* Frase de cierre de El momento: usar el ancho disponible */
#momento .quote { max-width: 1240px; }
/* PRISMA: fundido suave del haz de entrada en el borde izquierdo de la imagen (máscara, sin alterar colores) */
.pv3-art img { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 9%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 9%, #000 26%); }
@media (max-width: 940px) { .pv3-art img { -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.4) 7%, #000 20%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.4) 7%, #000 20%); } }

/* ===== Simplificación de contenidos ===== */
.method-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-top: 22px; border-top: 1px solid #CBD5E0; font-family: var(--display); font-weight: 500; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.4; color: #001F5E; letter-spacing: 0.01em; }
.ia-criteria { padding-top: 22px; gap: 12px 16px; }
.ia-criteria li { gap: 0; }
.ia-criteria strong { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.ia-criteria strong::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
#ia .stack-48 { padding-bottom: clamp(56px, 7vw, 88px); }
.commit p { max-width: 36ch; }
#momento .card-pain p, #servicios .line p, .ia-card p { text-wrap: pretty; }
@media (max-width: 620px) { .method-line { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* Consultoría: títulos en dos líneas paralelas (Xxx y / Yyy) */
#servicios .line h4.t2l span { display: block; }

/* Menú móvil: sin borde de foco al tocar */
.nav a:focus:not(:focus-visible) { outline: none; }
