/* =========================================================
   TargetLabs - Landing institucional
   Paleta tomada del logo: naranja #D5772F y gris #727073.
   ========================================================= */
:root {
  --orange: #d5772f;        /* naranja del logo (decorativo / sobre oscuro) */
  --orange-dark: #a9531a;   /* naranja accesible para texto y botones sobre blanco */
  --orange-deep: #8a4213;
  --orange-soft: #fbeee3;
  --orange-line: #f0d2b8;
  --gray: #727073;          /* gris del logo */
  --gray-light: #9a979b;
  --gray-dark: #3a393c;
  --ink: #232225;
  --muted: #5c5a5e;
  --bg: #ffffff;
  --bg-alt: #f7f5f3;
  --bg-warm: #fcf8f4;
  --border: #e6e2de;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(35, 34, 37, .06);
  --shadow: 0 10px 30px rgba(35, 34, 37, .08);
  --shadow-lg: 0 24px 60px rgba(35, 34, 37, .14);
  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.18; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--orange-dark); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 3px; border-radius: 4px; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }
.placeholder {
  background: #fff4c2; color: #5a4300; padding: 0 .3em; border-radius: 4px;
  font-family: ui-monospace, Consolas, monospace; font-size: .92em;
}

/* Animación de entrada (se activa desde JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--orange-dark); color: #fff; box-shadow: 0 8px 20px rgba(169, 83, 26, .25); }
.btn-primary:hover { background: var(--orange-deep); color: #fff; }
.btn-ghost { border-color: #cfcac5; color: var(--gray-dark); background: rgba(255,255,255,.7); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--orange-deep); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: .55rem 1.15rem; font-size: .92rem; box-shadow: none; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(160%) blur(10px);
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand img { height: 46px; width: auto; }
.nav-toggle {
  width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; cursor: pointer; display: grid; place-items: center;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: "";
  transition: transform .2s, background-color .2s;
}
.nav-toggle-bar::before { position: absolute; top: -7px; }
.nav-toggle-bar::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border); display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; padding: .5rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .25rem; }
.site-nav a:not(.btn) {
  display: block; padding: .7rem 0; text-decoration: none; color: var(--ink); font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.site-nav a:not(.btn):hover { color: var(--orange-dark); }
.site-nav .btn { margin-top: .75rem; }
.no-js .site-nav { display: block; position: static; }
.no-js .nav-toggle { display: none; }
.no-js .header-inner { flex-wrap: wrap; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; border: 0; background: transparent; }
  .site-nav ul { flex-direction: row; align-items: center; padding: 0; gap: 1.6rem; }
  .site-nav a:not(.btn) { border: 0; padding: .25rem 0; font-size: .95rem; position: relative; }
  .site-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
    background: var(--orange); transition: right .25s;
  }
  .site-nav a:not(.btn):hover::after { right: 0; }
  .site-nav .btn { margin-top: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 90% 10%, #fbe6d4 0%, transparent 60%),
    radial-gradient(40% 50% at 0% 100%, #f3efeb 0%, transparent 70%),
    var(--bg-warm);
  padding: 3rem 0 4rem;
}
.hero-rings {
  position: absolute; width: 900px; right: -320px; top: 50%; transform: translateY(-50%);
  pointer-events: none; opacity: .5;
}
.hero-rings circle { fill: none; stroke: var(--orange-line); stroke-width: 1.5; }
.hero-rings circle:nth-child(2) { stroke-dasharray: 4 10; }
.hero-inner { position: relative; display: grid; gap: 3rem; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; border: 1px solid var(--orange-line); color: var(--orange-deep);
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .02em;
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.4rem; box-shadow: var(--shadow-sm);
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(213, 119, 47, .18); }
.accent { color: var(--orange-dark); position: relative; white-space: nowrap; }
.accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .16em;
  background: rgba(213, 119, 47, .25); border-radius: 4px; z-index: -1;
}
.hero h1 { position: relative; z-index: 0; max-width: 15ch; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 36rem; }
.lead strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; }
.hero-trust li {
  position: relative; padding-left: 1.6rem; font-size: .92rem; font-weight: 600; color: var(--gray-dark);
}
.hero-trust li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23a9531a' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 72% no-repeat;
}

/* Mockup */
.hero-visual { position: relative; width: 100%; max-width: 520px; margin: 1.5rem auto 0; }
.mock {
  background: #fff; border-radius: 18px; border: 1px solid var(--border);
  box-shadow: var(--shadow-lg); overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mock-bar {
  display: flex; align-items: center; gap: .9rem; padding: .7rem 1rem;
  background: #f4f2f0; border-bottom: 1px solid var(--border);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #d9d5d1; }
.mock-dots i:first-child { background: var(--orange); }
.mock-url {
  flex: 1; background: #fff; border-radius: 6px; padding: .2rem .7rem;
  font-size: .72rem; color: var(--muted); font-family: ui-monospace, Consolas, monospace;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mock-body { padding: 1.2rem 1.25rem 1.3rem; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.mock-kicker { margin: 0; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.mock-title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.mock-tag {
  font-size: .68rem; font-weight: 700; color: var(--gray-dark); background: #f1efed;
  padding: .2rem .55rem; border-radius: 999px; white-space: nowrap;
}
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.mock-kpi {
  border: 1px solid var(--border); border-radius: 12px; padding: .65rem .7rem;
  display: flex; flex-direction: column; gap: .1rem; min-width: 0;
}
.mock-kpi span { font-size: .68rem; color: var(--muted); line-height: 1.3; }
.mock-kpi strong { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.mock-kpi em { font-style: normal; font-size: .66rem; color: var(--muted); }
.mock-kpi em.up { color: #1e6b34; font-weight: 600; }
.mock-chart { background: var(--bg-alt); border-radius: 12px; padding: .75rem .85rem .6rem; margin-bottom: 1rem; }
.mock-chart-title { margin: 0 0 .5rem; font-size: .74rem; font-weight: 700; color: var(--gray-dark); }
.mock-chart svg { width: 100%; height: 86px; }
.mock-chart rect { fill: #d8d4d0; }
.mock-chart rect.is-current { fill: var(--orange); }
.mock-axis { stroke: #cfcac5; stroke-width: 1; }
.mock-feed { list-style: none; display: grid; gap: .45rem; }
.mock-feed li {
  display: flex; align-items: center; gap: .6rem; font-size: .78rem; color: var(--gray-dark);
  padding: .45rem .6rem; border-radius: 8px; background: #fff; border: 1px solid #f0edea;
}
.mock-feed time { margin-left: auto; color: var(--muted); font-size: .7rem; font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-orange { background: var(--orange); }
.dot-gray { background: var(--gray-light); }
.dot-dark { background: var(--gray-dark); }

.float-card {
  position: absolute; display: none; align-items: center; gap: .7rem;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: .7rem .9rem; box-shadow: var(--shadow);
}
.float-card strong { display: block; font-family: var(--font-head); font-size: .82rem; line-height: 1.3; }
.float-card span { display: block; font-size: .72rem; color: var(--muted); line-height: 1.3; }
.float-icon {
  width: 36px; height: 36px; border-radius: 10px; background: var(--orange-soft);
  display: grid !important; place-items: center; flex: none;
}
.float-icon svg { width: 20px; height: 20px; fill: var(--orange-dark); }
.float-a { right: 28px; top: -30px; animation: floaty 6s ease-in-out infinite .8s; }
.float-b { right: -36px; bottom: 10%; animation: floaty 6.5s ease-in-out infinite 1.6s; }

@media (min-width: 640px) { .float-card { display: flex; } }
@media (min-width: 640px) and (max-width: 999px) { .float-b { right: -12px; } }
@media (min-width: 1000px) {
  .hero { padding: 5rem 0 6rem; }
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; }
}

/* ---------- Banda de cifras ---------- */
.stats { background: var(--ink); color: #fff; padding: 2.5rem 0; position: relative; }
.stats-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
.stats-grid li { display: flex; flex-direction: column; gap: .35rem; padding-left: 1rem; border-left: 3px solid var(--orange); }
.stats-grid strong { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stats-grid li > span { color: #c9c6c3; font-size: .92rem; line-height: 1.4; max-width: 18ch; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Secciones ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 46rem; margin-bottom: 2.75rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }
.section-head-split { max-width: none; display: grid; gap: 1rem; align-items: end; }
.section-head-split h2 { margin-bottom: 0; }
.section-head-split > p { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--orange-dark); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: #f2a76b; }
@media (min-width: 900px) {
  .section { padding: 6.5rem 0; }
  .section-head-split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* ---------- El desafío ---------- */
.problem-grid { display: grid; gap: 1.25rem; }
.problem-card {
  margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow-sm);
}
.stat-card { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; background: var(--bg-warm); border-color: var(--orange-line); }
.donut { position: relative; width: 150px; height: 150px; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 12; }
.donut-track { stroke: #ebe6e1; }
.donut-value { stroke: var(--orange); stroke-linecap: round; transition: stroke-dasharray 1.4s ease; }
.js .donut:not(.is-visible) .donut-value { stroke-dasharray: 0 100; }
.donut-label {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--ink);
}
.stat-card figcaption { display: flex; flex-direction: column; gap: .4rem; }
.stat-card figcaption strong { font-family: var(--font-head); font-size: 1.1rem; line-height: 1.3; }
.stat-card figcaption > span { color: var(--muted); font-size: .95rem; }
.stat-card cite { font-style: normal; font-size: .78rem; color: var(--muted); margin-top: .4rem; }

.chart-card { display: flex; flex-direction: column; gap: .9rem; }
.chart-head { display: flex; flex-direction: column; gap: .2rem; }
.chart-head strong { font-family: var(--font-head); font-size: 1.1rem; }
.chart-head span { color: var(--muted); font-size: .92rem; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .84rem; color: var(--gray-dark); }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.sw { display: inline-block; width: 18px; height: 0; border-top: 3px solid; border-radius: 2px; }
.sw-orange { border-color: #c4651f; }
.sw-gray { border-color: var(--gray-light); border-top-style: dashed; }
.linechart svg { width: 100%; height: auto; overflow: visible; }
.lc-grid line { stroke: #ece8e4; stroke-width: 1; }
.lc-grid .lc-ref { stroke: #cfc9c3; stroke-dasharray: 3 4; }
.lc-ylab text { font-size: 11px; fill: var(--muted); text-anchor: end; font-family: var(--font-body); }
.lc-xlab text { font-size: 11px; fill: var(--muted); text-anchor: middle; font-family: var(--font-body); }
.lc-xlab text:first-child { text-anchor: start; }
.lc-xlab text:last-child { text-anchor: end; }
.lc-reftext { font-size: 10px; fill: var(--muted); text-anchor: end; font-family: var(--font-body); }
.lc-line { fill: none; stroke-width: 3; stroke-linecap: round; }
.lc-orange { stroke: #c4651f; }
.lc-gray { stroke: var(--gray-light); stroke-dasharray: 7 6; }
.lc-end { stroke: #fff; stroke-width: 2; }
.lc-end-orange { fill: #c4651f; }
.lc-end-gray { fill: var(--gray-light); }
.js .linechart .lc-line { stroke-dashoffset: 0; }
.js .linechart:not(.is-visible) .lc-orange { stroke-dasharray: 600; stroke-dashoffset: 600; }
.js .linechart.is-visible .lc-orange { stroke-dasharray: 600; animation: draw 1.6s ease forwards; }
@keyframes draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
.chart-note { margin: 0; font-size: .78rem; color: var(--muted); line-height: 1.5; }

.causes h3 { font-size: 1.1rem; margin-bottom: 1.1rem; }
.cause-list { list-style: none; display: grid; gap: 1.1rem; }
.cause-list li { display: flex; gap: 1rem; }
.cause-n {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange-deep); font-family: var(--font-head); font-weight: 800; font-size: .9rem;
}
.cause-list strong { display: block; font-family: var(--font-head); font-size: .98rem; margin-bottom: .1rem; }
.cause-list div span { color: var(--muted); font-size: .92rem; line-height: 1.5; display: block; }

@media (min-width: 760px) { .problem-grid { grid-template-columns: 1fr 1fr; } .chart-card { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  .problem-grid { grid-template-columns: 1fr 1.4fr; }
  .chart-card { order: 3; display: grid; grid-template-columns: 1fr 1.7fr; column-gap: 3rem; align-items: center; }
  .chart-card > .chart-head, .chart-card > .legend, .chart-card > .chart-note { grid-column: 1; }
  .chart-card > .linechart { grid-column: 2; grid-row: 1 / span 3; }
  .chart-head strong { font-size: 1.35rem; }
}
@media (max-width: 600px) {
  .lc-ylab text, .lc-xlab text { font-size: 17px; }
  .lc-reftext { font-size: 15px; }
}

/* ---------- Servicios ---------- */
.cards { list-style: none; display: grid; gap: 1.25rem; }
.card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.9rem 1.75rem 1.6rem; transition: box-shadow .25s, transform .25s, border-color .25s;
  display: flex; flex-direction: column; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), #f2a76b); transform: scaleX(0); transform-origin: left;
  transition: transform .35s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--orange-line); }
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); margin: 0 0 1.2rem; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--orange-soft);
  display: grid; place-items: center; margin-bottom: 1.2rem; transition: background-color .25s;
}
.card-icon svg { width: 28px; height: 28px; fill: var(--orange-dark); transition: fill .25s; }
.card:hover .card-icon { background: var(--orange-dark); }
.card:hover .card-icon svg { fill: #fff; }
.card-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.card-tags li { font-size: .74rem; font-weight: 600; color: var(--gray-dark); background: var(--bg-alt); border-radius: 999px; padding: .2rem .65rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Recorrido ---------- */
.journey { list-style: none; display: grid; gap: 1rem; position: relative; }
.journey-step {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.3rem 4.4rem; box-shadow: var(--shadow-sm);
}
.journey-n {
  position: absolute; left: 1.2rem; top: 1.3rem; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange-dark); color: #fff;
  font-family: var(--font-head); font-weight: 800; box-shadow: 0 0 0 5px var(--orange-soft);
}
.journey-step h3 { margin-bottom: .35rem; font-size: 1.02rem; }
.journey-step p { color: var(--muted); font-size: .92rem; margin: 0 0 .7rem; line-height: 1.5; }
.journey-who { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--orange-deep); background: var(--orange-soft); border-radius: 999px; padding: .15rem .6rem; }
@media (min-width: 700px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .journey { grid-template-columns: repeat(6, 1fr); gap: 1rem; }
  .journey::before {
    content: ""; position: absolute; left: 6%; right: 6%; top: 2.45rem; height: 2px;
    background: repeating-linear-gradient(90deg, var(--orange-line) 0 8px, transparent 8px 14px); z-index: 0;
  }
  .journey-step { padding: 4.4rem 1.1rem 1.2rem; text-align: left; z-index: 1; background: transparent; border: 0; box-shadow: none; }
  .journey-n { left: 1.1rem; top: 1.3rem; }
  .journey-step::after {
    content: ""; position: absolute; inset: 3.6rem 0 0 0; background: #fff; border: 1px solid var(--border);
    border-radius: var(--radius); z-index: -1; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s;
  }
  .journey-step:hover::after { border-color: var(--orange-line); box-shadow: var(--shadow); }
  .journey-step h3 { margin-top: .6rem; }
}

/* ---------- Comparativa ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: .93rem; }
.compare th, .compare td { padding: 1rem 1.15rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th {
  font-family: var(--font-head); font-size: .92rem; font-weight: 700; background: #faf9f8; vertical-align: bottom;
}
.compare tbody th { font-weight: 700; color: var(--ink); width: 24%; }
.compare td { color: var(--muted); }
.compare td .mark { margin-right: .5rem; vertical-align: -3px; }
.compare .col-us { background: var(--orange-soft); color: var(--ink); font-weight: 600; }
.compare thead .col-us { background: var(--orange-dark); color: #fff; position: relative; }
.col-us-badge {
  display: block; width: fit-content; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255,255,255,.2); border-radius: 999px; padding: .1rem .55rem; margin-bottom: .35rem; font-weight: 700;
}
.mark { display: inline-block; width: 18px; height: 18px; border-radius: 50%; flex: none; background-position: center; background-repeat: no-repeat; background-size: 72%; }
.mark-yes { background-color: #1e6b34; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E"); }
.mark-mid { background-color: #b07a12; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M5 11h14v2H5z'/%3E%3C/svg%3E"); }
.mark-no { background-color: #a3332b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M18.3 7.1 16.9 5.7 12 10.6 7.1 5.7 5.7 7.1 10.6 12l-4.9 4.9 1.4 1.4 4.9-4.9 4.9 4.9 1.4-1.4-4.9-4.9z'/%3E%3C/svg%3E"); }
.table-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1rem 0 0; font-size: .84rem; color: var(--muted); }
.table-legend > span { display: inline-flex; align-items: center; gap: .45rem; }

/* ---------- Plataforma ---------- */
.section-dark {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(213,119,47,.18) 0%, transparent 60%),
    var(--gray-dark);
  color: #ecebea;
}
.section-dark h2 { color: #fff; }
.platform { display: grid; gap: 3rem; align-items: start; }
.platform-text > p:not(.eyebrow) { color: #d6d4d2; font-size: 1.05rem; margin-bottom: 2rem; }
.feature-grid { list-style: none; display: grid; gap: .9rem; }
.feature-grid li {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-left: 3px solid var(--orange); border-radius: 10px; padding: 1rem 1.1rem;
}
.feature-grid strong { display: block; font-family: var(--font-head); color: #fff; margin-bottom: .2rem; font-size: .95rem; }
.feature-grid span { color: #cfcdcb; font-size: .9rem; line-height: 1.5; display: block; }
.kpi-panel {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 1.6rem; box-shadow: 0 30px 70px rgba(0,0,0,.3);
}
.kpi-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.kpi-panel-head h3 { margin: 0; font-size: 1.1rem; }
.kpi-list { list-style: none; display: grid; }
.kpi-list li { padding: .95rem 0; border-top: 1px solid var(--border); }
.kpi-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.kpi-row span { font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.kpi-row em { font-style: normal; font-size: .72rem; font-weight: 700; color: var(--orange-deep); background: var(--orange-soft); padding: .12rem .55rem; border-radius: 999px; white-space: nowrap; }
.kpi-list p { margin: .25rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .platform { grid-template-columns: 1.25fr 1fr; gap: 4rem; } }

/* ---------- Áreas ---------- */
.areas { list-style: none; display: grid; gap: 1.25rem; }
.area {
  position: relative; border-radius: var(--radius); padding: 1.7rem 1.5rem; overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, var(--bg-warm) 100%); border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.area::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 130px; height: 130px; border-radius: 50%;
  border: 14px solid var(--orange-soft); transition: transform .4s;
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.area:hover::after { transform: scale(1.15); }
.area-tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange-deep); margin-bottom: .8rem; }
.area h3 { font-size: 1.1rem; }
.area p { color: var(--muted); font-size: .93rem; margin: 0; position: relative; z-index: 1; }
@media (min-width: 640px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .areas { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Beneficios ---------- */
.benefits { display: grid; gap: 1.5rem; }
.benefit-col { border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; background: #fff; }
.benefit-col-alt { background: var(--orange-soft); border-color: var(--orange-line); }
.benefit-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.3rem; }
.benefit-head h3 { margin: 0; font-size: 1.25rem; }
.benefit-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; }
.benefit-col-alt .benefit-icon { background: var(--orange-dark); }
.benefit-icon svg { width: 24px; height: 24px; fill: #fff; }
.check-list { list-style: none; display: grid; gap: .85rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--orange-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z'/%3E%3C/svg%3E") center / 75% no-repeat;
}
@media (min-width: 800px) { .benefits { grid-template-columns: 1fr 1fr; } }

/* ---------- Valores ---------- */
.values { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--border); }
.value { padding: 1.8rem 0; border-bottom: 1px solid var(--border); display: grid; gap: .4rem; align-content: start; }
.value-n { font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: var(--orange-dark); }
.value h3 { font-size: 1.3rem; margin: 0; }
.value p { color: var(--muted); margin: 0; max-width: 34ch; }
@media (min-width: 700px) {
  .values { grid-template-columns: repeat(2, 1fr); border-top: 0; gap: 1.25rem; }
  .value { border: 0; border-top: 3px solid var(--ink); padding-top: 1.4rem; }
}
@media (min-width: 1000px) { .values { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

/* ---------- Marco normativo ---------- */
.compliance { background: var(--bg-alt); padding: 3.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.compliance-inner { display: grid; gap: 2rem; align-items: center; }
.compliance h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 0; }
.compliance-list { list-style: none; display: grid; gap: 1rem; }
.compliance-list li {
  display: flex; flex-direction: column; gap: .15rem; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 1rem 1.2rem 1rem 3.4rem; position: relative;
}
.compliance-list li::before {
  content: ""; position: absolute; left: 1.1rem; top: 1.1rem; width: 1.5rem; height: 1.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23a9531a' d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3Zm-1 14-4-4 1.4-1.4L11 13.2l4.6-4.6L17 10l-6 6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.compliance-list strong { font-family: var(--font-head); font-size: .95rem; }
.compliance-list span { color: var(--muted); font-size: .88rem; }
@media (min-width: 760px) { .compliance-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .compliance-inner { grid-template-columns: .9fr 2fr; gap: 3rem; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 1rem; }
.faq { display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--orange-line); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.25rem; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23a9531a' d='M11 5h2v14h-2zM5 11h14v2H5z'/%3E%3C/svg%3E") center / 60% no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 1.25rem 1.2rem; color: var(--muted); }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; } }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange-deep) 0%, var(--orange-dark) 55%, #c4651f 100%);
  color: #fff; padding: 3.5rem 0; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  border: 50px solid rgba(255,255,255,.08); box-shadow: 0 0 0 60px rgba(255,255,255,.04);
}
.cta-inner { position: relative; z-index: 1; display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { margin: 0; color: #fde7d6; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; gap: 3rem; } }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 2.5rem; }
.contact-text > p:not(.eyebrow) { color: var(--muted); }
.contact-steps { list-style: none; counter-reset: cs; display: grid; gap: 1rem; margin: 1.8rem 0; }
.contact-steps li { counter-increment: cs; position: relative; padding-left: 3rem; display: flex; flex-direction: column; }
.contact-steps li::before {
  content: counter(cs); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%;
  border: 2px solid var(--orange-dark); color: var(--orange-dark); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: .9rem;
}
.contact-steps strong { font-family: var(--font-head); }
.contact-steps span { color: var(--muted); font-size: .92rem; }
.contact-data { list-style: none; display: grid; gap: .6rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.contact-data .label { font-weight: 600; }
.contact-form {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 1.75rem; box-shadow: var(--shadow);
}
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fcfbfa;
  border: 1.5px solid #c9c5c1; border-radius: 10px; padding: .75rem .9rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--orange-dark); box-shadow: 0 0 0 3px rgba(169, 83, 26, .2);
}
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: .88rem; margin: .3rem 0 0; }
.field-error:empty { display: none; }
.form-note { font-size: .86rem; color: var(--muted); }
.form-status { margin: 1rem 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #1e6b34; }
.form-status.is-error { color: #b3261e; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.3fr; gap: 4.5rem; align-items: start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfcdcb; padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-inner { display: grid; gap: 2rem; }
.footer-logo { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: #fff; margin-bottom: .4rem; }
.footer-logo span { color: var(--orange); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer a { color: #f2a76b; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.5rem; font-size: .88rem; }
.footer-legal p { margin: 0 0 .4rem; }
.site-footer .placeholder { color: #5a4300; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .footer-legal { grid-column: 1 / -1; }
}

/* Campo trampa para bots */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
