/* ===================================================
   Ethical Shields AI — Sistema de diseño editorial
   Tokens: colores, tipografía, escala, componentes
   =================================================== */

/* --- Tokens de color --- */
:root {
  --ink:     #0B1C36;
  --navy:    #10294D;
  --teal:    #178C73;
  --teal-br: #1FB295;
  --amber:   #F2B24B;
  --amber-d: #D9912A;
  --cream:   #F6F0E2;
  --paper:   #FBF7EE;
  --muted:   #5A6B85;
  --muted-c: #9FB0C8;
  --teal-ink:  #13725E; /* variantes AA para texto sobre fondos claros */
  --amber-ink: #8A560F;
}

/* --- Reset base --- */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  margin: 0;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -.03em;
  font-weight: 800;
}
p  { margin: 0; }
a  { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* --- Layout --- */
.wrap  { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.block { padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }

/* --- Color blocks --- */
.cream { background: var(--cream); }
.paper { background: var(--paper); }
.navy  { background: var(--navy);  color: var(--cream); }
.navy  h1, .navy  h2, .navy  h3 { color: #fff; }
.amber { background: var(--amber); color: var(--navy); }
.amber h2 { color: var(--navy); }
.teal  { background: var(--teal);  color: #F2FBF8; }
.teal  h2, .teal h3 { color: #fff; }

/* --- Tipografía utilitaria --- */
.mono  { font-family: 'Space Mono', monospace; }
.kick  {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.kick::before { content: ""; width: 30px; height: 2px; background: currentColor; opacity: .5; }
.kick.k-teal  { color: var(--teal); }
.kick.k-amber { color: var(--amber-d); }
.kick.k-cream { color: var(--amber); }
.cream .kick.k-teal,  .paper .kick.k-teal  { color: var(--teal-ink); }
.cream .kick.k-amber, .paper .kick.k-amber { color: var(--amber-ink); }
.mb    { margin-bottom: 22px; }

.h-xl  { font-size: clamp(34px, 6.6vw, 76px);  letter-spacing: -.04em; }
.h-lg  { font-size: clamp(28px, 4.6vw, 52px);  letter-spacing: -.035em; }
.lead  { font-size: clamp(16px, 1.7vw, 19px); max-width: 560px; margin-top: 18px; }
.cream .lead, .paper .lead { color: var(--muted); }
.navy  .lead, .teal  .lead { color: rgba(246,240,226,.82); }

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 4px;
  transition: transform .14s ease, background .14s ease, color .14s;
  cursor: pointer;
  letter-spacing: -.01em;
}
.btn:hover          { transform: translateY(-2px); }
.b-navy             { background: var(--navy);  color: var(--cream); }
.b-navy:hover       { background: var(--ink); }
.b-amber            { background: var(--amber); color: var(--navy); }
.b-line             { border: 1.6px solid var(--navy);  color: var(--navy); }
.b-line:hover       { background: var(--navy);  color: var(--cream); }
.b-line-l           { border: 1.6px solid rgba(246,240,226,.4); color: var(--cream); }
.b-line-l:hover     { background: rgba(246,240,226,.1); }

/* --- Navegación --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,240,226,.85);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(16,41,77,.12);
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 17px;
  color: var(--navy);
  letter-spacing: -.02em;
}
.brand-mark        { height: 46px; width: auto; display: block; }
.footer .brand-mark { height: 40px; }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
}
.nav-links a:hover  { color: var(--navy); }
.nav-cta            { color: var(--navy) !important; border-bottom: 2px solid var(--amber); padding-bottom: 2px; }

/* Selector de idioma */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(16,41,77,.18);
  border-radius: 3px;
  overflow: hidden;
}
.lang-switch a, .lang-switch span {
  padding: 4px 8px;
  transition: background .12s, color .12s;
}
.lang-switch a:hover { background: rgba(16,41,77,.07); color: var(--navy); }
.lang-switch .active { background: var(--navy); color: var(--cream) !important; }

/* --- Hero --- */
.hero { padding: clamp(48px,7vw,86px) 0 clamp(56px,8vw,96px); }
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(16,41,77,.2);
  padding-bottom: 14px;
  margin-bottom: clamp(34px,5vw,60px);
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero h1             { font-size: clamp(46px, 5.8vw, 70px); letter-spacing: -.04em; }
.hero h1 .mark       { background: var(--amber); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 .06em; }
.hero h1 .it         { font-style: italic; font-weight: 600; }
.hero-lower          { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: end; margin-top: clamp(34px,5vw,58px); }
.hero-sub            { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted); max-width: 480px; }
.hero-cta            { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 28px; }
.hero-trust          { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-top: 20px; }
.hero-mark           { justify-self: end; }
.hero-mark .sq {
  width: clamp(120px, 15vw, 180px);
  height: clamp(120px, 15vw, 180px);
  background: var(--teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-4deg);
  box-shadow: 0 24px 50px rgba(16,41,77,.22);
}
.hero-mark svg { width: 54%; height: auto; }

/* --- Franja de confianza --- */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); border-top: 1px solid rgba(16,41,77,.16); }
.trust .it { padding: 30px 14px 24px; border-right: 1px solid rgba(16,41,77,.12); }
.trust .it:last-child { border-right: none; }
.trust .n  {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: -.03em;
  color: var(--navy);
  line-height: .95;
}
.trust .n.t { color: var(--teal); }
.trust .l  { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-top: 8px; }

/* --- Sección de problemas --- */
.prob { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px,1fr)); gap: 2px 46px; margin-top: 30px; }
.prob div { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(246,240,226,.16); font-size: clamp(16px, 1.7vw, 19px); color: rgba(246,240,226,.92); }
.prob .i  { font-family: 'Space Mono', monospace; color: var(--amber); font-size: 13px; padding-top: 5px; }

/* --- Servicios (índice tipográfico) --- */
.svc { margin-top: clamp(30px,4vw,50px); }
.svc-cat {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  padding: clamp(26px,3vw,40px) 0 4px;
}
.svc-cat:first-of-type { padding-top: 6px; }
.svc-row {
  display: grid;
  grid-template-columns: 58px minmax(200px, 1.1fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: baseline;
  padding: clamp(20px,2.4vw,30px) 0;
  border-top: 1px solid rgba(16,41,77,.18);
  transition: padding-left .18s ease;
}
.svc-row:last-child { border-bottom: 1px solid rgba(16,41,77,.18); }
.svc-row .ix { font-family: 'Space Mono', monospace; font-size: 14px; color: var(--teal); }
.svc-row .nm { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: clamp(21px, 2.9vw, 32px); color: var(--navy); letter-spacing: -.025em; transition: color .18s; }
.svc-row .ds { font-size: 15.5px; color: var(--muted); }
.svc-row:hover            { padding-left: 14px; }
.svc-row:hover .nm        { color: var(--teal); }
.svc-row.has-detail       { align-items: start; }
.ds-wrap { display: flex; flex-direction: column; gap: 12px; }
.svc-toggle {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  background: none;
  border: 1.5px solid var(--teal);
  border-radius: 6px;
  cursor: pointer;
  padding: 5px 14px;
  transition: background .18s ease, color .18s ease;
  width: fit-content;
}
.svc-toggle::after        { content: ' +'; }
.svc-toggle:hover         { background: var(--teal); color: #fff; }
.svc-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.svc-row.open .svc-toggle       { background: var(--teal); color: #fff; }
.svc-row.open .svc-toggle::after { content: ' −'; }
.svc-detail {
  grid-column: 1 / -1;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.65;
  overflow: hidden;
  max-height: 0;
  transition: max-height .34s cubic-bezier(.22,1,.36,1), padding-top .3s ease;
  padding-top: 0;
  padding-left: calc(58px + 26px);
}
.svc-row.open .svc-detail { max-height: 900px; padding-top: 14px; }

/* Detalle de mercadeo */
.mkt-head { margin-top: clamp(40px,5vw,64px); }
.mkt-head h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: clamp(22px,3vw,32px); color: var(--navy); letter-spacing: -.025em; margin: 6px 0 0; }
.mkt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; margin-top: 24px; }
.mkt-card { background: #fff; border: 1px solid #E7E2D2; border-radius: 14px; padding: 22px; transition: transform .2s ease; }
.mkt-card:hover { transform: translateY(-4px); }
.mkt-card .mk { font-family: 'Space Mono', monospace; font-size: 12px; color: var(--teal); letter-spacing: .06em; }
.mkt-card h4  { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 18px; color: var(--navy); letter-spacing: -.02em; margin: 10px 0 6px; }
.mkt-card p   { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* --- Productos (bento) --- */
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-auto-rows: 1fr; gap: 16px; margin-top: clamp(30px,4vw,50px); }
.bx {
  border-radius: 14px;
  padding: clamp(18px,2vw,26px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 150px;
  transition: transform .18s ease;
}
.bx:hover  { transform: translateY(-4px); }
.bx .bk    { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.bx h3     { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(20px,2.2vw,27px); letter-spacing: -.03em; margin: 12px 0 8px; }
.bx p      { font-size: 14.5px; line-height: 1.52; }
.bx-lead   { grid-row: span 2; }
.bx-full   { grid-column: 1 / -1; }
.bx-teal   { background: var(--teal);  color: #fff; }
.bx-teal p { color: rgba(255,255,255,.9); }
.bx-amber  { background: var(--amber); color: var(--navy); }
.bx-amber p { color: rgba(16,41,77,.78); }
.bx-navy   { background: var(--navy);  color: var(--cream); }
.bx-navy h3 { color: #fff; }
.bx-navy p  { color: rgba(246,240,226,.82); }
.bx-cta    { font-family: 'Space Mono', monospace; font-size: 13px; letter-spacing: .04em; margin-top: 16px; color: var(--amber); }

/* Hybrid tag */
.hyb {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.hyb::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.bx-navy .hyb  { background: rgba(246,240,226,.1);  color: #CBD6E6; }
.bx-teal .hyb  { background: rgba(255,255,255,.18); color: #EAFBF5; }
.bx-amber .hyb { background: rgba(16,41,77,.12);    color: var(--navy); }

/* GesPro screenshot in bento card */
.gp-screen { margin: 14px calc(-1 * clamp(18px,2vw,26px)) calc(-1 * clamp(18px,2vw,26px)); overflow: hidden; border-radius: 0 0 14px 14px; border-top: 1px solid rgba(255,255,255,.08); }
.gp-screen img { width: 100%; display: block; opacity: .92; }

/* GesPro logotype */
.gp-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(24px,3vw,34px);
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 10px;
}
.gp-logo::before { content: ""; width: 15px; height: 15px; border-radius: 4px; background: linear-gradient(135deg, #1FB295, #F2B24B); }

/* Bento integration note — footnote style */
.bento-note {
  font-size: 11.5px;
  color: var(--muted);
  opacity: .7;
  font-family: 'Space Mono', monospace;
  letter-spacing: .04em;
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid rgba(16,41,77,.12);
  padding-left: 0;
}
.bento-note::before { content: "* "; }

/* ==================== Compact card chrome ==================== */
.bx-teaser { margin-top: 8px; }
.bx[data-modal] { cursor: pointer; }
.bx[data-modal]:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.bx-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: default;
  padding: 0;
  pointer-events: none;
}
.bx-navy .bx-more  { color: var(--amber); }
.bx-teal .bx-more  { color: rgba(255,255,255,.88); }
.bx-amber .bx-more { color: rgba(16,41,77,.65); }

/* ==================== Product modals ==================== */
.prod-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11,28,54,.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.prod-backdrop.open { opacity: 1; pointer-events: auto; }
.prod-modal {
  background: var(--cream);
  border-radius: 18px;
  padding: clamp(28px,4vw,44px);
  max-width: 580px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(18px) scale(.98);
  opacity: 0;
  transition: transform .26s cubic-bezier(.22,1,.36,1), opacity .2s ease;
}
.prod-backdrop.open .prod-modal { transform: translateY(0) scale(1); opacity: 1; transition-delay: .05s; }
.prod-modal.m-navy  { border-top: 4px solid var(--navy); }
.prod-modal.m-teal  { border-top: 4px solid var(--teal); }
.prod-modal.m-amber { border-top: 4px solid var(--amber); }
.prod-modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(16,41,77,.18);
  background: none;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: background .15s, color .15s, border-color .15s;
}
.prod-modal-x:hover  { background: var(--ink); color: #fff; border-color: var(--ink); }
.prod-modal-x:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.prod-modal .bk {
  display: block;
  margin-bottom: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 1;
}
.prod-modal .hyb  { background: rgba(16,41,77,.08); color: var(--navy); margin-bottom: 12px; }
.prod-modal .gp-logo { color: var(--navy); margin: 8px 0 14px; }
.prod-modal h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(22px,3.5vw,34px);
  color: var(--navy);
  letter-spacing: -.03em;
  margin: 8px 0 16px;
  line-height: 1.1;
}
.prod-modal p  { font-size: 15.5px; color: var(--muted); line-height: 1.62; }
.prod-modal p + p { margin-top: 12px; }
.modal-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--teal);
  color: #fff;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .18s, transform .15s;
}
.modal-cta:hover  { background: var(--navy); transform: translateY(-1px); }
.modal-cta.m-amber { background: var(--amber); color: var(--navy); }

/* --- Modal gallery --- */
.modal-gallery { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(16,41,77,.12); }
.modal-gallery-lbl { font-family: 'Space Mono', monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.modal-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); gap: 8px; }
.modal-thumbs figure { margin: 0; }
.modal-thumbs img { width: 100%; height: 82px; object-fit: cover; border-radius: 8px; display: block; border: 1.5px solid rgba(16,41,77,.1); cursor: zoom-in; transition: transform .15s, border-color .15s; }
.modal-thumbs img:hover { transform: scale(1.03); border-color: var(--teal); }
.modal-thumbs figcaption { font-family: 'Space Mono', monospace; font-size: 9.5px; letter-spacing: .04em; color: var(--muted); margin-top: 5px; line-height: 1.4; }
.modal-ph-sm { border: 1.5px dashed rgba(16,41,77,.2); border-radius: 8px; background: rgba(16,41,77,.03); display: flex; flex-direction: column; align-items: center; justify-content: center; height: 82px; font-family: 'Space Mono', monospace; font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 10px; gap: 4px; }

/* --- Lightbox --- */
.lbx { position: fixed; inset: 0; background: rgba(11,28,54,.93); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.lbx.open { opacity: 1; pointer-events: auto; }
.lbx-inner { position: relative; max-width: min(92vw, 1100px); }
.lbx-inner img { display: block; max-width: 100%; max-height: 80vh; border-radius: 12px; object-fit: contain; }
.lbx-cap { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(246,240,226,.5); text-align: center; margin-top: 12px; }
.lbx-x { position: absolute; top: -18px; right: -18px; width: 36px; height: 36px; border-radius: 50%; background: rgba(246,240,226,.12); border: 1.5px solid rgba(246,240,226,.22); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; cursor: pointer; transition: background .15s; }
.lbx-x:hover { background: rgba(246,240,226,.28); }
.modal-cta.m-amber:hover { background: var(--amber-d); transform: translateY(-1px); }

/* Image placeholders */
.imgrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 22px; }
.imgrow img { width: 100%; height: 200px; object-fit: cover; border-radius: 14px; display: block; transition: transform .18s ease; }
.imgrow img:hover { transform: translateY(-3px); }
.imgph  {
  border: 1.5px dashed rgba(16,41,77,.26);
  border-radius: 14px;
  background: rgba(16,41,77,.025);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  font-family: 'Space Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 18px;
  line-height: 1.6;
}

/* --- Marquee de sectores --- */
.marquee { background: var(--navy); overflow: hidden; border-top: 1px solid rgba(246,240,226,.08); border-bottom: 1px solid rgba(246,240,226,.08); }
.mq-track { display: flex; align-items: center; white-space: nowrap; width: max-content; animation: mq 32s linear infinite; }
.mq-track span { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: clamp(17px,2.3vw,28px); color: rgba(246,240,226,.46); padding: 16px 26px; letter-spacing: -.02em; }
.mq-track .dot  { color: var(--teal);  padding: 16px 0; }
.mq-track .more { color: var(--amber); }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Método (pasos numerales gigantes) --- */
.steps { display: flex; flex-wrap: wrap; gap: clamp(20px,3vw,44px); margin-top: clamp(34px,4vw,54px); }
.stp   { flex: 1 1 120px; }
.stp .sn {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(40px,6vw,72px);
  letter-spacing: -.04em;
  color: var(--navy);
  line-height: .9;
}
.stp:nth-child(n+4) .sn { color: var(--teal); }
.stp .sl { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 10px; border-top: 2px solid rgba(16,41,77,.18); padding-top: 10px; }

/* --- Trayectoria --- */
.tray { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px,4vw,56px); align-items: center; }
.tray .yr {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(96px,21vw,236px);
  line-height: .74;
  color: var(--amber);
  letter-spacing: -.05em;
}
.tray .tt h2 { font-size: clamp(24px,3.2vw,40px); }
.tray .tt p  { color: rgba(246,240,226,.82); font-size: clamp(15px,1.6vw,18px); margin-top: 14px; max-width: 560px; }

/* --- IA Responsable — cards --- */
.eth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); gap: 14px; margin-top: 36px; }
.eth-card { background: var(--paper); border: 1px solid rgba(16,41,77,.1); border-top: 3px solid var(--teal); border-radius: 14px; padding: 24px 22px; transition: transform .2s ease, box-shadow .2s ease; }
.eth-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(16,41,77,.09); }
.eth-card .ec-num { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .1em; color: var(--teal); margin-bottom: 14px; }
.eth-card .ec-title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: clamp(16px,1.8vw,20px); color: var(--navy); letter-spacing: -.02em; margin-bottom: 8px; }
.eth-card .ec-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* --- Formulario evaluación estratégica --- */
.form-backdrop { position: fixed; inset: 0; background: rgba(11,28,54,.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 950; opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.form-backdrop.open { opacity: 1; pointer-events: auto; }
.form-modal-box { background: var(--cream); border-radius: 18px; padding: clamp(24px,4vw,40px); max-width: 540px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; transform: translateY(18px) scale(.98); opacity: 0; transition: transform .26s cubic-bezier(.22,1,.36,1), opacity .2s ease; border-top: 4px solid var(--teal); }
.form-backdrop.open .form-modal-box { transform: none; opacity: 1; transition-delay: .05s; }
.form-modal-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(16,41,77,.18); background: none; cursor: pointer; color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; transition: background .15s, color .15s; }
.form-modal-x:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.form-modal-x:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.form-head { margin-bottom: 22px; }
.form-head .bk { display: block; font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.form-head h2 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(20px,3vw,28px); color: var(--navy); letter-spacing: -.03em; margin: 0 0 8px; }
.form-head p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.form-group { margin-bottom: 13px; }
.form-group label { display: block; font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 11px 13px; border: 1.5px solid rgba(16,41,77,.18); border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 14.5px; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; box-sizing: border-box; }
.form-group select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6B85' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; cursor: pointer; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,140,115,.12); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #9FB0C8; opacity: .8; }
.form-group textarea { resize: vertical; min-height: 78px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 15px; padding: 14px 28px; background: var(--teal); color: #fff; border: none; border-radius: 8px; cursor: pointer; margin-top: 8px; width: 100%; transition: background .15s, transform .15s; }
.form-submit:hover { background: var(--navy); transform: translateY(-1px); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-note { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .04em; color: var(--muted); margin-top: 12px; text-align: center; opacity: .7; }
.form-success { text-align: center; padding: 24px 0; }
.form-success .fs-icon { font-size: 44px; line-height: 1; margin-bottom: 16px; }
.form-success h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 24px; color: var(--navy); letter-spacing: -.03em; margin: 0 0 10px; }
.form-success p { font-size: 15px; color: var(--muted); line-height: 1.6; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .form-modal-box { transform: none; opacity: 1; transition-delay: 0s; } }

/* --- Floating CTA --- */
.float-cta { position: fixed; bottom: 26px; right: 26px; z-index: 800; display: flex; flex-direction: column; gap: 9px; opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .28s ease, transform .28s ease; }
.float-cta.visible { opacity: 1; pointer-events: auto; transform: none; }
.float-btn { display: inline-flex; align-items: center; gap: 7px; font-family: 'Space Mono', monospace; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 11px 18px; border-radius: 50px; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 18px rgba(11,28,54,.22); transition: transform .15s, box-shadow .15s; }
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(11,28,54,.28); }
.float-btn-primary { background: var(--navy); color: var(--cream); }
.float-btn-wa { background: var(--teal); color: #fff; }
.float-btn-trigger { border: none; cursor: pointer; background: var(--navy); color: var(--cream); }
.float-menu { display: none; flex-direction: column; align-items: flex-end; gap: 8px; margin-bottom: 4px; }
.float-menu.open { display: flex; animation: fadeUp .18s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.float-arrow { display: inline-block; transition: transform .2s ease; }
#float-trigger-en[aria-expanded="true"] .float-arrow { transform: rotate(180deg); }
@media (max-width: 760px) {
  .float-cta { bottom: 16px; right: 14px; gap: 7px; }
  .float-btn { font-size: 9.5px; padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) { .float-cta { transition: none; } .float-menu.open { animation: none; } .float-arrow { transition: none; } }

/* --- CTA final --- */
.cta      { text-align: left; }
.cta h2   { font-size: clamp(32px,6vw,72px); letter-spacing: -.04em; max-width: 14ch; }
.cta .row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* --- Dashboard panel (hero widget) --- */
.hero-panel { width: 100%; max-width: 300px; background: #0B1C36; border-radius: 16px; padding: 20px 20px 22px; box-shadow: 0 24px 60px rgba(11,28,54,.32); }
.hp-top   { display: flex; justify-content: space-between; align-items: center; }
.hp-lbl   { font-family: 'Space Mono', monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #7E92B2; }
.hp-score { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 48px; color: #1FB295; line-height: 1; letter-spacing: -.03em; margin: 8px 0 2px; }
.hp-row   { display: flex; justify-content: space-between; align-items: center; margin-top: 13px; font-size: 11.5px; color: #A9B6C8; font-family: 'Space Mono', monospace; }
.hp-tag   { font-size: 10px; padding: 2px 8px; border-radius: 6px; font-family: 'Space Mono', monospace; }
.hp-tag.a { background: rgba(242,178,75,.16); color: #F2B24B; }
.hp-tag.t { background: rgba(33,176,147,.18);  color: #1FB295; }
.hp-bar   { height: 6px; border-radius: 4px; background: rgba(255,255,255,.08); margin-top: 18px; overflow: hidden; }
.hp-bar i { display: block; height: 100%; width: 63%; background: linear-gradient(90deg, #178C73, #F2B24B); border-radius: 4px; transform-origin: left; transform: scaleX(0); }
.hp-bar.ran i { animation: grow 1.5s cubic-bezier(.22,1,.36,1) both; }
@keyframes grow     { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pulseTag { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.hp-tag.pulse { animation: pulseTag 2.6s ease-in-out infinite; }

/* --- Footer --- */
.footer    { background: var(--ink); color: var(--muted-c); padding: 38px 0; }
.footer-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer .brand { color: var(--cream); }
.footer .fl    { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .06em; color: #7488A8; text-transform: uppercase; }
.footer-right  { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.footer-email  { font-family: 'Space Mono', monospace; font-size: 12px; letter-spacing: .06em; color: #9FB0C8 !important; text-decoration: none; transition: color .15s; }
.footer-email:hover { color: var(--amber) !important; }
@media (max-width: 760px) { .footer-right { align-items: flex-start; } }

/* --- Reveal on scroll --- */
.rv    { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.rv.in { opacity: 1; transform: none; }

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 820px) {
  .nav-links a:not(.nav-cta):not(.lang-switch) { display: none; }
  .hero-lower       { grid-template-columns: 1fr; align-items: start; }
  .hero-mark        { justify-self: start; }
  .hero-mark .sq    { transform: rotate(-4deg); }
  .svc-row          { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; align-items: flex-start; }
  .svc-row:hover    { padding-left: 0; }
  .svc-row .nm      { font-size: clamp(20px,5.5vw,26px); }
  .svc-row .ds-wrap { width: 100%; }
  .bento            { grid-template-columns: 1fr; }
  .bx-lead          { grid-row: auto; }
  .tst-grid         { grid-template-columns: 1fr; }
  .tray             { grid-template-columns: 1fr; }
  .imgrow           { grid-template-columns: 1fr; }
  .svc-detail       { padding-left: 0; }
}

/* Accesibilidad — movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .rv               { transition: none; opacity: 1; transform: none; }
  .btn:hover,
  .bx:hover,
  .svc-row:hover,
  .mkt-card:hover   { transform: none; }
  .mq-track         { animation: none; }
  .hp-bar.ran i     { animation: none; transform: scaleX(1); }
  .hp-tag.pulse     { animation: none; }
  .prod-modal       { transform: none; opacity: 1; transition-delay: 0s; }
  .lbx              { transition: none; }
  .tst-card:hover   { transform: none; box-shadow: none; }
}

/* ===== Testimonios / Social proof ===== */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(30px, 4vw, 50px); }
.tst-card { margin: 0; padding: 28px 26px; background: #fff; border: 1px solid rgba(16,41,77,.1); border-radius: 14px; display: flex; flex-direction: column; gap: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.tst-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(16,41,77,.09); }
.tst-card::before { content: '\201C'; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 56px; color: var(--amber); line-height: .8; display: block; }
.tst-q { font-size: clamp(15px, 1.6vw, 17px); color: var(--ink); line-height: 1.62; font-style: italic; margin: 0; }
.tst-who { display: flex; flex-direction: column; gap: 3px; margin-top: auto; }
.tst-role { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 14.5px; color: var(--navy); letter-spacing: -.01em; }
.tst-sector { font-family: 'Space Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ===== TEST DE MADUREZ / MATURITY ASSESSMENT ===== */
.test-wrap { max-width: 680px; margin: 0 auto; }
.test-meta-row { display: flex; gap: 24px; flex-wrap: wrap; margin: 18px 0 32px; }
.tmi { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); display: flex; align-items: center; gap: 6px; }
.tmi::before { content: '—'; }
.test-prog { margin-bottom: 28px; }
.test-prog-track { height: 2px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.test-prog-fill { height: 100%; background: var(--amber); border-radius: 99px; transition: width .4s ease; }
.test-prog-label { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.6); text-transform: uppercase; margin-top: 8px; }
.test-q-area { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.test-q-text { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: clamp(19px,2.8vw,26px); color: #fff; line-height: 1.35; margin-bottom: 24px; }
.test-opts { display: flex; flex-direction: column; gap: 8px; }
.test-opt { padding: 15px 18px; border: 1.5px solid rgba(255,255,255,.12); border-radius: 10px; color: rgba(255,255,255,.8); font-size: 15px; line-height: 1.45; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; text-align: left; background: transparent; width: 100%; font-family: 'Inter', sans-serif; }
.test-opt:hover { border-color: rgba(242,178,75,.6); background: rgba(242,178,75,.06); transform: translateX(3px); }
.test-opt.selected { border-color: var(--teal); background: rgba(23,140,115,.12); color: #fff; }
@media (max-width: 600px) { .test-opt { font-size: 14px; padding: 13px 16px; } .test-opt:hover { transform: none; } }
.test-preview { text-align: center; padding: 32px 0 20px; }
.test-preview-score { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(64px,14vw,108px); color: var(--amber); line-height: 1; margin-bottom: 4px; }
.test-preview-max { font-family: 'Space Mono', monospace; font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.test-preview-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px; border: 1.5px solid rgba(242,178,75,.4); border-radius: 99px; margin-bottom: 24px; }
.test-preview-nivel { font-family: 'Space Mono', monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.test-preview-name { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 17px; color: #fff; }
.test-preview-cta-text { color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.75; max-width: 480px; margin: 0 auto 28px; }
.test-form .form-group label { color: rgba(255,255,255,.7); }
.test-form input { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); color: #fff; }
.test-form input::placeholder { color: rgba(255,255,255,.55); }
.test-form input:focus { border-color: var(--teal); background: rgba(255,255,255,.1); }
.test-res-header { text-align: center; margin-bottom: 40px; }
.test-res-score { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(56px,12vw,96px); color: var(--amber); line-height: 1; }
.test-res-max { font-family: 'Space Mono', monospace; font-size: 12px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.test-res-badge { display: inline-block; padding: 5px 14px; border-radius: 99px; background: var(--amber); color: var(--ink); font-family: 'Space Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 12px 0 10px; }
.test-res-name { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(22px,4vw,34px); color: #fff; margin-bottom: 14px; }
.test-res-desc { color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.75; max-width: 540px; margin: 0 auto 36px; }
.test-recs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.test-rec { padding: 18px 22px; background: rgba(255,255,255,.06); border-left: 3px solid var(--teal-br); border-radius: 0 8px 8px 0; }
.test-rec strong { font-family: 'Space Mono', monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-br); display: block; margin-bottom: 5px; }
.test-rec p { color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.6; margin: 0; }
.test-res-ctas { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.test-restart-btn { font-family: 'Space Mono', monospace; font-size: 11px; color: rgba(255,255,255,.6); cursor: pointer; background: none; border: none; text-decoration: underline; padding: 4px; }
.test-restart-btn:hover { color: rgba(255,255,255,.6); }
.test-form-err { color: var(--amber); font-size: 14px; text-align: center; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .test-opt, .test-prog-fill { transition: none; } .test-opt:hover { transform: none; } }
