/* ==========================================================================
   TREEJA — Plataforma de control documental
   Sitio de venta · hoja de estilos principal
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #102840;
  --ink-2: #1a405c;
  --ink-3: #2f5a74;
  --cream: #ffffff;
  --paper: #ffffff;
  --sand: #f4f2ed;
  --sand-soft: #ffffff;
  --line: #e8ddc9;
  --line-strong: #dccfb6;
  --muted: #5b6b76;
  --muted-2: #63727c;
  --gold: #8f6516;
  --gold-soft: #e4c37c;
  --gold-wash: #fbf3e0;
  --green: #2f7a55;
  --green-wash: #e6f2eb;
  --amber: #93601a;
  --amber-wash: #fdf0dc;
  --blue-wash: #e8eef7;
  --blue: #335c8c;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(14, 36, 51, 0.06);
  --shadow-md: 0 18px 40px -24px rgba(14, 36, 51, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(14, 36, 51, 0.45);
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --header-h: 78px;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

p {
  margin: 0;
}

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

.compliance :focus-visible,
.plan.featured :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold-soft);
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 8vw, 112px) 0;
  scroll-margin-top: 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--ink);
}

h1 {
  font-size: clamp(38px, 5.2vw, 66px);
}

h2 {
  font-size: clamp(30px, 3.7vw, 47px);
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--gold);
}

h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(16.5px, 1.35vw, 19px);
  line-height: 1.7;
  color: var(--muted);
}

.section-head {
  max-width: 730px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head .lead {
  margin-top: 18px;
}

.section-head.center .lead {
  margin-inline: auto;
  max-width: 620px;
}

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  flex: none;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(14, 36, 51, 0.65);
}

.btn-primary:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -18px rgba(14, 36, 51, 0.7);
}

.btn-accent {
  background: linear-gradient(135deg, #e8ca8b 0%, #d4ab58 100%);
  color: var(--ink);
  box-shadow: 0 14px 30px -16px rgba(143, 101, 22, 0.6);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #e2bf78 0%, #c9a45c 100%);
  transform: translateY(-2px);
}

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

.btn-ghost:hover {
  background: var(--paper);
  border-color: var(--ink);
  transform: translateY(-2px);
}

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

.btn-light:hover {
  background: var(--sand-soft);
  transform: translateY(-2px);
}

.btn-sm {
  height: 44px;
  padding: 0 20px;
  font-size: 13.5px;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(14, 36, 51, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}

.brand img {
  height: 48px;
  width: auto;
  mix-blend-mode: multiply;
}

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

.nav a {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: #44545f;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: right 0.25s ease;
}

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

.nav a:hover::after {
  right: 0;
}

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

.nav a.is-active::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 18px 0 26px;
  box-shadow: 0 30px 50px -30px rgba(14, 36, 51, 0.35);
}

.mobile-nav.is-open {
  display: block;
  animation: nav-in 0.2s ease both;
}

.mobile-nav a {
  display: block;
  padding: 13px 4px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #f2ecdd;
}

.mobile-nav .btn {
  margin-top: 18px;
  width: 100%;
}

@keyframes nav-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 4.5vw, 64px) 0 clamp(56px, 7vw, 92px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 4.5vw, 64px) 0 clamp(56px, 7vw, 92px);
}

.hero::before,
  width: 640px;
  height: 640px;
  top: -280px;
  right: -180px;
  background: radial-gradient(
    circle,
    rgba(228, 195, 124, 0.22) 0%,
    rgba(228, 195, 124, 0) 68%
  );
}

.hero::after {
  width: 520px;
  height: 520px;
  bottom: -300px;
  left: -220px;
  background: radial-gradient(
    circle,
    rgba(14, 36, 51, 0.07) 0%,
    rgba(14, 36, 51, 0) 70%
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.hero-copy h1 {
  margin: 0 0 22px;
  max-width: 13ch;
}

.hero-copy .lead {
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-micro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-2);
}

.hero-micro span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-micro svg {
  color: var(--green);
  flex: none;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 480px;
}

.hero-proof-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}

.hero-proof p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.hero-proof strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Mockup de producto
   -------------------------------------------------------------------------- */

.hero-visual {
  position: relative;
}

.mockup-wrap {
  position: relative;
}

.mockup-note {
  margin-top: 14px;
  text-align: center;
  font-size: 10.5px;
  color: var(--muted-2);
}

.mockup {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-size: 12px;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: var(--sand);
  border-bottom: 1px solid #ece3d1;
}

.dots {
  display: flex;
  gap: 5px;
  flex: none;
}

.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d8c8a9;
}

.dots i:first-child {
  background: #d9b25f;
}

.urlbar {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid #e8dfcc;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 9px;
  color: #94897d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.urlbar b {
  color: #4b5b66;
  font-weight: 700;
}

.app {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  min-height: 372px;
}

.sidebar {
  background: var(--ink);
  color: #b9cbd4;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin: 2px 4px 16px;
}

.brand-mini i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold-soft);
  flex: none;
}

.snav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 9.5px;
  font-weight: 600;
  color: #a7bbc6;
  line-height: 1.2;
}

.snav svg {
  width: 12px;
  height: 12px;
  flex: none;
  opacity: 0.9;
}

.snav.active {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.snav.active svg {
  color: var(--gold-soft);
}

.sidebar-foot {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 6px 0;
  font-size: 8px;
  color: #7f97a4;
  line-height: 1.5;
}

.sidebar-foot span {
  display: block;
  color: #d6e2e8;
  font-weight: 700;
  font-size: 8.5px;
}

.app-main {
  background: #fcfaf7;
  padding: 16px;
  min-width: 0;
}

.app-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

.app-top h4 {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.app-top p {
  font-size: 8px;
  color: #8d8175;
  margin-top: 2px;
}

.pill-company {
  flex: none;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--sand);
  color: #8a6414;
  border-radius: 999px;
  padding: 4px 8px;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.kpi {
  background: #fff;
  border: 1px solid #ece3d2;
  border-radius: 8px;
  padding: 9px 10px;
  min-width: 0;
}

.kpi .label {
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94897d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpi .value {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.kpi .trend {
  font-size: 7px;
  font-weight: 700;
  color: var(--green);
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 8px;
}

.panel {
  background: #fff;
  border: 1px solid #ece3d2;
  border-radius: 8px;
  padding: 10px;
  min-width: 0;
}

.panel h5 {
  margin: 0 0 8px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6d7b85;
}

.docrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 0;
  border-top: 1px solid #f2ecdf;
  font-size: 8px;
  line-height: 1.35;
}

.docrow:first-of-type {
  border-top: 0;
}

.docrow b {
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  color: #223a4b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.docrow small {
  display: block;
  font-size: 6.8px;
  color: #9a8f83;
}

.docrow > div {
  min-width: 0;
}

.badge {
  flex: none;
  font-size: 6.4px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 2px 5px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge.ok {
  background: var(--green-wash);
  color: var(--green);
}

.badge.rev {
  background: var(--amber-wash);
  color: var(--amber);
}

.badge.apr {
  background: var(--blue-wash);
  color: var(--blue);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 82px;
  padding-top: 8px;
}

.bar {
  position: relative;
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--ink), #3d677c);
}

.bar.alt {
  background: linear-gradient(to top, #c9a45c, #e6cf9b);
}

.bar span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  text-align: center;
  font-size: 6px;
  color: #9a8f83;
}

.chart-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  font-size: 7px;
  color: #9a8f83;
}

.chart-caption b {
  color: var(--ink);
  font-size: 9px;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid #eae0cc;
  border-radius: 11px;
  padding: 10px 12px;
  box-shadow: 0 18px 34px -18px rgba(14, 36, 51, 0.4);
}

.float-a {
  left: -22px;
  bottom: 46px;
}

.float-b {
  right: -18px;
  top: 46px;
}

.float-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}

.float-icon.ok {
  background: var(--green-wash);
  color: var(--green);
}

.float-icon.warm {
  background: var(--gold-wash);
  color: var(--gold);
}

.float-card b {
  display: block;
  font-size: 9px;
  line-height: 1.3;
}

.float-card small {
  display: block;
  font-size: 7.5px;
  color: #94897d;
}

/* --------------------------------------------------------------------------
   Banda de confianza
   -------------------------------------------------------------------------- */

.trust {
  background: #fff;
  border-block: 1px solid var(--line);
  padding: 22px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 11.5px;
  font-weight: 700;
  color: #40515c;
  background: var(--sand-soft);
  border: 1px solid #ece1cb;
  border-radius: 999px;
  padding: 6px 11px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Problema / solución
   -------------------------------------------------------------------------- */

.pain {
  background: var(--sand-soft);
  border-bottom: 1px solid #ece0c9;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pain-card {
  background: #fff;
  border: 1px solid #eae0c8;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.pain-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-wash);
  border: 1px solid #eddfc0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.pain-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.pain-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

.outcome {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid #e4d7bd;
}

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.outcome-item svg {
  flex: none;
  color: var(--green);
  margin-top: 2px;
}

.outcome-item b {
  display: block;
  font-size: 14.5px;
  line-height: 1.4;
}

.outcome-item span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Módulos
   -------------------------------------------------------------------------- */

.modules {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mod {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease, background-color 0.25s ease;
}

.mod:hover {
  background: #fff;
  border-color: #e0d3b7;
  transform: translateY(-3px);
  box-shadow: 0 20px 38px -26px rgba(14, 36, 51, 0.4);
}

.mod-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--sand);
  color: #8a6414;
  margin-bottom: 16px;
}

.mod-icon svg {
  width: 20px;
  height: 20px;
}

.mod h3 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.mod p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.modules-note {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.modules-note a {
  color: var(--ink);
  font-weight: 800;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Captura del tablero (héroe) y capturas de la plataforma
   -------------------------------------------------------------------------- */

.mockup-shot {
  display: block;
  width: 100%;
  height: auto;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.shot {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
  background: #f4f6f8;
}

.shot figcaption {
  padding: 16px 18px 18px;
  display: grid;
  gap: 5px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.shot figcaption b {
  font-size: 14.5px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.shot-tag {
  justify-self: start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-wash);
  border-radius: 999px;
  padding: 4px 10px;
}

@media (max-width: 760px) {
  .shot-grid {
    grid-template-columns: 1fr;
  }


}

/* --------------------------------------------------------------------------
   Cumplimiento (oscuro)
   -------------------------------------------------------------------------- */

.compliance {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #e9f0f3;
}

.compliance::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -260px;
  top: -300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(143, 101, 22, 0.28) 0%,
    rgba(143, 101, 22, 0) 68%
  );
  pointer-events: none;
}

.compliance .wrap {
  position: relative;
  z-index: 1;
}

.comp-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.compliance .eyebrow {
  color: var(--gold-soft);
}

.compliance h2 {
  color: #fff;
}

.compliance .lead {
  color: #b3c4cd;
  margin-top: 18px;
}

.comp-foot {
  margin-top: 26px;
  font-size: 12px;
  color: #8ea3ad;
  line-height: 1.6;
}

.comp-list {
  display: grid;
  gap: 11px;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.comp-item svg {
  flex: none;
  color: var(--gold-soft);
  margin-top: 2px;
}

.comp-item b {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 2px;
}

.comp-item span {
  display: block;
  font-size: 12.5px;
  line-height: 1.55;
  color: #a9bdc7;
}

/* --------------------------------------------------------------------------
   Cómo funciona
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-wash);
  border: 1px solid #eddfc0;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Multiempresa
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.split .lead {
  margin-top: 18px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #3e4f5a;
}

.checks svg {
  flex: none;
  color: var(--green);
  margin-top: 3px;
}

.company-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.company-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0e8d7;
}

.company-head h3 {
  font-size: 15px;
}

.company-head span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-wash);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
}

.company-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f4eedf;
  font-size: 13.5px;
}

.company-row:last-of-type {
  border-bottom: 0;
}

.company-name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  min-width: 0;
}

.company-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--ink);
  flex: none;
}

.company-dot.b {
  background: var(--gold);
}

.company-dot.c {
  background: #8a9d7a;
}

.company-dot.d {
  background: #c9a227;
}

.company-row small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted-2);
}

.company-meta {
  font-size: 11px;
  color: var(--muted-2);
  white-space: nowrap;
}

.company-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--cream);
  font-size: 11.5px;
  color: var(--muted);
}

.company-foot svg {
  color: var(--gold);
  flex: none;
}

/* --------------------------------------------------------------------------
   Precios
   -------------------------------------------------------------------------- */

.pricing {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.billing {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.billing-toggle {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  background: var(--sand);
  border: 1px solid #ece1cb;
  border-radius: 999px;
}

.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 9px 17px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 800;
  color: #5d6b75;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease,
    box-shadow 0.2s ease;
}

.billing-toggle button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(14, 36, 51, 0.12);
}

.save {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--green);
  background: var(--green-wash);
  border-radius: 999px;
  padding: 2px 6px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  position: relative;
}

.plan.featured {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.plan-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan h3 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.plan-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  min-height: 40px;
}

.plan.featured .plan-desc {
  color: #aec1cb;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 20px 0 4px;
}

.price .currency {
  font-size: 13px;
  font-weight: 800;
}

.price .amount {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price .period {
  font-size: 12px;
  color: var(--muted);
}

.plan.featured .price .period {
  color: #aec1cb;
}

/* Sustituye al bloque .price: los planes ya no muestran importe, se cotizan. */
.price-quote {
  margin: 20px 0 4px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.plan.featured .price-quote {
  color: #fff;
}

.price-note {
  font-size: 10.5px;
  color: var(--muted-2);
  min-height: 16px;
}

.plan.featured .price-note {
  color: #8ea3ad;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: grid;
  gap: 9px;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #3e4f5a;
}

.plan.featured li {
  color: #c6d5dc;
}

.plan li svg {
  flex: none;
  color: var(--green);
  margin-top: 2px;
}

.plan.featured li svg {
  color: #9ed3b5;
}

.plan .btn {
  margin-top: auto;
}

.plan.featured .btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.plan.featured .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
}

.pricing-note {
  margin-top: 26px;
  text-align: center;
  font-size: 11.5px;
  color: var(--muted-2);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  background: var(--cream);
}

.faq-list {
  max-width: 830px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

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

.faq-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  background: var(--sand);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-body {
  padding: 0 22px 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 70ch;
}

.faq-body a {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Contacto
   -------------------------------------------------------------------------- */

.contact {
  background: #fff;
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.contact .lead {
  margin-top: 18px;
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}

.contact-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #3e4f5a;
}

.contact-points svg {
  flex: none;
  color: var(--gold);
  margin-top: 3px;
}

.contact-direct {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-direct a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  width: fit-content;
}

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

.contact-direct svg {
  color: var(--gold);
  flex: none;
}

.form-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 4px;
}

.form-intro {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 13px;
}

.field label {
  font-size: 11.5px;
  font-weight: 800;
  color: #3e4f5a;
}

.field .opt {
  font-weight: 600;
  color: var(--muted-2);
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #d9ccb4;
  border-radius: 9px;
  background: #fff;
  padding: 11px 13px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #a79c87;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #c9b99c;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14, 36, 51, 0.1);
}

textarea {
  min-height: 96px;
  resize: vertical;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235B6B76' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 16px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}

.consent input {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--ink);
}

.consent a {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 2px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 18px;
  margin-top: 11px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--green);
}

.form-status.is-error {
  color: var(--gold);
}

.form-note {
  margin-top: 9px;
  font-size: 10.5px;
  color: var(--muted-2);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: #aec1cb;
  padding: 60px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 0.8fr 0.9fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-brand img {
  height: 54px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 7px 9px;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: #9db1bc;
}

.footer-col h4 {
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 6px 0 14px;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 9px;
  font-size: 12.5px;
  color: #a9bdc7;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* En celular la casilla de consentimiento y los enlaces del pie quedaban
   por debajo de lo que un dedo acierta con comodidad. */
@media (max-width: 720px) {
  .consent {
    font-size: 12px;
  }

  .consent input {
    width: 20px;
    height: 20px;
    margin-top: 1px;
  }

  .footer-col a {
    padding: 6px 0;
    margin-bottom: 2px;
  }
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  font-size: 11px;
  color: #8298a4;
}

.footer-bottom span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #5f7682;
}

/* --------------------------------------------------------------------------
   Animaciones de entrada
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

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

.js .mod-grid .reveal:nth-child(3n + 2),
.js .pain-grid .reveal:nth-child(2),
.js .steps .reveal:nth-child(2) {
  transition-delay: 0.07s;
}

.js .mod-grid .reveal:nth-child(3n + 3),
.js .pain-grid .reveal:nth-child(3),
.js .steps .reveal:nth-child(3) {
  transition-delay: 0.14s;
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-copy h1 {
    max-width: 16ch;
  }

  .hero-visual {
    max-width: 660px;
    width: 100%;
  }

  .comp-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .float-a {
    left: -10px;
  }

  .float-b {
    right: -8px;
  }
}

@media (max-width: 860px) {
  .pain-grid,
  .mod-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcome {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plans {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-inline: auto;
  }

  .plan.featured {
    order: -1;
  }

  .plan-desc {
    min-height: 0;
  }

  .section-head {
    margin-bottom: 36px;
  }
}

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

  .wrap {
    width: calc(100% - 36px);
  }

  .brand img {
    height: 42px;
  }

  .header-actions .btn {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-micro {
    gap: 6px 14px;
  }

  .hero-proof {
    align-items: flex-start;
  }

  .app {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .sidebar {
    display: none;
  }

  .app-main {
    padding: 13px;
  }

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

  .panel-chart {
    display: none;
  }

  .kpis {
    gap: 6px;
  }

  .kpi {
    padding: 8px;
  }

  .kpi .value {
    font-size: 15px;
  }

  .float-card {
    display: none;
  }

  .trust-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .pain-grid,
  .mod-grid,
  .steps,
  .form-row {
    grid-template-columns: 1fr;
  }

  .pain-card,
  .step {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .price .amount {
    font-size: 40px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 400px) {
  .kpis {
    grid-template-columns: 1fr 1fr;
  }

  .kpi:last-child {
    display: none;
  }

  .chips {
    gap: 6px;
  }

  .chip {
    font-size: 10.5px;
    padding: 5px 9px;
  }
}

@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 .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Páginas legales y 404
   -------------------------------------------------------------------------- */

.legal-page {
  background: var(--cream);
}

.legal-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.legal-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.legal-header .brand img {
  height: 42px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}

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

.legal-main {
  padding: clamp(44px, 6vw, 76px) 0 80px;
}

.legal-doc {
  max-width: 760px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}

.legal-doc .eyebrow {
  margin-bottom: 14px;
}

.legal-doc h1 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 11.5px;
  color: var(--muted-2);
  margin-bottom: 28px;
}

.legal-doc h2 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 30px 0 10px;
}

.legal-doc p,
.legal-doc li {
  font-size: 13.5px;
  line-height: 1.75;
  color: #44545f;
}

.legal-doc p + p {
  margin-top: 10px;
}

.legal-doc ul {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 7px;
}

.legal-doc a {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 2px;
}

.legal-note {
  margin-top: 30px;
  padding: 14px 16px;
  background: var(--sand);
  border: 1px solid #ece1cb;
  border-radius: 10px;
  font-size: 11.5px;
  color: var(--muted);
}

.notfound {
  min-height: calc(100vh - 220px);
  display: grid;
  place-items: center;
  padding: 60px 0;
  text-align: center;
}

.notfound .eyebrow {
  justify-content: center;
}

.notfound p {
  color: var(--muted);
  margin: 16px auto 26px;
  max-width: 44ch;
}

/* --------------------------------------------------------------------------
   Capacidades 01–06, Enfoques (ISO 9001 / COSO), Planes y comparativo
   -------------------------------------------------------------------------- */

.mod-num {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--sand);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.enf-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.enf-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  padding: 26px 26px 24px;
}

.enf-tag {
  margin: 0 0 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.enf-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.enf-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
}

.enf-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.5;
  color: #cdd8dd;
}

.enf-list svg {
  flex: none;
  margin-top: 2px;
  color: var(--gold-soft);
}

@media (max-width: 900px) {
  .enf-cols {
    grid-template-columns: 1fr;
  }
}

.impl-strip {
  margin-top: 26px;
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--gold-wash);
  border: 1px solid #eddfc0;
  border-radius: 12px;
  padding: 16px 20px;
}

.impl-strip svg {
  flex: none;
  color: var(--gold);
}

.impl-strip b {
  display: block;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.impl-strip span {
  font-size: 13px;
  color: var(--muted);
}

.matrix-wrap {
  margin-top: 26px;
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.matrix {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}

.matrix caption {
  text-align: left;
  padding: 16px 18px 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.matrix th,
.matrix td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}

.matrix thead th {
  background: var(--sand);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted-2);
  padding: 12px 16px;
}

.matrix thead th:first-child {
  text-align: left;
}

.matrix tbody th[scope="row"] {
  text-align: left;
  font-weight: 600;
  color: #223a4b;
}

.matrix td {
  text-align: center;
}

.matrix .yes {
  color: var(--green);
  font-weight: 800;
}

.matrix .no {
  color: #c4bca9;
}

.matrix tbody tr:last-child th,
.matrix tbody tr:last-child td {
  border-bottom: 0;
}

/* El comparativo de planes tiene 4 columnas y en celular obligaba a
   desplazarse de lado. Cada funcionalidad pasa a ser un renglon con los
   tres planes debajo, cada marca con el nombre de su plan al lado. */
@media (max-width: 720px) {
  .matrix-wrap {
    overflow-x: visible;
  }

  .matrix,
  .matrix tbody,
  .matrix tr {
    display: block;
    min-width: 0;
  }

  .matrix thead {
    display: none;
  }

  .matrix tr {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
  }

  .matrix tbody tr:last-child {
    border-bottom: 0;
  }

  .matrix tbody th[scope="row"] {
    display: block;
    padding: 0 0 7px;
    border-bottom: 0;
  }

  .matrix td {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    width: 33.33%;
    padding: 0;
    border-bottom: 0;
    text-align: left;
  }

  .matrix td::before {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-2);
  }

  .matrix td:nth-child(2)::before {
    content: "Esencial";
  }

  .matrix td:nth-child(3)::before {
    content: "Profesional";
  }

  .matrix td:nth-child(4)::before {
    content: "Empresarial";
  }
}

.empresas-shot {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  align-self: center;
  width: 100%;
}

.empresas-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Rediseño de alto impacto — v2
   -------------------------------------------------------------------------- */

.hero-copy h1 {
  font-size: clamp(40px, 5.6vw, 74px);
  max-width: 12ch;
}

.btn-gold {
  background: linear-gradient(135deg, #e8ca8b 0%, #d4ab58 100%);
  color: var(--ink);
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 16px 34px -18px rgba(143, 101, 22, 0.65);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f0d9a3 0%, #c9a45c 100%);
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -18px rgba(143, 101, 22, 0.7);
}

.btn-lg {
  font-size: 15.5px;
  padding: 17px 28px;
}

.hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}

.hero-pills span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-wash);
  border: 1px solid #eddfc0;
  border-radius: 999px;
  padding: 6px 13px;
}

.hero-proof-line {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.hero-proof-line li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.hero-proof-line svg {
  flex: none;
  color: var(--green);
}

.hero-audience {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted-2);
}

.hero-audience b {
  color: var(--ink);
  font-weight: 800;
}

/* Barra de impacto */
.impact-strip {
  display: block;
  text-decoration: none;
  background: var(--ink);
  color: #e9f0f3;
  border-bottom: 4px solid var(--gold);
  transition: background-color 0.25s ease;
}

.impact-strip:hover {
  background: #16324d;
}

.impact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 18px 0;
  flex-wrap: wrap;
}

.impact-tag {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 5px;
}

.impact-inner p {
  margin: 0;
  max-width: 68ch;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 700;
  line-height: 1.4;
}

.impact-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 19px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8ca8b 0%, #d4ab58 100%);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
}

.impact-strip:hover .impact-cta {
  background: linear-gradient(135deg, #f0d9a3 0%, #e0be6f 100%);
}

/* Antes / Después */
.ba-grid {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.ba-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
}

.ba-before,
.ba-after {
  border-radius: var(--radius);
  padding: 18px 20px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.ba-before {
  background: var(--paper);
  border: 1px dashed #ddd3c2;
}

.ba-after {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #cdd8dd;
}

.ba-after b {
  color: #ffffff;
}

.ba-before p,
.ba-after p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.ba-before p {
  color: #4b5b66;
}

.ba-flag {
  justify-self: start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 11px;
}

.ba-flag-bad {
  background: var(--sand);
  color: var(--muted);
}

.ba-flag-good {
  background: linear-gradient(135deg, #e8ca8b 0%, #d4ab58 100%);
  color: var(--ink);
}

.ba-arrow {
  display: grid;
  place-items: center;
  color: var(--gold);
}

.pain-punch {
  margin: 36px 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.pain-punch span {
  color: var(--gold);
  font-style: italic;
}

@media (max-width: 760px) {
  .ba-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ba-arrow {
    transform: rotate(90deg);
    padding: 0;
    height: 26px;
  }
}

/* Tag de audiencia por capacidad */
.mod-tag {
  align-self: flex-start;
  width: max-content;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: var(--sand);
  border-radius: 999px;
  padding: 4px 11px;
  margin: 0 0 10px;
}

.mod {
  display: flex;
  flex-direction: column;
}

/* Showcase oscuro */
.showcase {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.showcase::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -260px;
  top: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 195, 124, 0.16), rgba(228, 195, 124, 0) 70%);
  pointer-events: none;
}

.showcase .wrap {
  position: relative;
}

.showcase .eyebrow {
  color: var(--gold-soft);
}

.showcase h2 {
  color: #ffffff;
}

.showcase .lead {
  color: #b3c4cd;
}

.showcase .shot {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}

.showcase .shot img {
  border-bottom-color: rgba(255, 255, 255, 0.13);
  background: #1a405c;
}

.showcase .shot figcaption {
  color: #a9bdc7;
}

.showcase .shot figcaption b {
  color: #ffffff;
}

.showcase .shot-tag {
  background: rgba(228, 195, 124, 0.16);
  color: var(--gold-soft);
}

/* Enfoques en claro */
.enfoque-light .enf-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-soft);
  box-shadow: var(--shadow-sm);
}

.enfoque-light .enf-tag {
  color: var(--gold);
}

.enfoque-light .enf-card h3 {
  color: var(--ink);
}

.enfoque-light .enf-list li {
  color: #3e4f5a;
}

.enfoque-light .enf-list svg {
  color: var(--green);
}

.enfoque-light .comp-foot {
  color: var(--muted-2);
}

/* Cierre oscuro para contacto */
.contact {
  background: var(--ink);
  border-top: 0;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: -240px;
  top: -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 195, 124, 0.18), rgba(228, 195, 124, 0) 70%);
  pointer-events: none;
}

.contact .wrap {
  position: relative;
}

.contact .eyebrow {
  color: var(--gold-soft);
}

.contact h2 {
  color: #ffffff;
}

.contact .lead {
  color: #b3c4cd;
}

.contact-points li {
  color: #cdd8dd;
}

.contact-points svg {
  color: var(--gold-soft);
}

.contact-direct {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.contact-direct a {
  color: #e9f0f3;
}

.contact-direct a:hover {
  color: #ffffff;
}

.contact-direct svg {
  color: var(--gold-soft);
}

.contact .form-card {
  background: var(--paper);
  color: var(--ink);
  border: 0;
  box-shadow: var(--shadow-lg);
}

/* Barra fija de conversión (móvil) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(16, 40, 64, 0.94);
  backdrop-filter: blur(10px);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-inner {
  max-width: 1180px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-copy {
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .sticky-cta {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta {
    transition: none;
  }
  .hero-copy h1,
  .impact-strip,
  .btn-gold {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Circular de cambio (correo ilustrativo, según presentación comercial)
   -------------------------------------------------------------------------- */

.mod p a {
  color: var(--ink);
  font-weight: 800;
  text-underline-offset: 3px;
}

.circular {
  background: #ffffff;
  padding: clamp(18px, 2.6vw, 28px);
  display: grid;
  gap: 16px;
  align-content: center;
  height: 100%;
}

.circular-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.circular-brand {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.circular-badge {
  background: var(--ink);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 6px;
  padding: 6px 12px;
}

.circular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 18px;
  margin: 0;
}

.circular-row {
  margin: 0;
}

.circular-row dt {
  margin: 0 0 3px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.circular-row dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: #223a4b;
}

.circular-cta {
  justify-self: start;
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 8px;
  padding: 11px 18px;
}

@media (max-width: 760px) {
  .circular-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Orden · Control · Eficiencia — sections: Valor, Comparativo, browser-chrome shots
   -------------------------------------------------------------------------- */

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

/* --- El verdadero valor --- */
.valor .section-head {
  margin-bottom: 30px;
}

.dg-statement {
  position: relative;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px) clamp(22px, 3vw, 32px) clamp(26px, 3.4vw, 44px);
  margin-bottom: 26px;
  overflow: hidden;
}

.dg-statement::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 5px;
  border-radius: 0 5px 5px 0;
  background: linear-gradient(180deg, #e4c37c 0%, #d4ab58 100%);
}

.dg-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 10px;
}

.dg-statement p {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: #e9f0f3;
  max-width: 68ch;
}

.dg-statement strong {
  color: #ffffff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.benefit {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.benefit-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  opacity: 0.8;
}

.benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--gold-wash);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit h3 {
  font-size: 15px;
  margin: 0 0 7px;
}

.benefit p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1000px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.distinction {
  margin-top: 26px;
  margin-inline: auto;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 1020px;
  background: var(--gold-wash);
  border: 1px solid #eddfc0;
  border-radius: var(--radius);
  padding: 18px 22px;
}

.distinction-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #eddfc0;
  color: var(--gold);
  display: grid;
  place-items: center;
}

.distinction-icon svg {
  width: 23px;
  height: 23px;
}

.distinction p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #3e4f5a;
}

.distinction-kicker {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}

.distinction strong {
  color: var(--ink);
}

/* --- Comparativo demográfico (dark) --- */
.compare-section {
  background: var(--ink);
}

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

.compare-section h2 {
  color: #ffffff;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
  font-size: clamp(12px, 1.3vw, 14.5px);
}

.compare-table th,
.compare-table td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: middle;
}

.compare-table thead th {
  background: rgba(255, 255, 255, 0.07);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compare-table thead th:nth-child(1) {
  color: #a9bdc7;
}

.compare-table thead th:nth-child(2) {
  color: var(--gold-soft);
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table td:nth-child(1) {
  color: #a9bdc7;
}

.compare-table td:nth-child(2) {
  color: #ffffff;
  font-weight: 700;
}

.compare-table td:nth-child(1)::before,
.compare-table td:nth-child(2)::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 10px;
  vertical-align: -2px;
  background: no-repeat center / contain;
}

.compare-table td:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fa6b2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}

.compare-table td:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e4c37c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E");
}

@media (max-width: 720px) {
  .compare-table th,
  .compare-table td {
    padding: 11px 12px;
  }
}

/* --- Shot frames (browser chrome around captures) --- */
.shot-frame {
  position: relative;
}

.shot-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}

.shot-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8d4c8;
  flex: none;
}

.shot-chrome span:first-child {
  background: #d4ab58;
}

.shot-chrome em {
  margin-left: 8px;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.showcase .shot-chrome {
  background: rgba(255, 255, 255, 0.055);
  border-bottom-color: rgba(255, 255, 255, 0.13);
}

.showcase .shot-chrome span {
  background: rgba(255, 255, 255, 0.3);
}

.showcase .shot-chrome span:first-child {
  background: #e4c37c;
}

.showcase .shot-chrome em {
  color: #9db1bc;
}

.showcase .shot img {
  border-bottom-color: rgba(255, 255, 255, 0.13);
}

.shot-frame-mail .shot-chrome {
  background: rgba(255, 255, 255, 0.055);
}

/* --- Señales de operación sin procesos (3 columnas, dark) --- */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  margin-top: 4px;
}

.pain-table {
  min-width: 780px;
}

.pain-table thead th:nth-child(1) {
  color: #a9bdc7;
}

.pain-table thead th:nth-child(2) {
  color: #d9c49a;
}

.pain-table thead th:nth-child(3) {
  color: var(--gold-soft);
}

.pain-table td:nth-child(1) {
  color: #a9bdc7;
}

.pain-table td:nth-child(2) {
  color: #d9c49a;
}

.pain-table td:nth-child(3) {
  color: #ffffff;
  font-weight: 700;
}

.pain-table td:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fa6b2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}

.pain-table td:nth-child(2)::before {
  content: "\2192";
  background: none;
  width: auto;
  margin-right: 10px;
  color: #d9c49a;
}

/* La regla base de .compare-table solo cubre 2 columnas, asi que esta
   tercera nunca recibia content y su palomita no se pintaba. */
.pain-table td:nth-child(3)::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 10px;
  vertical-align: -2px;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e4c37c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E");
}

.stakes-line {
  margin: 36px 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.stakes-line span {
  color: var(--gold-soft);
  font-style: italic;
}

@media (max-width: 720px) {
  .compare-wrap {
    margin-left: -14px;
    margin-right: -14px;
    border-radius: 0;
  }
}

/* En celular la tabla de 3 columnas no cabe y obligaba a desplazarse en
   horizontal. Cada fila pasa a ser una tarjeta con sus tres partes una
   debajo de otra. Los rotulos repiten los encabezados de columna para que
   las marcas (tache, flecha y palomita) sigan explicadas en pantalla. */
@media (max-width: 720px) {
  .compare-wrap {
    overflow-x: visible;
  }

  .pain-table,
  .pain-table tbody,
  .pain-table tr {
    display: block;
    min-width: 0;
  }

  .pain-table thead {
    display: none;
  }

  .pain-table tr {
    padding: 18px 16px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .pain-table tr:last-child {
    border-bottom: 0;
  }

  /* El rotulo va encima, fuera del flujo, para que el icono de ::before
     siga pegado a su texto en la misma linea. */
  .pain-table td {
    display: block;
    position: relative;
    padding: 16px 0 0;
    border: 0;
  }

  .pain-table td + td {
    margin-top: 12px;
  }

  .pain-table td::after {
    position: absolute;
    top: 0;
    left: 0;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.62;
  }

  .pain-table td:nth-child(1)::after {
    content: "Lo que ves todos los días";
  }

  .pain-table td:nth-child(2)::after {
    content: "Lo que te cuesta";
  }

  .pain-table td:nth-child(3)::after {
    content: "Con TREEJA";
  }
}

/* --- Textura de puntos (valor y comparativo) --- */
.valor {
  background-image: radial-gradient(circle at 1px 1px, rgba(16, 40, 64, 0.07) 1.3px, transparent 1.4px);
  background-size: 26px 26px;
}

.compare-section {
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.055) 1.4px, transparent 1.5px);
  background-size: 24px 24px;
}

