/* =========================================================
   Paraguay Tech — Landing 2026
   Dirección: ingeniería editorial paraguaya
   1. Tokens
   2. Reset y base
   3. Utilidades
   4. Header y navegación
   5. Hero y panel de operación
   6. Confianza
   7. Problemas (marfil)
   8. Casos y demos de producto
   9. Portfolio compacto
   10. Capacidades
   11. Método
   12. Empresa, equipo y compromisos
   13. Testimonios
   14. Preguntas (marfil)
   15. Contacto
   16. Footer
   17. Legal
   18. Movimiento y responsive
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #070a11;
  --bg-soft: #0a0f18;
  --bg-elevated: #0c131e;
  --surface: rgba(255, 255, 255, 0.028);
  --border: rgba(243, 239, 231, 0.11);
  --border-strong: rgba(243, 239, 231, 0.2);
  --text: #f3efe7;
  --muted: #a6afbd;
  --muted-2: #7d8899;
  --gold: #c9a86a;
  --gold-soft: #e6d2a6;
  --gold-ink: #6f5320;
  --green: #7fc79a;
  --danger: #f0a8a8;
  --paper: #f4f0e7;
  --paper-2: #ebe4d7;
  --ink: #12161d;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", "Fira Sans", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 34px 90px -44px rgba(0, 0, 0, 0.95);
  --container: 1200px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
}

/* ---------- 2. Reset y base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(46% 36% at 82% 0%, rgba(201, 168, 106, 0.075), transparent 70%),
    radial-gradient(44% 34% at 2% 18%, rgba(104, 126, 158, 0.075), transparent 72%),
    var(--bg);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.35rem);
  line-height: 0.99;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.02em;
}

h4 {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

p {
  text-wrap: pretty;
}

::selection {
  background: rgba(201, 168, 106, 0.3);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Utilidades ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 0 0 8px 8px;
  background: var(--gold);
  color: #0a0f19;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow__flag {
  width: 34px;
  height: 19px;
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(243, 239, 231, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn svg {
  flex: none;
}

.btn--primary {
  background: var(--text);
  border-color: var(--text);
  color: #080d15;
}

.btn--primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

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

.btn--block {
  width: 100%;
}

.micro {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  margin-top: 0.4rem;
  border-bottom: 1px solid rgba(201, 168, 106, 0.45);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2.8s ease-out infinite;
}

.live--ended::before {
  background: var(--muted-2);
  animation: none;
}

.pill {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.5rem;
  border: 1px solid rgba(127, 199, 154, 0.22);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8e3c7;
  white-space: nowrap;
}

.status span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.status--pre {
  border-color: rgba(201, 168, 106, 0.28);
  color: var(--gold-soft);
}

.status--pre span {
  background: var(--gold);
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 50px;
  height: 50px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(201, 168, 106, 0.16), rgba(255, 255, 255, 0.02));
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
}

.avatar--sm {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 0.62rem;
}

.section {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}

.section__head h2 {
  margin-top: 1rem;
}

.section__head h2 em,
.problems__intro h2 em,
.company__copy h2 em,
.contact__intro h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section__lead {
  margin-top: 1.1rem;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.section--paper {
  background: var(--paper);
  color: var(--ink);
  --text: #12161d;
  --muted: #4b5563;
  --muted-2: #5d6775;
  --gold: #7a5b22;
  --gold-soft: #6b4f1c;
  --border: rgba(18, 22, 29, 0.16);
  --border-strong: rgba(18, 22, 29, 0.28);
  border-block: 1px solid rgba(18, 22, 29, 0.14);
}

.section--paper .section__lead {
  color: #48515e;
}

.section--paper .eyebrow {
  color: var(--gold);
}

.section--paper .btn--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.section--paper .btn--primary:hover {
  background: #2a3342;
  border-color: #2a3342;
}

.section--paper .btn--ghost {
  border-color: rgba(18, 22, 29, 0.3);
  color: var(--ink);
}

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

.section--paper :focus-visible {
  outline-color: #6b4d18;
}

/* ---------- 4. Header y navegación ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 10, 17, 0.86);
  border-color: var(--border);
  backdrop-filter: blur(16px) saturate(130%);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
}

.brand__text span {
  color: var(--gold-soft);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.78rem;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link[aria-current="true"] {
  color: var(--text);
}

.nav__link[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.18rem;
  height: 1px;
  background: var(--gold);
}

.nav__cta {
  margin-left: 0.7rem;
  min-height: 40px;
  padding: 0.6rem 1rem;
  font-size: 0.84rem;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__bar {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1px;
  background: var(--text);
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle__bar:first-child {
  top: 19px;
}

.nav-toggle__bar:last-child {
  top: 26px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

/* ---------- 5. Hero y panel de operación ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3.2rem, 6.5vw, 5.6rem) 0 clamp(3.8rem, 7vw, 6.2rem);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(243, 239, 231, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(243, 239, 231, 0.045) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: radial-gradient(74% 64% at 48% 26%, #000 8%, transparent 78%);
  mask-image: radial-gradient(74% 64% at 48% 26%, #000 8%, transparent 78%);
  opacity: 0.52;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.34;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.92fr);
  gap: clamp(2.6rem, 5vw, 4.8rem);
  align-items: center;
}

.hero__copy h1 {
  margin-top: 1.3rem;
  max-width: 15ch;
}

.hero__copy h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--gold-soft);
}

.lead {
  margin-top: 1.35rem;
  max-width: 50ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.1rem;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 2.7rem;
  border-top: 1px solid var(--border);
}

.hero__proof li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1rem 0 0;
  border-left: 1px solid var(--border);
}

.hero__proof li:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero__proof li:not(:first-child) {
  padding-left: 0.9rem;
}

.hero__proof strong {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}

.hero__proof span {
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.ops-panel {
  position: relative;
  width: 100%;
  max-width: 470px;
  justify-self: end;
  padding: 1.15rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(175deg, #0d141f, #080c13 72%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ops-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 106, 0.75), transparent);
}

.ops-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.ops-panel__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.ops-panel__brand img {
  border-radius: 6px;
}

.ops-row {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border);
}

.ops-row__top {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.ops-row__tag {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.ops-row__meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.ops-row__value {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.ops-row__value--text {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.ops-row__bar {
  height: 4px;
  margin: 0.6rem 0 0.45rem;
  border-radius: 2px;
  background: rgba(243, 239, 231, 0.08);
  overflow: hidden;
}

.ops-row__bar i,
.ui__kpi i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(201, 168, 106, 0.5), var(--gold-soft));
}

.bar--40 { width: 40%; }
.bar--54 { width: 54%; }
.bar--68 { width: 68%; }
.bar--74 { width: 74%; }
.bar--92 { width: 92%; }

.ops-row__note {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted-2);
}

.ops-panel__flow {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ops-panel__flow i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 168, 106, 0.15), rgba(201, 168, 106, 0.65));
}

.ops-panel__note {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(127, 199, 154, 0.4); }
  70% { box-shadow: 0 0 0 7px rgba(127, 199, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 199, 154, 0); }
}

/* ---------- 6. Confianza ---------- */
.trust {
  padding: 1.7rem 0;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.014);
}

.trust__inner {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.trust__label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--muted);
}

.trust__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem 1.8rem;
}

.trust__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}

.trust__list span {
  font-size: 0.86rem;
  color: var(--text);
}

.trust__list small {
  font-family: var(--mono);
  font-size: 0.53rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

/* ---------- 7. Problemas ---------- */
.problems {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2.8rem, 6vw, 5.5rem);
  align-items: start;
}

.problems__intro {
  position: sticky;
  top: calc(var(--header-h) + 2.2rem);
}

.problems__intro h2 {
  margin-top: 1rem;
  max-width: 20ch;
}

.problems__intro h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.problems__list {
  border-top: 1px solid var(--border);
}

.problems__list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.55rem 0 1.7rem;
  border-bottom: 1px solid var(--border);
}

.problems__num {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.problems__list h3 {
  font-size: 1.22rem;
  max-width: 24ch;
}

.problems__list p {
  margin-top: 0.55rem;
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.problems__list .problems__result {
  margin-top: 0.8rem;
  padding-left: 0.8rem;
  border-left: 1px solid var(--gold);
  color: var(--text);
  font-size: 0.87rem;
  font-weight: 500;
}

.problems__list .text-link {
  margin-top: 0.4rem;
}

/* ---------- 8. Casos y demos de producto ---------- */
.section--cases {
  background:
    radial-gradient(50% 30% at 78% 12%, rgba(34, 106, 180, 0.08), transparent 72%),
    linear-gradient(180deg, #080c14, #070a11);
}

.case {
  padding: clamp(2.5rem, 5vw, 4.4rem) 0;
  border-top: 1px solid var(--border);
}

.case__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.case--reverse .case__copy {
  order: 2;
}

.case--reverse .case__visual {
  order: 1;
}

.case__index {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
}

.case__copy h3 {
  margin-top: 0.9rem;
  max-width: 24ch;
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
}

.case__copy h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.case__statement {
  margin-top: 1.15rem;
  padding: 0.9rem 1rem;
  border-left: 2px solid #62d7df;
  background: linear-gradient(90deg, rgba(98, 215, 223, 0.1), transparent);
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-style: italic;
  line-height: 1.55;
}

.case__steps {
  margin-top: 1.8rem;
  border-top: 1px solid var(--border);
}

.case__steps li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.case__steps h4 {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.case__steps p {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.62;
}

.case__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case__metrics li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 0.9rem 0.95rem 0;
  border-left: 1px solid var(--border);
}

.case__metrics li:first-child {
  border-left: 0;
  padding-left: 0;
}

.case__metrics li:not(:first-child) {
  padding-left: 0.9rem;
}

.case__metrics strong {
  font-family: var(--mono);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
}

.case__metrics span {
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--muted-2);
}

.case__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  margin-top: 1.6rem;
}

.case__visual {
  position: relative;
  min-width: 0;
}

.case__visual::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  z-index: -1;
  background: radial-gradient(circle, var(--case-glow, rgba(201, 168, 106, 0.22)), transparent 68%);
  filter: blur(26px);
}

.case__visual--siocode { --case-glow: rgba(34, 106, 180, 0.24); }
.case__visual--registrame { --case-glow: rgba(242, 133, 0, 0.2); }
.case__visual--aegis { --case-glow: rgba(98, 215, 223, 0.2); }

/* Carrusel de producto SIOCODE */
.product-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 629 / 465;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 44%, rgba(33, 76, 122, 0.18), transparent 58%),
    #070d15;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  isolation: isolate;
}

.product-carousel__viewport {
  position: absolute;
  inset: 34px 0 0;
  overflow: hidden;
}

.product-carousel__slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  opacity: 0;
  transform: translate3d(2%, 0, 0) scale(0.992);
  transition: opacity 650ms ease, transform 850ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.product-carousel__slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.product-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.96) contrast(1.02);
}

.product-carousel--aegis {
  aspect-ratio: 1440 / 970;
  border-color: rgba(98, 215, 223, 0.32);
  background: #061015;
}

.product-carousel--aegis .product-carousel__chrome {
  background: #071217;
}

.product-carousel--aegis .product-carousel__chrome span:first-child,
.product-carousel--aegis .product-carousel__dots button.is-active {
  background: #62d7df;
}

.product-carousel__chrome {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 0.75rem;
  border-bottom: 1px solid var(--border);
  background: #0d141f;
}

.product-carousel__chrome span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(243, 239, 231, 0.2);
}

.product-carousel__chrome span:first-child { background: rgba(201, 168, 106, 0.8); }

.product-carousel__chrome b {
  margin-left: 0.5rem;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.product-carousel__controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(6, 12, 20, 0.82);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.product-carousel__dots { display: flex; align-items: center; gap: 6px; }

.product-carousel__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
  transition: width 220ms ease, background-color 220ms ease;
}

.product-carousel__dots button.is-active {
  width: 22px;
  background: var(--gold);
}

.product-carousel__toggle {
  min-height: 30px;
  padding: 0 8px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--text);
  cursor: pointer;
}

.product-carousel__dots button:focus-visible,
.product-carousel__toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .product-carousel { aspect-ratio: 4 / 3; }
  .product-carousel__chrome b { font-size: 0.52rem; }
  .product-carousel__controls { right: 8px; bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-carousel__slide,
  .product-carousel__dots button { transition: none; }
}

/* Demo SIOCODE */
.ui {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #0a1019;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.ui__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  background: #0d141f;
}

.ui__bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(243, 239, 231, 0.2);
}

.ui__bar span:first-child {
  background: rgba(201, 168, 106, 0.8);
}

.ui__bar p {
  margin-left: 0.5rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.ui__body {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  min-height: 352px;
}

.ui__side {
  padding: 0.9rem 0.65rem;
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.014);
}

.ui__side-brand {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 1rem;
  border-radius: 7px;
  background: #0d1725;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--gold-soft);
}

.ui__side ul {
  display: grid;
  gap: 0.2rem;
}

.ui__side li {
  padding: 0.38rem 0.45rem;
  border-radius: 4px;
  font-size: 0.68rem;
  color: var(--muted-2);
}

.ui__side li.is-active {
  background: rgba(201, 168, 106, 0.1);
  color: var(--gold-soft);
}

.ui__main {
  min-width: 0;
  padding: 0.9rem;
}

.ui__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.ui__title {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.ui__sub {
  margin-top: 0.1rem;
  font-size: 0.64rem;
  color: var(--muted-2);
}

.ui__chip {
  padding: 0.18rem 0.4rem;
  border: 1px solid rgba(127, 199, 154, 0.24);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b8e3c7;
  white-space: nowrap;
}

.ui__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.ui__kpi {
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.018);
}

.ui__kpi span {
  display: block;
  font-family: var(--mono);
  font-size: 0.48rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.ui__kpi strong {
  display: block;
  margin: 0.2rem 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.ui__kpi i {
  height: 3px;
  background: linear-gradient(90deg, rgba(201, 168, 106, 0.35), rgba(201, 168, 106, 0.9));
}

.ui__table {
  margin-top: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
}

.ui__row {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1fr 0.35fr;
  gap: 0.4rem;
  padding: 0.46rem 0.55rem;
  border-top: 1px solid var(--border);
  font-size: 0.6rem;
  color: var(--muted);
}

.ui__row--head {
  border-top: 0;
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.ui__ok { color: #b8e3c7; }
.ui__wait { color: var(--gold-soft); }

.ui__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.7rem;
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.ui__sync {
  color: #b8e3c7;
}

.ui__note {
  padding: 0.45rem 0.75rem;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* Demo RegistraMe */
.case__visual--registrame {
  display: grid;
  place-items: center;
  min-height: 430px;
}

.phone {
  position: relative;
  width: min(235px, 70%);
  aspect-ratio: 9 / 18.6;
  padding: 7px;
  border: 1px solid rgba(243, 239, 231, 0.22);
  border-radius: 32px;
  background: #05080d;
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.95);
}

.phone__notch {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 2;
  width: 62px;
  height: 5px;
  border-radius: 4px;
  background: #05080d;
  transform: translateX(-50%);
}

.phone__screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.6rem 0.85rem 0.9rem;
  border-radius: 26px;
  background:
    radial-gradient(80% 40% at 50% 0%, rgba(242, 133, 0, 0.14), transparent 70%),
    linear-gradient(180deg, #0e1725, #080d15);
  overflow: hidden;
}

.phone__brand {
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}

.scan {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 1.2rem auto 0.9rem;
  border-radius: 50%;
  color: var(--gold-soft);
  background: rgba(201, 168, 106, 0.06);
  overflow: hidden;
}

.scan__ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(201, 168, 106, 0.5);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.scan__line {
  position: absolute;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 106, 0.9), transparent);
  animation: scan 3.4s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scan {
  0%, 100% { top: 20%; opacity: 0.2; }
  50% { top: 80%; opacity: 1; }
}

.phone__eyebrow {
  font-family: var(--mono);
  font-size: 0.44rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted-2);
}

.phone__time {
  margin-top: 0.2rem;
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--text);
}

.phone__data {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
}

.phone__data li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.52rem;
}

.phone__data span {
  color: var(--muted-2);
}

.phone__data strong {
  font-weight: 500;
  color: var(--text);
}

.phone__offline {
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  font-size: 0.45rem;
  line-height: 1.5;
  color: var(--gold-soft);
  text-align: center;
}

.phone-card {
  position: absolute;
  right: 0;
  bottom: 2.4rem;
  width: 200px;
  padding: 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: rgba(10, 16, 25, 0.96);
  box-shadow: var(--shadow);
}

.phone-card__label {
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.phone-card strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
}

.phone-card p {
  margin-top: 0.25rem;
  font-size: 0.6rem;
  line-height: 1.45;
  color: var(--muted-2);
}

/* ---------- 9. Portfolio compacto ---------- */
.portfolio {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.portfolio__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  margin-bottom: 1.2rem;
}

.portfolio__head h3 {
  font-size: 1.25rem;
}

.portfolio__head p {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.product-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1.5fr) minmax(0, 0.75fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  transition: background-color 0.2s ease;
}

.product-row:hover {
  background: rgba(255, 255, 255, 0.018);
}

.product-row__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  justify-self: center;
}

.product-row:nth-child(1) .product-row__logo {
  width: 54px;
  height: 30px;
}

.product-row__main h4 {
  font-size: 1rem;
}

.product-row__main p {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.product-row__sector {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--muted-2);
}

.product-row__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  padding: 0 0.2rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.product-row__link:hover {
  color: var(--gold);
}

/* ---------- 10. Capacidades ---------- */
.capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.6rem 2.4rem;
}

.capability {
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}

.capability__num {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.capability h3 {
  margin-top: 0.7rem;
  font-size: 1.28rem;
}

.capability > p:not(.capability__num):not(.capability__when) {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.capability__list {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.capability__list li {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: var(--text);
}

.capability__list li::before {
  content: "+";
  font-family: var(--mono);
  color: var(--gold);
}

.capability__when {
  margin-top: 1.1rem;
  padding-left: 0.8rem;
  border-left: 1px solid var(--gold);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
}

.capability__when span {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.stack-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.2rem;
  margin-top: 3.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.64rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.stack-line span {
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- 11. Método ---------- */
.section--method {
  background:
    radial-gradient(44% 40% at 84% 6%, rgba(201, 168, 106, 0.06), transparent 70%),
    linear-gradient(180deg, #0a1019, #070a11);
  border-block: 1px solid var(--border);
}

.method {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
  padding-top: 1.9rem;
}

.method::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 168, 106, 0.75), rgba(201, 168, 106, 0.12));
}

.method__step {
  position: relative;
  padding-top: 1.6rem;
}

.method__node {
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201, 168, 106, 0.12);
}

.method__num {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.method__step h3 {
  margin-top: 0.55rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.method__step > p:not(.method__num) {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.method__meta {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.method__meta div {
  display: grid;
  gap: 0.1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.method__meta dt {
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.method__meta dd {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text);
}

.method__foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.method__foot-label {
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.method__foot p + p {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.84rem;
}

/* ---------- 12. Empresa, equipo y compromisos ---------- */
.company {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.company__copy h2 {
  margin-top: 1rem;
  max-width: 22ch;
}

.company__copy h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.timeline {
  display: grid;
  margin-top: 2.2rem;
  border-top: 1px solid var(--border);
}

.timeline li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1.1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.timeline__date {
  display: grid;
  align-content: start;
  gap: 0.18rem;
}

.timeline__year {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.timeline__phase {
  font-family: var(--mono);
  font-size: 0.48rem;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.timeline p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.est-card {
  position: relative;
  padding: clamp(1.6rem, 3.4vw, 2.4rem);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(201, 168, 106, 0.09), rgba(255, 255, 255, 0.015) 58%, rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.est-card::before {
  content: "";
  position: absolute;
  inset: -45% -20% auto auto;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.16), transparent 70%);
  pointer-events: none;
}

.est-card > * {
  position: relative;
  z-index: 1;
}

.est-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold);
}

.est-card__top span:last-child {
  color: var(--muted);
}

.est-card__label {
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.est-card__summary {
  max-width: 38ch;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.est-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.est-card__metrics li {
  display: grid;
  gap: 0.12rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
}

.est-card__metrics strong {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--text);
}

.est-card__metrics span {
  font-family: var(--mono);
  font-size: 0.46rem;
  line-height: 1.35;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.est-card__year {
  margin-top: 0.25rem;
  font-family: var(--mono);
  font-size: clamp(4.2rem, 9vw, 6.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(230, 210, 166, 0.18);
  -webkit-text-stroke: 1.6px rgba(230, 210, 166, 0.85);
}

.est-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.est-card__flag {
  flex: none;
  width: 82px;
  height: 45px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(243, 239, 231, 0.2);
}

.commitments {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.commitments__head {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(260px, 0.8fr) minmax(300px, 1fr);
  gap: 1rem 2rem;
  align-items: start;
}

.commitments__eyebrow {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.commitments__head h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.25;
}

.commitments__head > p:last-child {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.commitments ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.5rem;
  margin-top: 1rem;
}

.commitments li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.commitments strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--text);
  font-weight: 500;
}

/* ---------- 13. Testimonios ---------- */
.section--quotes {
  border-block: 1px solid var(--border);
  background:
    radial-gradient(42% 60% at 12% 20%, rgba(201, 168, 106, 0.055), transparent 72%),
    rgba(255, 255, 255, 0.012);
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.quote {
  position: relative;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
}

.quote::before {
  content: "“";
  position: absolute;
  top: 0.35rem;
  right: 0;
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
  color: rgba(201, 168, 106, 0.22);
}

.quote blockquote {
  max-width: 30ch;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text);
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.quote figcaption > span:last-child {
  display: grid;
  gap: 0.1rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted-2);
}

.quote figcaption strong {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
}

/* ---------- 14. Preguntas ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.8rem, 6vw, 5.5rem);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: calc(var(--header-h) + 2.2rem);
}

.faq__intro h2 {
  margin-top: 1rem;
  max-width: 19ch;
}

.faq__list {
  border-top: 1px solid var(--border);
}

.faq__list details {
  border-bottom: 1px solid var(--border);
}

.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 58px;
  padding: 0.9rem 0;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
}

.faq__list summary::-webkit-details-marker {
  display: none;
}

.faq__list summary span {
  flex: none;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.faq__list details[open] summary span {
  transform: rotate(45deg);
}

.faq__list details p {
  max-width: 62ch;
  padding: 0 0 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

/* ---------- 15. Contacto ---------- */
.contact {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background:
    radial-gradient(46% 50% at 92% 8%, rgba(201, 168, 106, 0.09), transparent 70%),
    #070a11;
  border-top: 1px solid var(--border);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.contact__intro h2 {
  margin-top: 1rem;
  max-width: 19ch;
}

.contact__intro h2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.contact__lead {
  margin-top: 1rem;
  max-width: 46ch;
  color: var(--muted);
}

.contact__steps {
  display: grid;
  margin-top: 2.2rem;
  border-top: 1px solid var(--border);
}

.contact__steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.contact__steps span {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.contact__steps p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.contact__steps strong {
  color: var(--text);
  font-weight: 500;
}

.contact__list {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.contact__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--gold);
}

.contact__item {
  display: grid;
  gap: 0.1rem;
  font-size: 0.9rem;
}

.contact__label {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.contact__item a {
  min-height: 24px;
}

.contact__item a:hover {
  color: var(--gold-soft);
}

.form {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0b111b, #080d15);
  box-shadow: var(--shadow);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.field label {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
}

.field__optional {
  color: var(--muted-2);
  font-weight: 400;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #070a11;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  color-scheme: dark;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(201, 168, 106, 0.7);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.12);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: rgba(240, 168, 168, 0.8);
}

.select {
  position: relative;
}

.select select {
  appearance: none;
  padding-right: 2.2rem;
  cursor: pointer;
}

.select svg {
  position: absolute;
  top: 50%;
  right: 0.8rem;
  pointer-events: none;
  color: var(--muted-2);
  transform: translateY(-50%);
}

.field--honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.field__error {
  min-height: 1.1em;
  color: var(--danger);
  font-size: 0.74rem;
  line-height: 1.4;
}

.form__status {
  color: var(--gold-soft);
  font-size: 0.84rem;
}

.form__status:empty {
  display: none;
}

.form__note {
  color: var(--muted-2);
  font-size: 0.72rem;
  line-height: 1.55;
  text-align: center;
}

.form__note a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__note a:hover {
  color: var(--gold-soft);
}

/* ---------- 16. Footer ---------- */
.site-footer {
  padding: 3.6rem 0 2rem;
  border-top: 1px solid var(--border);
  background: #060910;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
}

.footer__brand p {
  margin-top: 1rem;
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer__title {
  margin-bottom: 0.9rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer__col ul {
  display: grid;
  gap: 0.15rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.footer__col a:hover {
  color: var(--gold-soft);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  margin-top: 2.8rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.footer__flag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__flag-image {
  width: 40px;
  height: 22px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(243, 239, 231, 0.18);
}

/* ---------- 17. Legal ---------- */
.legal-header {
  border-bottom: 1px solid var(--border);
}

.legal-header .header__inner {
  justify-content: space-between;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-back:hover {
  color: var(--gold);
}

.legal {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.legal__inner {
  max-width: 760px;
}

.legal h1 {
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal__updated {
  margin-top: 0.8rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.legal h2 {
  margin-top: 2.4rem;
  font-size: 1.3rem;
}

.legal p,
.legal li {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.legal ul {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.7rem;
  padding-left: 1.1rem;
  list-style: disc;
}

.legal a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__note {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
}

/* ---------- 18. Movimiento y responsive ---------- */
.js [data-reveal] {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js [data-reveal].reveal-pending {
  opacity: 0;
  transform: translateY(20px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js [data-reveal][data-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal][data-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal][data-delay="3"] { transition-delay: 0.24s; }
.js [data-reveal][data-delay="4"] { transition-delay: 0.32s; }

@media (max-width: 1100px) {
  .hero__proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .hero__proof li {
    padding: 0.8rem 0.8rem 0.8rem 0.9rem;
    border-top: 1px solid var(--border);
  }

  .hero__proof li:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .hero__proof li:nth-child(-n + 2) {
    border-top: 0;
  }

}

@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr));
    row-gap: 2.2rem;
  }

  .footer__brand {
    grid-column: span 2;
  }

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

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.6rem;
  }

  .hero__copy {
    max-width: 660px;
  }

  .hero__copy h1 {
    max-width: 18ch;
  }

  .ops-panel {
    max-width: 560px;
    justify-self: start;
  }

  .problems,
  .faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .problems__intro,
  .faq__intro {
    position: static;
  }

  .problems__intro h2,
  .faq__intro h2 {
    max-width: 28ch;
  }

  .case__grid,
  .company,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .case--reverse .case__copy,
  .case--reverse .case__visual {
    order: initial;
  }

  .case__visual {
    max-width: 620px;
  }

  .case__visual--registrame {
    min-height: 400px;
    justify-self: center;
    width: 100%;
  }

  .est-card {
    max-width: 480px;
  }

  .capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem;
  }

  .method {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.6rem;
  }

  .method::before {
    display: none;
  }

  .method__step {
    padding-top: 1.6rem;
    padding-left: 1.5rem;
    border-top: 1px solid var(--border);
  }

  .method__node {
    top: 1.85rem;
    left: 0;
  }

  .quotes {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
  }

  .quote blockquote {
    max-width: 48ch;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: clamp(1rem, 4vw, 1.5rem);
    right: clamp(1rem, 4vw, 1.5rem);
    z-index: 70;
    display: grid;
    gap: 0.2rem;
    max-height: calc(100dvh - var(--header-h) - 1rem);
    overflow-y: auto;
    margin: 0;
    padding: 0.7rem;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    background: #090d15;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
  }

  .nav__link {
    display: flex;
    padding: 0.8rem 0.9rem;
    border-radius: 8px;
    font-size: 1rem;
  }

  .nav__link[aria-current="true"] {
    background: rgba(255, 255, 255, 0.04);
  }

  .nav__link[aria-current="true"]::after {
    display: none;
  }

  .nav__cta {
    margin: 0.4rem 0 0;
    padding: 0.8rem 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 820px) {
  .product-row {
    grid-template-columns: 50px minmax(0, 1fr) auto auto;
  }

  .product-row__sector {
    display: none;
  }

  .commitments__head {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .trust__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capabilities {
    grid-template-columns: minmax(0, 1fr);
  }

  .commitments ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: span 2;
  }

  .phone-card {
    right: 2%;
    bottom: 1rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .hero__proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero__copy h1 {
    max-width: 100%;
  }

  .ops-panel {
    padding: 0.95rem;
  }

  .case__steps li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
  }

  .case__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case__metrics span {
    font-size: 0.6rem;
  }

  .ui__body {
    grid-template-columns: minmax(0, 1fr);
  }

  .ui__side {
    display: none;
  }

  .ui__kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ui__row {
    grid-template-columns: 0.8fr 1fr 0.9fr;
  }

  .ui__row > span:nth-child(2) {
    display: none;
  }

  .phone {
    width: min(220px, 68%);
  }

  .phone-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 280px);
    margin-top: -1rem;
    justify-self: center;
  }

  .case__visual--registrame {
    gap: 0;
  }

  .product-row {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 0.7rem;
    padding: 0.9rem 0;
  }

  .product-row__logo {
    grid-row: span 2;
  }

  .product-row__main {
    grid-column: 2;
  }

  .product-row__main p {
    font-size: 0.75rem;
  }

  .product-row .status {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }

  .product-row__link {
    grid-column: 2 / 4;
    grid-row: 2;
    justify-self: start;
    min-height: 32px;
  }

  .method {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .method__step {
    padding: 1.2rem 0 1.2rem 1.5rem;
    border-top: 0;
    border-bottom: 1px solid var(--border);
  }

  .method__node {
    top: 1.6rem;
  }

  .method__foot {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }

  .form__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__brand {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.13em;
  }

  .hero__proof strong {
    font-size: 1.1rem;
  }

  .hero__proof span {
    font-size: 0.5rem;
  }

  .trust__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .problems__list li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.7rem;
  }

  .case__metrics strong {
    font-size: 0.95rem;
  }

  .case__metrics span {
    font-size: 0.54rem;
  }

  .ui__kpi span {
    font-size: 0.4rem;
  }

  .ui__kpi strong {
    font-size: 0.72rem;
  }

  .phone {
    width: min(205px, 74%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal],
  .js [data-reveal].reveal-pending {
    opacity: 1;
    transform: none;
  }

  .hero__canvas {
    display: none;
  }
}

.form__consent { margin-top: .25rem; }
.consent-check { display:flex; align-items:flex-start; gap:.7rem; color:var(--color-text, #f2eee6); line-height:1.5; cursor:pointer; }
.consent-check input { width:1.2rem; height:1.2rem; flex:0 0 auto; margin-top:.15rem; accent-color:#c9a86a; }
.consent-check a { color:#e6c47a; text-underline-offset:3px; }
.consent-check input:focus-visible { outline:3px solid #f2eee6; outline-offset:3px; }
