/* =========================================================
   PROLYNX · SIGNAL DESIGN SYSTEM
   Space Grotesk + Inter + JetBrains Mono · Ink / Cream / Gold
   ========================================================= */

:root {
  --cream: #fffdf8;
  --cream-2: #f8efdd;
  --cream-3: #f3e7cd;
  --ink: #14202e;
  --ink-2: #0e1822;
  --ink-soft: #3a4656;
  --muted: #626b78;
  --gold: #f3ba2f;
  --gold-2: #ffcf52;
  --gold-deep: #a9760a;
  --line: rgba(20, 32, 46, 0.10);
  --line-2: rgba(20, 32, 46, 0.16);
  --dline: rgba(255, 255, 255, 0.12);
  --disp: "Space Grotesk", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --maxw: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

.shell {
  width: min(100% - 3rem, var(--maxw));
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--disp);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.mono {
  font-family: var(--mono);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.66rem 1.15rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--sans);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s, border-color 0.18s;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(243, 186, 47, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(243, 186, 47, 0.42);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  transform: translateY(-2px);
}

.btn-ghost-d {
  border-color: var(--dline);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost-d:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ghost-l {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}

.btn-ghost-l:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}

/* ===== TICKER ===== */
.ticker {
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.5rem 0;
  animation: ticker 32s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.ticker-track span::before {
  content: "→";
  color: var(--gold);
  font-size: 0.6rem;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ===== HEADER ===== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(20, 32, 46, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand img {
  height: 34px;
  width: auto;
}

.brand b {
  font-family: var(--disp);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.hnav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.9rem;
}

.hnav > a,
.hnav > button {
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.18s, background 0.18s;
}

.hnav > a:hover,
.hnav > button:hover,
.hnav > button.on {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hnav button.has-mega::after {
  content: "+";
  margin-left: 6px;
  color: var(--gold);
  transition: transform 0.25s;
  display: inline-block;
}

.hnav button.has-mega.on::after {
  transform: rotate(45deg);
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.kbar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--dline);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.18s;
}

.kbar:hover {
  border-color: var(--gold);
}

.kbar kbd {
  font-family: var(--mono);
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 1px 5px;
}

.hmenu-toggle {
  display: none;
}

/* ===== MEGA ===== */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 66px;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mega.open {
  max-height: 360px;
}

.mega-grid {
  width: min(100% - 3rem, var(--maxw));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.1fr;
  gap: 0.5rem;
  padding: 1.3rem 0 1.6rem;
}

.mega-col h6 {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.7rem;
  padding-left: 0.6rem;
}

.mega-link {
  display: block;
  padding: 0.6rem;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.82);
  transition: background 0.16s, transform 0.16s;
  transform: translateY(8px);
  opacity: 0;
}

.mega.open .mega-link {
  transform: none;
  opacity: 1;
  transition: background 0.16s, transform 0.4s, opacity 0.4s;
}

.mega.open .mega-link:nth-child(2) { transition-delay: 0.04s; }
.mega.open .mega-link:nth-child(3) { transition-delay: 0.08s; }
.mega.open .mega-link:nth-child(4) { transition-delay: 0.12s; }
.mega.open .mega-link:nth-child(5) { transition-delay: 0.16s; }
.mega.open .mega-link:nth-child(6) { transition-delay: 0.2s; }

.mega-link:hover {
  background: rgba(255, 255, 255, 0.07);
}

.mega-link strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}

.mega-link span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.mega-promo {
  background: linear-gradient(150deg, rgba(243, 186, 47, 0.18), rgba(243, 186, 47, 0.04));
  border: 1px solid rgba(243, 186, 47, 0.3);
  border-radius: 14px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mega-promo .mp-k {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.mega-promo h4 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0.5rem 0 0.9rem;
  line-height: 1.15;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, #1d2c3d 0%, var(--ink) 45%, var(--ink-2) 100%);
  color: #fff;
  overflow: hidden;
  padding: 3.6rem 0 4rem;
}

.hero-circuit {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  left: 50%;
  top: -120px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(243, 186, 47, 0.22), transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(243, 186, 47, 0.32);
  border-radius: 999px;
  background: rgba(243, 186, 47, 0.06);
  margin-bottom: 1.8rem;
}

.hero-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(243, 186, 47, 0.2);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 1.02;
  margin: 0 0 1.3rem;
}

.hero h1 .hl {
  color: var(--gold);
}

.hero-sub {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 62ch;
  margin: 0 auto 1.15rem;
}

/* hero command bar — protagonist */
.cmdbar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 0.65rem 0.7rem 0.65rem 1.1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  cursor: text;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.cmdbar:hover {
  border-color: rgba(243, 186, 47, 0.5);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(243, 186, 47, 0.08);
}

.cmdbar svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.cmdbar .cb-ph {
  flex: 1;
  text-align: left;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
}

.cmdbar .cb-cur {
  color: var(--gold);
  animation: blink 1.1s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.cmdbar kbd {
  font-family: var(--mono);
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 4px 8px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.hero-chips span {
  font-family: var(--mono);
  font-size: 0.76rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}

.hero-chips span:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(243, 186, 47, 0.08);
}

/* disciplinas bajo el subtítulo del hero */
.hero-disc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 2.1rem;
}

.hero-disc span {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
}

.hero-disc span:not(:last-child)::after {
  content: "·";
  color: var(--gold);
}

/* marcas cualitativas — reemplazan métricas sin evidencia verificable */
.hero-marks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem 2.2rem;
  margin-top: 2.4rem;
}

.hero-marks div {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.62);
}

.hero-marks div::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(243, 186, 47, 0.18);
  flex-shrink: 0;
}

/* ===== SECTION SHELL ===== */
.sec {
  padding: 3.4rem 0;
  position: relative;
  scroll-margin-top: 80px;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem 2.5rem;
  margin-bottom: 1.85rem;
  flex-wrap: wrap;
}

.sec-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.sec-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-deep);
}

.sec-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.04;
  margin: 0;
  max-width: 20ch;
}

.sec-head p {
  color: var(--muted);
  max-width: 36ch;
  margin: 0;
  font-size: 0.96rem;
}

/* subtítulo divisor dentro de una sección (p.ej. "Capacidades tecnológicas") */
.sub-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.4rem 0 1.15rem;
}

.sub-head h3 {
  font-size: 1.15rem;
  margin: 0;
  white-space: nowrap;
}

.sub-head .sh-note {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

.sub-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ===== BENTO SERVICES ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(0, auto);
  gap: 0.85rem;
}

.cell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
  background: var(--cream);
  overflow: hidden;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
  min-height: 150px;
}

.cell:hover {
  border-color: rgba(243, 186, 47, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 32, 46, 0.08);
}

.cell .c-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--gold-deep);
}

.cell h3 {
  font-size: 1.25rem;
  margin: 0.5rem 0 0.4rem;
}

.cell p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.cell .c-tags {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* solo la tarjeta grande empuja las etiquetas al fondo */
.cell-lg .c-tags {
  margin-top: auto;
  padding-top: 1.2rem;
}

.cell .c-tags span {
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: var(--cream-2);
  color: var(--gold-deep);
}

.cell-lg {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  border-color: transparent;
}

/* la última tarjeta ocupa 2 columnas para cerrar la grilla sin huecos */
.cell-wide {
  grid-column: span 2;
}

.cell-lg::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -70px;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 186, 47, 0.4), transparent 68%);
}

.cell-lg .c-num {
  color: var(--gold);
}

.cell-lg h3 {
  font-size: 2rem;
  position: relative;
}

.cell-lg p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
  max-width: 36ch;
  position: relative;
}

.cell-lg .c-tags span {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  position: relative;
}

.cell-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--mono);
  color: var(--muted);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.2s, transform 0.2s;
}

.cell:hover .cell-arrow {
  opacity: 1;
  transform: none;
  color: var(--gold-deep);
}

.cell-lg .cell-arrow {
  color: var(--gold);
}

/* ===== IMPACT · PROBLEMAS DE NEGOCIO ===== */
.qgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.qcard {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.qcard:hover {
  border-color: rgba(243, 186, 47, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(20, 32, 46, 0.07);
}

.qcard .q-n {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.qcard h3 {
  font-size: 1.18rem;
  margin: 0.45rem 0 0.5rem;
}

.qcard p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.1rem;
}

.q-sol {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink);
}

.q-sol::before {
  content: "→";
  color: var(--gold-deep);
}

/* ===== OFERTAS COMERCIALES ===== */
.ogrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.ocard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.4rem;
  background: var(--cream);
  overflow: hidden;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.ocard:hover {
  border-color: rgba(243, 186, 47, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 32, 46, 0.08);
}

.ocard.feat {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  border-color: transparent;
}

.ocard.feat::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: -90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 186, 47, 0.34), transparent 68%);
}

.ocard .o-k {
  position: relative;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.ocard.feat .o-k {
  color: var(--gold);
}

.ocard h3 {
  position: relative;
  font-size: 1.1rem;
  margin: 0.55rem 0 0.4rem;
  line-height: 1.15;
}

.o-claim {
  position: relative;
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 0 0.5rem;
}

.ocard p {
  position: relative;
  color: var(--muted);
  font-size: 0.87rem;
  margin: 0 0 1.2rem;
}

.ocard.feat p {
  color: rgba(255, 255, 255, 0.74);
}

.o-foot {
  position: relative;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem 0.45rem;
}

.ocard.feat .o-foot {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.o-price {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
}

.ocard.feat .o-price {
  color: #fff;
}

.o-note {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.ocard.feat .o-note {
  color: rgba(255, 255, 255, 0.55);
}

/* ===== FRACTIONAL CTO ===== */
.sec-fcto {
  background: radial-gradient(ellipse 70% 80% at 18% -10%, #1d2c3d 0%, var(--ink) 55%, var(--ink-2) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.sec-fcto .sec-label {
  color: var(--gold);
}

.sec-fcto .sec-label::before {
  background: var(--gold);
}

.sec-fcto .sec-head h2 {
  color: #fff;
}

.sec-fcto .sec-head p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 40ch;
}

.fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.fitem {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.fitem:hover {
  border-color: rgba(243, 186, 47, 0.5);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.fitem h4 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: #fff;
}

.fitem p {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
}

.fcta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(243, 186, 47, 0.32);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(243, 186, 47, 0.16), rgba(243, 186, 47, 0.03));
}

.fcta b {
  display: block;
  font-family: var(--disp);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.fcta p {
  margin: 0;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 54ch;
}

/* ===== CASOS · PROBLEMA / SOLUCIÓN ===== */
.kgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.kcard {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.kcard:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 186, 47, 0.5);
  box-shadow: 0 20px 44px rgba(20, 32, 46, 0.1);
}

.kcard-hd {
  padding: 1.3rem 1.4rem 0;
}

.kcard .k-k {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.kcard h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0 0;
  line-height: 1.15;
}

.kcard-bd {
  padding: 1.1rem 1.4rem 0;
  display: grid;
  gap: 0.85rem;
}

.kblock h5 {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.3rem;
}

.kblock p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--ink-soft);
}

.ktags {
  margin-top: auto;
  padding: 1.1rem 1.4rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ktags span {
  font-family: var(--mono);
  font-size: 0.66rem;
  padding: 0.24rem 0.6rem;
  border-radius: 6px;
  background: var(--cream-2);
  color: var(--gold-deep);
}

/* ===== METHOD TIMELINE ===== */
/* banda de contraste para alternar el ritmo vertical entre secciones claras */
.sec-band,
.sec-method {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mx {
  margin-top: 1.2rem;
}

.mx-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: 2rem;
}

.mx-track {
  position: absolute;
  top: 17px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: rgba(20, 32, 46, 0.14);
  border-radius: 2px;
  overflow: hidden;
}

.mx-track span {
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mx-step {
  position: relative;
  z-index: 1;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  text-align: left;
  padding: 0 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.mx-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid rgba(20, 32, 46, 0.2);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.mx-step:hover .mx-dot {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.mx-step.done .mx-dot {
  border-color: var(--gold);
  color: var(--gold-deep);
  background: rgba(243, 186, 47, 0.14);
}

.mx-step.active .mx-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgba(243, 186, 47, 0.18);
}

.mx-step-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.3s;
}

.mx-step.active .mx-step-name,
.mx-step.done .mx-step-name {
  color: var(--ink);
}

.mx-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(20, 32, 46, 0.06);
}

.mx-pane {
  display: none;
  grid-template-columns: 1fr 1.1fr;
}

.mx-pane.active {
  display: grid;
  animation: mxFade 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes mxFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.mx-left {
  padding: 2.2rem;
  background: linear-gradient(165deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.mx-left::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  bottom: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 186, 47, 0.32), transparent 68%);
}

.mx-phase {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
}

.mx-left h3 {
  font-size: 1.9rem;
  margin: 0.7rem 0 0.7rem;
  position: relative;
}

.mx-left p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.98rem;
  margin: 0;
  max-width: 32ch;
  position: relative;
}

.mx-meta {
  display: flex;
  gap: 1.6rem;
  margin-top: 1.8rem;
  position: relative;
}

.mx-meta div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mx-meta b {
  font-family: var(--disp);
  font-size: 1.3rem;
  color: #fff;
}

.mx-meta span {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.mx-right {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mx-right h5 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.1rem;
}

.mx-deliver {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.mx-deliver li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.96rem;
  color: var(--ink);
}

.mx-deliver li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--gold-deep);
}

.mx-autoplay {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.mx-autoplay .dotpulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.6s ease-in-out infinite;
}

.mx-autoplay.paused .dotpulse {
  background: var(--muted);
  animation: none;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243, 186, 47, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(243, 186, 47, 0); }
}

/* ===== SECTORS ===== */
.sgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.scard {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.3rem;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.scard:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-3px);
}

.scard:hover h4,
.scard:hover .sc-n {
  color: #fff;
}

.scard:hover .sc-arrow {
  color: var(--gold);
}

.scard h4 {
  font-size: 1.05rem;
  margin: 0.3rem 0 0;
}

.scard .sc-n {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--gold-deep);
}

.scard p {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0.3rem 0 0;
}

.scard:hover p {
  color: rgba(255, 255, 255, 0.6);
}

.sc-arrow {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 1.1rem;
}

/* ===== CASES ===== */
.cgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.ccard {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}

.ccard:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(20, 32, 46, 0.1);
}

.ccard-top {
  padding: 1.4rem 1.4rem 0;
}

.ccard .cc-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.ccard h3 {
  font-size: 1.25rem;
  margin: 0.7rem 0 0.6rem;
  line-height: 1.15;
}

.ccard p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.3rem;
}

.ccard-metric {
  margin-top: auto;
  padding: 1.1rem 1.4rem;
  border-top: 1px solid var(--line);
  background: var(--cream-2);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.ccard-metric b {
  font-family: var(--disp);
  font-size: 1.7rem;
  color: var(--ink);
}

.ccard-metric span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ===== PRODUCTS ===== */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.pcard {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transition: transform 0.24s, box-shadow 0.24s, border-color 0.24s;
}

.pcard:hover {
  transform: translateY(-6px);
  border-color: rgba(243, 186, 47, 0.5);
  box-shadow: 0 26px 54px rgba(20, 32, 46, 0.14);
}

.pchrome {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  background: var(--ink);
  flex-shrink: 0;
}

.pchrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.pchrome i:nth-child(1) { background: #ff5f57; }
.pchrome i:nth-child(2) { background: #febc2e; }
.pchrome i:nth-child(3) { background: #28c840; }

.pchrome .purl {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pshot {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink-2);
}

.pshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pcard:hover .pshot img {
  transform: scale(1.05);
}

.plive {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 24, 34, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s;
}

.pcard:hover .plive {
  opacity: 1;
}

.plive span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 26px rgba(243, 186, 47, 0.4);
  transform: translateY(8px);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pcard:hover .plive span {
  transform: none;
}

.pbody {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pbody .cc-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.pbody h3 {
  font-size: 1.25rem;
  margin: 0.55rem 0 0.5rem;
}

.pbody p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.1rem;
}

.ptags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ptags span {
  font-family: var(--mono);
  font-size: 0.66rem;
  padding: 0.24rem 0.6rem;
  border-radius: 6px;
  background: var(--cream-2);
  color: var(--gold-deep);
}

/* ===== CONTACT ===== */
.sec-contact {
  background: radial-gradient(ellipse 70% 80% at 50% 120%, #1d2c3d 0%, var(--ink) 50%, var(--ink-2) 100%);
  color: #fff;
  text-align: center;
  padding: 4.2rem 0;
  position: relative;
  overflow: hidden;
}

.sec-contact .hero-glow {
  top: auto;
  bottom: -200px;
}

.sec-contact h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin: 1rem auto 1rem;
  max-width: 16ch;
  line-height: 1.02;
}

.sec-contact h2 .hl {
  color: var(--gold);
}

.sec-contact > .shell > p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 44ch;
  margin: 0 auto 2.2rem;
}

.contact-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.contact-mini {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.4rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
  position: relative;
}

.contact-mini a:hover {
  color: var(--gold);
}

/* ===== FUNNEL · CÓMO SE TRABAJA CON PROLYNX ===== */
.funnel-head {
  position: relative;
  margin-top: 3rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
}

.funnel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 1.2rem;
  text-align: left;
}

.fstep {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
}

.fstep.free {
  border-color: rgba(243, 186, 47, 0.45);
  background: linear-gradient(150deg, rgba(243, 186, 47, 0.16), rgba(243, 186, 47, 0.03));
}

.fstep .fs-n {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.fstep h4 {
  font-size: 1rem;
  margin: 0.5rem 0 0.35rem;
  color: #fff;
}

.fstep p {
  font-size: 0.83rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 0.9rem;
}

.fs-tag {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.73rem;
  color: var(--gold);
}

.fstep::after {
  content: "→";
  position: absolute;
  right: -0.78rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 0.82rem;
  color: rgba(243, 186, 47, 0.75);
  z-index: 2;
}

.fstep:last-child::after {
  content: none;
}

/* ===== CONTACT FORM (on dark) ===== */
.cform {
  position: relative;
  width: min(640px, 100%);
  margin: 2rem auto 0;
  padding: 1.9rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.cform-head {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.3rem;
  text-align: left;
}

.form-progress-wrap {
  margin-bottom: 1.3rem;
}

.form-progress {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.form-progress-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transition: width 0.35s ease;
}

.form-progress-text {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0.5rem 0 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row.full {
  grid-column: 1 / -1;
}

.form-row label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.form-row input,
.form-row textarea {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  width: 100%;
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(243, 186, 47, 0.14);
}

.form-policy {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  text-align: left;
}

.form-policy input {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.form-policy a {
  color: var(--gold);
  text-decoration: underline;
}

.form-btn {
  grid-column: 1 / -1;
  justify-content: center;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.85rem;
  font-size: 0.95rem;
}

.form-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-alert {
  grid-column: 1 / -1;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  transition: opacity 0.3s, transform 0.3s;
}

.form-alert.success {
  background: rgba(40, 200, 100, 0.14);
  border: 1px solid rgba(40, 200, 100, 0.4);
  color: #b7f2cf;
}

.form-alert.error {
  background: rgba(255, 95, 87, 0.14);
  border: 1px solid rgba(255, 95, 87, 0.4);
  color: #ffc9c5;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(10, 18, 26, 0.6);
  backdrop-filter: blur(6px);
}

.modal-content {
  position: relative;
  width: min(620px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 2.2rem;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.modal-content p,
.modal-content li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

.modal-content strong {
  color: var(--gold);
}

.modal-content ul {
  padding-left: 1.2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 1.6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color 0.18s;
}

.modal-close:hover {
  color: var(--gold);
}

/* ===== FOOTER ===== */
footer {
  background: var(--ink-2);
  color: rgba(255, 255, 255, 0.62);
  padding: 3rem 0 2rem;
}

.ft-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ft-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 0.8rem;
}

.ft-brand p {
  max-width: 32ch;
  font-size: 0.9rem;
  margin: 0;
}

.ft-brand .ft-loc {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
  margin: 0.7rem 0 0;
  max-width: none;
  letter-spacing: 0.02em;
}

.ft-cols {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.ft-col h6 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.8rem;
}

.ft-col a {
  display: block;
  font-size: 0.88rem;
  padding: 0.2rem 0;
  transition: color 0.18s;
}

.ft-col a:hover {
  color: #fff;
}

.ft-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ===== FLOATING DOCK ===== */
.dock {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.4rem;
  background: rgba(20, 32, 46, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.dock a {
  position: relative;
  z-index: 1;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s;
}

.dock a.active {
  color: var(--ink);
}

.dock a:hover {
  color: #fff;
}

.dock a.active:hover {
  color: var(--ink);
}

.dock-pill {
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  border-radius: 999px;
  background: var(--gold);
  transition: left 0.35s cubic-bezier(0.3, 1.2, 0.5, 1), width 0.35s cubic-bezier(0.3, 1.2, 0.5, 1);
  z-index: 0;
}

.dock-k {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.66rem;
  cursor: pointer;
  margin-left: 0.2rem;
  transition: background 0.18s;
}

.dock-k:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ===== COMMAND PALETTE ===== */
.cmdk {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 13vh;
  background: rgba(10, 18, 26, 0.55);
  backdrop-filter: blur(7px);
}

.cmdk.open {
  display: flex;
}

.cmdk-box {
  width: min(620px, 92vw);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: cmdkIn 0.2s ease;
  color: #fff;
}

@keyframes cmdkIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
}

.cmdk-input {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cmdk-input svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.cmdk-input input {
  flex: 1;
  border: 0;
  background: none;
  font: inherit;
  font-size: 1.02rem;
  color: #fff;
  outline: none;
}

.cmdk-input input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cmdk-input kbd {
  font-family: var(--mono);
  font-size: 0.66rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 2px 6px;
  color: rgba(255, 255, 255, 0.6);
}

.cmdk-list {
  max-height: 52vh;
  overflow-y: auto;
  padding: 0.5rem;
}

.cmdk-group {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.7rem 0.8rem 0.4rem;
}

.cmdk-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.68rem 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.82);
}

.ci-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--gold);
  flex-shrink: 0;
}

.ci-label {
  flex: 1;
  font-size: 0.94rem;
}

.ci-sub {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.45);
}

.cmdk-item.sel,
.cmdk-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cmdk-item.sel .ci-ico {
  background: var(--gold);
  color: var(--ink);
}

.cmdk-empty {
  padding: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ===== INTERIOR / SERVICE PAGES ===== */
.page-hero {
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, #1d2c3d 0%, var(--ink) 45%, var(--ink-2) 100%);
  color: #fff;
  overflow: hidden;
  padding: 3.1rem 0 3.1rem;
}

.page-hero .hero-glow {
  top: -160px;
}

.page-hero-inner {
  position: relative;
  max-width: 780px;
}

.page-hero .sec-label {
  color: var(--gold);
}

.page-hero .sec-label::before {
  background: var(--gold);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.03;
  margin: 0.9rem 0 1.1rem;
}

.page-hero h1 .hl {
  color: var(--gold);
}

.page-hero .lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 56ch;
  margin: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.two-col h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 1rem;
}

.lede {
  color: var(--muted);
  font-size: 1rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.info-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem;
  background: var(--cream);
}

.info-box.dark {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff;
  border-color: transparent;
}

.info-box h3 {
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
}

.info-box.dark h3 {
  color: #fff;
}

.info-box.dark p {
  color: rgba(255, 255, 255, 0.74);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-deep);
  font-weight: 700;
}

.info-box.dark .check-list li {
  color: rgba(255, 255, 255, 0.85);
}

.info-box.dark .check-list li::before {
  color: var(--gold);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.reason {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.3rem;
  background: var(--cream);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s, transform 0.2s;
}

.reason:hover {
  border-color: rgba(243, 186, 47, 0.5);
  transform: translateY(-3px);
}

.cta-band {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band-inner h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 0.6rem 0 0.7rem;
  max-width: 22ch;
}

.cta-band-inner p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
}

.cta-band-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hnav,
  .kbar .kb-text {
    display: none;
  }

  .hmenu-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    border: 1px solid var(--dline);
    background: none;
    cursor: pointer;
  }

  .hmenu-toggle span,
  .hmenu-toggle span::before,
  .hmenu-toggle span::after {
    content: "";
    display: block;
    width: 17px;
    height: 1.5px;
    background: #fff;
    position: relative;
  }

  .hmenu-toggle span::before {
    position: absolute;
    top: -5px;
  }

  .hmenu-toggle span::after {
    position: absolute;
    top: 5px;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .cell-lg {
    grid-column: span 2;
    grid-row: span 1;
  }

  /* la tarjeta ancha vuelve a 1 columna fuera del escritorio
     (span 2 en una grilla de 1-2 columnas rompe el layout) */
  .cell-wide {
    grid-column: auto;
  }

  .mx-pane.active {
    grid-template-columns: 1fr;
  }

  .sgrid,
  .cgrid,
  .pgrid,
  .ogrid,
  .kgrid,
  .fgrid,
  .funnel {
    grid-template-columns: 1fr 1fr;
  }

  /* fuera del escritorio el funnel se apila: la flecha lateral deja de tener sentido */
  .fstep::after {
    content: none;
  }

  .mega-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .reasons-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dock {
    display: none;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 2rem, var(--maxw));
  }

  .bento,
  .sgrid,
  .cgrid,
  .pgrid,
  .reasons-grid,
  .form-grid,
  .qgrid,
  .ogrid,
  .kgrid,
  .fgrid,
  .funnel {
    grid-template-columns: 1fr;
  }

  .sub-head h3 {
    white-space: normal;
  }

  .sub-head .sh-note {
    display: none;
  }

  .hero-marks {
    gap: 0.6rem 1.4rem;
  }

  .mx-rail {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mx-track {
    display: none;
  }

  .mx-step {
    flex-direction: row;
    align-items: center;
    padding: 0.55rem 0;
  }

  .mx-step-name {
    font-size: 0.95rem;
  }

  .cell-lg {
    grid-column: span 1;
  }

  .hero-stats {
    gap: 1.6rem;
  }

  .mega-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
