@charset "utf-8";

@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-400.woff2") format("woff2"), url("/assets/fonts/manrope-400.ttf") format("truetype"); }

@font-face { font-family: Manrope; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/manrope-500.woff2") format("woff2"), url("/assets/fonts/manrope-500.ttf") format("truetype"); }

@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/manrope-600.woff2") format("woff2"), url("/assets/fonts/manrope-600.ttf") format("truetype"); }

@font-face { font-family: Manrope; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-700.woff2") format("woff2"), url("/assets/fonts/manrope-700.ttf") format("truetype"); }

@font-face { font-family: Manrope; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/manrope-800.woff2") format("woff2"), url("/assets/fonts/manrope-800.ttf") format("truetype"); }

:root, [data-estilo="claro"] { --header-bg: rgba(245,243,238,.94); --band: #14202b; --field: #ffffff; --bg: #f5f3ee; --bg-2: #ece8df; --surface: #fcfbf8; --ink: #14202b; --text: #2a2f35; --muted: #565c63; --line: #d9d3c6; --accent: #2c6650; --accent-dark: #1f4c3b; --accent-soft: #e2ede6; --accent-ink: #ffffff; --warn: #8d4a24; --warn-soft: #f5e4d6; --danger: #a3342a; --danger-soft: #f6e1dc; --app-bg: #111a1f; --app-surface: #18232a; --app-line: #2a3840; --app-text: #dfe6e3; --app-muted: #9eaba6; --app-accent: #5cbb92; --app-warn: #e8a77c; --display: 'Manrope',system-ui,sans-serif; --body: 'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif; --r: 8px; --r-lg: 16px; --header: 68px; }

[data-estilo="oscuro"] { --header-bg: rgba(13,19,22,.94); --band: #0a0f12; --field: #141c21; --bg: #0f1519; --bg-2: #141c21; --surface: #18222a; --ink: #eef3f0; --text: #d4ddd9; --muted: #a4b1ab; --line: #2a363d; --accent: #62c59c; --accent-dark: #86d6b4; --accent-soft: #17302a; --accent-ink: #0a1310; --warn: #f0b08a; --warn-soft: #382a20; --danger: #e8847a; --danger-soft: #3a241f; --app-bg: #0c1418; --app-surface: #141f25; --app-line: #25333a; --app-text: #dfe7e3; --app-muted: #9eaca6; --app-accent: #62c59c; --app-warn: #f0b08a; }

[data-estilo="mediterraneo"] { --header-bg: rgba(9,36,48,.94); --band: #061b25; --field: #0f3343; --bg: #0a2532; --bg-2: #0d2d3c; --surface: #113646; --ink: #eaf6f5; --text: #cde2e3; --muted: #9dc3c8; --line: #235061; --accent: #4fd2c6; --accent-dark: #86e3db; --accent-soft: #0f4250; --accent-ink: #05212a; --warn: #f3b48d; --warn-soft: #3a2d25; --danger: #e8897a; --danger-soft: #3a241f; --app-bg: #06202b; --app-surface: #0c2c3a; --app-line: #1c4757; --app-text: #dcefee; --app-muted: #95bec4; --app-accent: #5fe0d0; --app-warn: #f3b48d; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }

body { margin: 0px; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4, .hero-lema { font-family: var(--display); font-weight: 600; color: var(--ink); line-height: 1.14; margin: 0px; }

p { margin: 0px; }

a { color: var(--accent-dark); }

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

img, svg { display: block; }

.wrap { max-width: 1160px; margin: 0px auto; padding: 0px 20px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 6px; }

.skip:focus { left: 8px; }

.eyebrow { display: inline-block; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 14px; }

.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

.small { font-size: 0.88rem; color: var(--muted); }

section { padding: 96px 0px; position: relative; }

.alt { background: var(--bg-2); }

.head { max-width: 66ch; margin-bottom: 44px; }

.head h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); margin-bottom: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font: 600 .98rem/1.2 var(--body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.2s; }

.btn-primary { background: var(--accent); color: var(--accent-ink); }

.btn-primary:hover { background: var(--accent-dark); }

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

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

.btn-sm { min-height: 42px; padding: 8px 16px; font-size: 0.92rem; }

.work-note { border: 1.5px dashed var(--warn); background: var(--warn-soft); color: var(--warn); border-radius: var(--r); padding: 10px 14px; font-size: 0.88rem; }

.publish .work-note, .publish .pending { display: none !important; }

.site-header { position: sticky; top: 0px; z-index: 100; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: transform 0.3s; }

.site-header.hide { transform: translateY(-100%); }

.site-header .wrap { display: flex; align-items: center; gap: 18px; height: var(--header); }

.brand { font-family: var(--display); font-weight: 600; font-size: 1.22rem; color: var(--ink); text-decoration: none; white-space: nowrap; }

.brand span { font-family: var(--body); font-weight: 500; font-size: 0.8rem; color: var(--muted); margin-left: 6px; }

.nav { margin-left: auto; }

.nav ul { display: flex; gap: 4px; list-style: none; margin: 0px; padding: 0px; }

.nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 0.95rem; white-space: nowrap; }

.nav a:hover { background: var(--bg-2); }

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

.menu-btn { display: none; margin-left: auto; font: 600 .95rem var(--body); background: transparent; border: 1.5px solid var(--line); border-radius: 999px; min-height: 44px; padding: 8px 16px; color: var(--ink); cursor: pointer; }

@media (max-width: 1180px) {
  .js .menu-btn { display: inline-flex; align-items: center; gap: 8px; }
  .js .nav { position: absolute; left: 0px; right: 0px; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); display: none; margin: 0px; }
  .js .nav.open { display: block; }
  html:not(.js) .nav ul { flex-wrap: wrap; justify-content: flex-start; }
  html:not(.js) .site-header { position: static; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; }
  html:not(.js) .nav { margin-left: 0px; width: 100%; }
  .js .nav ul { flex-direction: column; padding: 10px 20px 16px; gap: 2px; }
  .nav a { padding: 12px 14px; font-size: 1.02rem; }
  .js .header-cta { display: none; }
}

@media (max-width: 1180px) {
  .site-header .wrap { position: relative; }
}

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s, transform 0.6s; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .site-header { transition: none; }
  * { animation: auto ease 0s 1 normal none running none !important; }
}

.hero { padding: 72px 0px 88px; }

.hero-grid { display: grid; grid-template-columns: minmax(0px, 1.08fr) minmax(0px, 0.92fr); gap: 56px; align-items: center; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero .hero-lema { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -0.012em; margin-bottom: 22px; }

.hero .hero-lema em { font-style: normal; color: var(--accent); }

.hero .lead { margin-bottom: 30px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.phone { width: 100%; max-width: 360px; margin: 0px auto; background: var(--app-bg); border-radius: 40px; padding: 12px; box-shadow: rgba(10, 20, 25, 0.6) 0px 40px 80px -40px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px; }

.phone-screen { background: var(--app-bg); border-radius: 30px; overflow: hidden; color: var(--app-text); font-size: 0.9rem; }

.app-top { padding: 16px 18px 12px; border-bottom: 1px solid var(--app-line); }

.app-top b { display: block; color: rgb(255, 255, 255); font-size: 1rem; }

.app-top small { color: var(--app-muted); font-size: 0.76rem; }

.chain { list-style: none; margin: 0px; padding: 6px 18px 10px; }

.chain li { position: relative; padding: 10px 0px 10px 22px; border-left: 2px solid var(--app-line); margin-left: 6px; }

.chain li::before { content: ""; position: absolute; left: -7px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: var(--app-bg); border: 2px solid var(--app-accent); }

.chain .k { display: block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--app-muted); font-weight: 700; }

.chain strong { color: rgb(255, 255, 255); }

.flag { display: inline-flex; align-items: center; gap: 5px; font-size: 0.74rem; font-weight: 700; color: var(--app-warn); margin-bottom: 2px; }

.flag svg { width: 12px; height: 12px; }

.app-foot { padding: 10px 18px 14px; font-size: 0.72rem; color: var(--app-muted); border-top: 1px solid var(--app-line); }

.demo-label { margin-top: 14px; text-align: center; }

.problems { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 0px 56px; }

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

.problem { padding: 26px 0px; border-top: 1px solid var(--line); }

.problem h3 { font-size: 1.25rem; margin-bottom: 6px; }

.problem p { color: var(--muted); }

.method { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); gap: 64px; align-items: start; }

@media (max-width: 940px) {
  .method { grid-template-columns: 1fr; gap: 40px; }
}

.quote-list { list-style: none; margin: 30px 0px 0px; padding: 0px; }

.quote-list li { font-family: var(--display); font-size: clamp(1.15rem, 2vw, 1.38rem); color: var(--ink); padding: 16px 0px 16px 22px; border-left: 3px solid var(--accent); margin-bottom: 10px; background: linear-gradient(90deg,var(--accent-soft),transparent 70%); }

.steps { list-style: none; margin: 0px; padding: 0px; counter-reset: st 0; }

.steps li { counter-increment: st 1; display: grid; grid-template-columns: 44px minmax(0px, 1fr); gap: 16px; padding: 0px 0px 28px; position: relative; }

.steps li::before { content: counter(st); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--accent); border: 2px solid var(--accent); background: var(--bg-2); }

.steps li::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: var(--line); }

.steps li:last-child::after { display: none; }

.steps h3 { font-size: 1.18rem; margin: 8px 0px 4px; }

.steps p { color: var(--muted); }

.verbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0px 18px; }

.verbs span { font-size: 0.9rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }

.resp { padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }

.monthly { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); gap: 56px; align-items: start; }

@media (max-width: 940px) {
  .monthly { grid-template-columns: 1fr; gap: 40px; }
}

.get-list { list-style: none; margin: 0px; padding: 0px; display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 0px 32px; }

@media (max-width: 560px) {
  .get-list { grid-template-columns: 1fr; }
}

.get-list li { padding: 18px 0px; border-top: 1px solid var(--line); }

.get-list b { display: flex; gap: 10px; align-items: center; font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--ink); margin-bottom: 4px; }

.get-list b svg { width: 20px; height: 20px; color: var(--accent); flex: 0 0 auto; }

.get-list p { color: var(--muted); font-size: 0.96rem; }

.reads { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }

.reads-h { display: grid; grid-template-columns: minmax(0px, 0.7fr) minmax(0px, 1fr) minmax(0px, 1.2fr); }

.reads-h div { padding: 12px 18px; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--muted); background: var(--bg-2); border-bottom: 1px solid var(--line); }

.reads-h div:last-child { color: var(--accent); }

.read { display: grid; grid-template-columns: minmax(0px, 0.7fr) minmax(0px, 1fr) minmax(0px, 1.2fr); border-bottom: 1px solid var(--line); }

.read:last-child { border-bottom: 0px; }

.read div { padding: 16px 18px; }

.read div:first-child { font-family: var(--display); color: var(--ink); font-weight: 600; }

.read div:nth-child(2) { color: var(--muted); border-right: 1px solid var(--line); }

.read div:last-child { color: var(--text); }

@media (max-width: 640px) {
  .reads-h { display: none; }
  .read { grid-template-columns: 1fr; padding: 14px 18px; gap: 6px; }
  .read div { padding: 0px; }
  .read div:nth-child(2) { border-right: 0px; }
  .read div[data-l]::before { content: attr(data-l) ": "; font-weight: 700; color: var(--muted); }
  .read div:last-child::before { color: var(--accent); }
}

.app-section { background: var(--band); color: rgb(231, 236, 233); }

.app-section h2, .app-section h3 { color: rgb(255, 255, 255); }

.app-section .eyebrow { color: var(--app-accent); }

.app-section .lead, .app-section .small { color: rgb(180, 192, 187); }

.app-section .work-note { background: rgb(58, 42, 30); color: rgb(243, 201, 168); border-color: rgb(243, 201, 168); }

.app-intro { display: grid; grid-template-columns: minmax(0px, 1.1fr) minmax(0px, 0.9fr); gap: 40px; align-items: end; margin-bottom: 36px; }

@media (max-width: 940px) {
  .app-intro { grid-template-columns: 1fr; gap: 18px; }
}

.switch { display: inline-flex; padding: 4px; border-radius: 999px; background: rgb(11, 18, 22); border: 1px solid var(--app-line); }

.switch button { font: 600 .92rem var(--body); color: rgb(200, 210, 206); background: transparent; border: 0px; border-radius: 999px; padding: 9px 16px; min-height: 42px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }

.switch button[aria-pressed="true"] { background: var(--app-accent); color: rgb(11, 18, 22); }

.switch svg { width: 16px; height: 16px; }

.device { margin: 0px auto; transition: max-width 0.35s; }

.device[data-mode="mobile"] { max-width: 400px; }

.device[data-mode="desktop"] { max-width: 1080px; }

.frame { background: var(--app-bg); border: 1px solid var(--app-line); overflow: hidden; color: var(--app-text); }

.device[data-mode="mobile"] .frame { border-radius: 40px; border: 12px solid rgb(10, 16, 19); box-shadow: rgba(0, 0, 0, 0.7) 0px 40px 80px -40px; }

.device[data-mode="desktop"] .frame { border-radius: 14px; box-shadow: rgba(0, 0, 0, 0.8) 0px 40px 80px -50px; }

.win-bar { display: none; align-items: center; gap: 6px; padding: 10px 14px; background: rgb(11, 18, 22); border-bottom: 1px solid var(--app-line); }

.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgb(44, 58, 66); }

.device[data-mode="desktop"] .win-bar { display: flex; }

.app-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 16px 20px; border-bottom: 1px solid var(--app-line); }

.app-head b { color: rgb(255, 255, 255); font-size: 1.02rem; }

.app-head .meta { font-size: 0.8rem; color: var(--app-muted); }

.app-body { display: grid; }

.app-body > * { min-width: 0; }

.device[data-mode="desktop"] .app-body { grid-template-columns: 210px minmax(0px, 1fr); }

.tabs-col { padding: 12px 14px; border-bottom: 1px solid var(--app-line); min-width: 0px; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; }

.more-toggle { margin-top: 8px; font: 600 .82rem var(--body); color: var(--app-accent); background: transparent; border: 0px; padding: 6px 2px; min-height: 32px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.device[data-mode="desktop"] .more-toggle { display: none; }

.device:not([data-mode="desktop"]) .tabs button { padding: 6px 11px; min-height: 34px; font-size: 0.82rem; }

@media (max-width: 700px) {
  .device[data-mode="desktop"] .tabs button { padding: 6px 11px; min-height: 34px; font-size: 0.82rem; border-color: var(--app-line); border-radius: 999px; }
}

.device[data-mode="desktop"] .tabs-col { border-bottom: 0px; border-right: 1px solid var(--app-line); padding: 16px 12px; }

.device[data-mode="desktop"] .tabs { flex-flow: column; }

.tabs button { font: 600 .9rem var(--body); color: rgb(195, 205, 201); background: transparent; border: 1px solid var(--app-line); border-radius: 999px; padding: 8px 14px; min-height: 40px; white-space: nowrap; cursor: pointer; text-align: left; }

.device[data-mode="desktop"] .tabs button { border-radius: 10px; border-color: transparent; }

.tabs button[aria-selected="true"] { background: var(--app-surface); color: rgb(255, 255, 255); border-color: var(--app-accent); }

.device[data-mode="desktop"] .tabs button[aria-selected="true"] { border-color: transparent; box-shadow: inset 3px 0 0 var(--app-accent); }

@media (max-width: 700px) {
  .device[data-mode="desktop"] .app-body { grid-template-columns: 1fr; }
  .device[data-mode="desktop"] .tabs-col { border-right: 0px; border-bottom: 1px solid var(--app-line); padding: 12px 14px; }
  .device[data-mode="desktop"] .tabs { flex-flow: wrap; }
}

.panel { padding: 20px; min-height: 430px; }

.panel[hidden] { display: none; }

.panel h3 { font-family: var(--body); font-size: 1.05rem; color: rgb(255, 255, 255); margin-bottom: 12px; }

.goal { padding: 12px 14px; border-radius: 10px; background: var(--app-surface); border: 1px solid var(--app-line); margin-bottom: 14px; font-size: 0.92rem; }

.goal span { display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--app-muted); font-weight: 700; }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; }

.kpi { padding: 14px; border-radius: 10px; background: var(--app-surface); border: 1px solid var(--app-line); }

.kpi span { display: block; font-size: 0.78rem; color: var(--app-muted); }

.kpi b { display: block; font-size: 1.45rem; color: rgb(255, 255, 255); font-weight: 700; margin: 2px 0px; }

.kpi small { font-size: 0.78rem; color: var(--app-muted); }

.kpi .warn { color: var(--app-warn); font-weight: 600; }

.link-btn { font: 600 .9rem var(--body); color: var(--app-accent); background: transparent; border: 0px; padding: 6px 0px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 40px; }

.explain { display: grid; grid-template-columns: 150px minmax(0px, 1fr); border-top: 1px solid var(--app-line); font-size: 0.9rem; }

.explain > div { padding: 10px 0px; border-bottom: 1px solid var(--app-line); }

.explain > div:nth-child(2n+1) { color: var(--app-muted); font-weight: 600; padding-right: 12px; }

@media (max-width: 520px) {
  .explain { grid-template-columns: 1fr; }
  .explain > div:nth-child(2n+1) { border-bottom: 0px; padding-bottom: 0px; }
}

.device[data-mode="mobile"] .explain { grid-template-columns: 1fr; }

.device[data-mode="mobile"] .explain > div:nth-child(2n+1) { border-bottom: 0px; padding-bottom: 0px; }

.tbl { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-bottom: 14px; }

.tbl th, .tbl td { padding: 9px 8px; border-bottom: 1px solid var(--app-line); text-align: right; }

.tbl th:first-child, .tbl td:first-child { text-align: left; }

.tbl th { color: var(--app-muted); font-weight: 600; font-size: 0.78rem; }

.tbl tr.total td { color: rgb(255, 255, 255); font-weight: 700; }

.tbl-wrap { overflow-x: auto; }

.tbl th:not(:first-child), .tbl td:not(:first-child) { white-space: nowrap; }

.chart { margin: 4px 0px 10px; max-width: 560px; width: 100%; }

.chart text { fill: rgb(201, 211, 207); font: 13px var(--body); paint-order: stroke; stroke: var(--app-bg); stroke-width: 4px; }

.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.8rem; color: var(--app-muted); margin-bottom: 12px; }

.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }

.assume { font-size: 0.82rem; color: var(--app-muted); padding: 10px 12px; border-radius: 8px; background: rgb(13, 21, 25); border: 1px dashed var(--app-line); }

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

.recs li { padding: 14px; border-radius: 10px; background: var(--app-surface); border: 1px solid var(--app-line); }

.recs .pri { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--app-accent); }

.recs dl { display: grid; grid-template-columns: 80px minmax(0px, 1fr); gap: 4px 10px; margin: 6px 0px 0px; font-size: 0.88rem; }

.recs dt { color: var(--app-muted); font-weight: 600; }

.recs dd { margin: 0px; }

.acts { list-style: none; margin: 0px; padding: 0px; }

.acts li { display: grid; grid-template-columns: minmax(0px, 1fr) auto; gap: 4px 12px; padding: 12px 0px; border-bottom: 1px solid var(--app-line); font-size: 0.9rem; }

.acts .who { grid-column: 1 / -1; color: var(--app-muted); font-size: 0.82rem; }

.st { display: inline-flex; align-items: center; gap: 5px; font-size: 0.76rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid; white-space: nowrap; height: fit-content; }

.st.urg { color: var(--app-warn); }

.st.run { color: rgb(157, 200, 232); }

.st.plan { color: var(--app-muted); }

.panel-note { margin-top: 14px; font-size: 0.78rem; color: var(--app-muted); }

/* portada: Inboard Control en «Cómo trabajamos» */
.hero-app { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-app p { margin: 0 0 8px; font-size: 0.92rem; color: var(--text); }
.hero-app .hero-app-title { font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.hero-app-link { margin-top: 8px; min-height: 44px; padding: 10px 18px; font-size: 0.92rem; border-color: var(--accent); color: var(--accent); }

/* demo: iconos de dispositivos */
.app-devices { display: flex; gap: 14px; margin-top: 14px; color: var(--app-accent); }
.app-devices svg { width: 22px; height: 22px; }

/* demo: gráficos SVG. Colores validados sobre las seis superficies de la demo:
   ventas #3987e5 · costes y gastos #d95926 · margen y resultados #199e70 */
.viz-card { margin: 0 0 14px; padding: 14px; border-radius: 10px; background: var(--app-surface); border: 1px solid var(--app-line); min-width: 0; }
.viz-card:not(.on) { display: none; }
.viz-card figcaption { font-size: 0.85rem; font-weight: 600; color: rgb(255, 255, 255); margin-bottom: 8px; }
.viz-card figcaption small { font-weight: 400; color: var(--app-muted); margin-left: 4px; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.78rem; color: var(--app-muted); margin-bottom: 10px; }
.viz-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.viz-legend .k-v { background: #3987e5; } .viz-legend .k-r { background: #d95926; } .viz-legend .k-m { background: #199e70; }
.viz { position: relative; }
.viz svg { display: block; overflow: visible; }
.viz text { font: 12px var(--body); fill: var(--app-muted); }
.viz text.vz-val { fill: var(--app-text); font-weight: 600; }
.viz .vz-v { fill: #3987e5; } .viz .vz-r { fill: #d95926; } .viz .vz-m { fill: #199e70; }
.viz .vz-grid { stroke: var(--app-line); stroke-width: 1; }
.viz .vz-link { stroke: var(--app-muted); stroke-width: 1; opacity: 0.6; }
.viz .vz-ref { stroke: var(--app-text); stroke-width: 1.5; stroke-dasharray: 4 3; }
.viz .vz-line { fill: none; stroke: #199e70; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.viz .vz-dot { fill: #199e70; stroke: var(--app-surface); stroke-width: 2; }
.viz .vz-hit { fill: transparent; }
.viz-note { margin-top: 6px; font-size: 0.8rem; color: var(--app-muted); }
.viz-tip { position: absolute; z-index: 2; pointer-events: none; transform: translate(-50%, calc(-100% - 10px)); padding: 6px 9px; border-radius: 6px; background: rgb(11, 18, 22); border: 1px solid var(--app-line); color: rgb(255, 255, 255); font-size: 0.78rem; white-space: nowrap; }
.viz-pair { container-type: inline-size; }
.viz-grid > .tbl-wrap { min-width: 0; }
@container (min-width: 720px) {
  .viz-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .viz-grid > .viz-card { margin-bottom: 0; }
}
.viz-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }

/* demo: «Cómo se calcula» (sin JavaScript se oculta: el contenido lo genera el script) */
.calc:not(.on) { display: none; }
.calc { margin: 8px 0 12px; font-size: 0.86rem; color: var(--app-text); }
.kpi .calc { margin: 6px 0 0; }
.kpi:has(> .calc[open]) { grid-column: 1 / -1; }
.calc summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--app-accent); font-weight: 600; font-size: 0.84rem; text-decoration: underline; text-underline-offset: 3px; }
.calc summary::-webkit-details-marker { display: none; }
.calc summary::before { content: ""; flex: none; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.2s; }
.calc[open] summary::before { transform: rotate(45deg); }
.calc summary:focus-visible { outline-color: var(--app-accent); }
.calc-body { margin-top: 4px; padding: 12px 14px; border-radius: 8px; background: var(--app-bg); border: 1px solid var(--app-line); line-height: 1.5; }
.calc-body dt { color: var(--app-muted); font-weight: 600; font-size: 0.78rem; margin-top: 10px; }
.calc-body dt:first-child { margin-top: 0; }
.calc-body dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.calc-body dd.calc-gap { color: var(--app-warn); }
.calc-tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.calc-tbl td { padding: 4px 0; border-bottom: 1px solid var(--app-line); vertical-align: top; }
.calc-tbl td + td { padding-left: 12px; text-align: right; }
.calc-tbl tr.tot td { font-weight: 700; color: rgb(255, 255, 255); }

.cycle { display: grid; grid-template-columns: repeat(7, minmax(0px, 1fr)); gap: 0px; margin-top: 56px; counter-reset: cy 0; list-style: none; padding: 0px; }

.cycle li { counter-increment: cy 1; padding: 0px 12px 0px 0px; position: relative; }

.cycle li::before { content: counter(cy); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(11, 18, 22); border: 2px solid var(--app-accent); color: var(--app-accent); font-weight: 700; font-size: 0.9rem; margin-bottom: 12px; position: relative; z-index: 1; }

.cycle li::after { content: ""; position: absolute; top: 17px; left: 34px; right: 0px; height: 2px; background: var(--app-line); }

.cycle li:last-child::after { display: none; }

.cycle b { display: block; color: rgb(255, 255, 255); font-size: 0.95rem; margin-bottom: 4px; }

.cycle span { color: rgb(180, 192, 187); font-size: 0.86rem; display: block; }

@media (max-width: 940px) {
  .cycle { grid-template-columns: 1fr; }
  .cycle li { padding: 0px 0px 18px 48px; }
  .cycle li::before { position: absolute; left: 0px; top: 0px; margin: 0px; }
  .cycle li::after { inset: 36px auto 0px 16px; width: 2px; height: auto; }
}

.app-facts { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 36px; margin-top: 64px; }

@media (max-width: 940px) {
  .app-facts { grid-template-columns: 1fr; gap: 28px; }
}

.app-facts h3 { font-size: 1.2rem; margin-bottom: 10px; }

.app-facts ul { margin: 0px; padding-left: 18px; color: rgb(198, 208, 204); }

.app-facts li { margin: 4px 0px; }

.app-facts p { color: rgb(198, 208, 204); }

.seven { list-style: none; margin: 0px; padding: 0px; counter-reset: q 0; }

.seven li { counter-increment: q 1; border-top: 1px solid var(--line); }

.seven li:last-child { border-bottom: 1px solid var(--line); }

.q { display: grid; grid-template-columns: 56px minmax(0px, 1fr) minmax(0px, 1fr); gap: 8px 32px; padding: 22px 0px; align-items: baseline; }

.q::before { content: counter(q, decimal-leading-zero); font-family: var(--display); font-size: 1.3rem; color: var(--accent); font-weight: 600; }

.q h3 { font-size: 1.2rem; }

.q p { color: var(--muted); }

.q details { grid-column: 2 / -1; }

@media (max-width: 820px) {
  .q { grid-template-columns: 44px minmax(0px, 1fr); }
  .q p, .q details { grid-column: 2; }
}

details.ex summary { cursor: pointer; font-weight: 600; color: var(--accent-dark); font-size: 0.92rem; min-height: 40px; display: inline-flex; align-items: center; }

details.ex p { margin-top: 4px; font-size: 0.94rem; }

.flow { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 16px; margin-bottom: 56px; }

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

.flow div { padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }

.flow .tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.flow h3 { font-size: 1.15rem; margin: 6px 0px; }

.flow p { color: var(--muted); font-size: 0.95rem; }

.journey { list-style: none; margin: 0px; padding: 0px; position: relative; }

.stage { display: grid; grid-template-columns: 72px minmax(0px, 1fr) 230px; gap: 24px; padding: 30px 0px; border-top: 1px solid var(--line); position: relative; }

.stage:last-child { border-bottom: 1px solid var(--line); }

@media (max-width: 820px) {
  .stage { grid-template-columns: 52px minmax(0px, 1fr); gap: 16px; }
  .stage .price { grid-column: 2; }
}

.stage .dot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 700 1.1rem var(--body); color: var(--accent); border: 2px solid var(--accent); background: var(--bg); }

.stage.pre .dot { border-style: dashed; color: var(--muted); border-color: var(--muted); font-size: 0.7rem; }

.stage.rec .dot { background: var(--accent); color: var(--accent-ink); }

.stage h3 { font-size: 1.32rem; margin-bottom: 6px; }

.stage .purpose { font-weight: 600; color: var(--ink); margin-bottom: 6px; }

.stage p { color: var(--muted); }

.stage dl { display: grid; grid-template-columns: auto minmax(0px, 1fr); gap: 4px 12px; margin: 12px 0px 0px; font-size: 0.94rem; }

.stage dt { font-weight: 700; color: var(--ink); }

.stage dd { margin: 0px; color: var(--muted); }

.stage .when { margin-top: 10px; font-size: 0.88rem; color: var(--text); }

.price { text-align: right; }

@media (max-width: 820px) {
  .price { text-align: left; }
}

.paytag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); margin-bottom: 8px; }

.stage.rec .paytag { background: var(--accent); color: var(--accent-ink); }

.stage.pre .paytag { background: var(--bg-2); color: var(--muted); }

.amount { font-family: var(--display); font-weight: 600; font-size: 1.7rem; color: var(--ink); white-space: nowrap; }

.amount small { font-family: var(--body); font-size: 0.95rem; font-weight: 500; color: var(--muted); }

.why { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 0px; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }

.why div { padding: 18px 20px; border-right: 1px solid var(--line); }

.why div:last-child { border-right: 0px; }

.why b { display: block; font-family: var(--display); color: var(--ink); font-weight: 600; font-size: 1.05rem; }

.why span { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 760px) {
  .why { grid-template-columns: 1fr; }
  .why div { border-right: 0px; border-bottom: 1px solid var(--line); }
  .why div:last-child { border-bottom: 0px; }
}

.price-note { margin-top: 20px; max-width: 72ch; color: var(--text); }

.missing { margin-top: 56px; display: grid; grid-template-columns: minmax(0px, 0.9fr) minmax(0px, 1.1fr); gap: 40px; }

@media (max-width: 860px) {
  .missing { grid-template-columns: 1fr; gap: 20px; }
}

.missing ul { margin: 0px; padding: 0px; list-style: none; }

.missing li { padding: 12px 0px; border-top: 1px solid var(--line); }

.missing li b { color: var(--ink); }

.partners { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); gap: 56px; }

@media (max-width: 940px) {
  .partners { grid-template-columns: 1fr; gap: 36px; }
}

.split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); margin: 24px 0px; }

.split div { padding: 18px 20px; }

.split div + div { border-left: 1px solid var(--line); background: var(--accent-soft); }

.split b { display: block; font-family: var(--display); color: var(--ink); font-weight: 600; margin-bottom: 6px; }

.split ul { margin: 0px; padding-left: 18px; color: var(--text); font-size: 0.95rem; }

@media (max-width: 560px) {
  .split { grid-template-columns: 1fr; }
  .split div + div { border-left: 0px; border-top: 1px solid var(--line); }
}

.checks { list-style: none; margin: 0px 0px 22px; padding: 0px; }

.checks li { display: flex; gap: 10px; padding: 10px 0px; border-top: 1px solid var(--line); }

.checks svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; margin-top: 4px; }

.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0px 24px; }

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

.ways div { padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }

.ways b { display: block; color: var(--ink); font-family: var(--display); font-weight: 600; }

.ways span { color: var(--muted); font-size: 0.93rem; }

.comp { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); gap: 40px; padding: 36px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }

@media (max-width: 860px) {
  .comp { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
}

.comp h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 12px; }

.comp p { color: var(--muted); }

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

.who-does { display: grid; gap: 12px; }

.who-does div { padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); }

.who-does b { display: block; color: var(--ink); }

.who-does span { font-size: 0.94rem; color: var(--muted); }

.about { display: block; }

.about > div { max-width: 760px; }

@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; gap: 28px; }
}

.about h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }

.facts { list-style: none; margin: 24px 0px; padding: 0px; display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 16px; }

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

.facts li { padding: 16px 0px 0px; border-top: 2px solid var(--accent); }

.facts b { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--ink); font-weight: 600; }

.facts span { color: var(--muted); font-size: 0.95rem; }

.faq { max-width: 840px; }

.faq details { border-top: 1px solid var(--line); }

.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0px; font-family: var(--display); font-weight: 600; font-size: 1.14rem; color: var(--ink); position: relative; min-height: 56px; }

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

.faq summary::after { content: ""; position: absolute; right: 10px; top: 26px; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform 0.2s; }

.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }

.faq details p { padding: 0px 0px 20px; color: var(--muted); max-width: 70ch; }

.contact-grid { display: grid; grid-template-columns: minmax(0px, 0.9fr) minmax(0px, 1.1fr); gap: 56px; align-items: start; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

.contact-grid h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }

form.contact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }

fieldset { border: 0px; margin: 0px 0px 18px; padding: 0px; }

legend { font-weight: 700; color: var(--ink); margin-bottom: 10px; }

.opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); margin-bottom: 8px; cursor: pointer; }

.opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

.opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: 0 0 auto; }

.opt small { display: block; color: var(--muted); font-size: 0.88rem; }

.field { display: block; margin-bottom: 14px; }

.field span { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 0.95rem; }

.field input, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--field); color: var(--text); min-height: 48px; }

.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }

.form-msg { margin-top: 12px; font-size: 0.92rem; padding: 10px 12px; border-radius: var(--r); background: var(--warn-soft); color: var(--warn); }

.form-msg[hidden] { display: none; }

.privacy { font-size: 0.84rem; color: var(--muted); margin-top: 12px; }

footer { border-top: 1px solid var(--line); padding: 28px 0px; font-size: 0.88rem; color: var(--muted); }

footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

footer a { color: var(--muted); }

footer .themes { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }

footer .themes button { font: 600 .8rem var(--body); color: var(--muted); background: transparent; border: 0px; border-radius: 999px; padding: 5px 11px; min-height: 32px; cursor: pointer; }

footer .themes button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.contact-direct { margin-top: 20px; font-weight: 600; }

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

.punch { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); gap: 18px; margin: 26px 0px 28px; }

.punch div { border-top: 3px solid var(--accent); padding-top: 12px; }

.punch b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--ink); }

.punch span { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 4px; }

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

.vr-q { font-family: var(--display); font-size: 1.25rem; color: var(--ink); border-left: 3px solid var(--accent); padding: 6px 0px 6px 16px; margin-top: 18px !important; }

.who-does div:last-child { background: var(--accent-soft); border-color: transparent; }

.header-cta { white-space: nowrap; }

.nav a { padding: 8px 10px; }

.chain .k { font-size: 0.74rem; }

.app-top small, .app-foot { font-size: 0.8rem; }

.flag { font-size: 0.8rem; }

.st { font-size: 0.82rem; }

.kpi small { font-size: 0.82rem; }

.legend { font-size: 0.84rem; }

.cycle span { font-size: 0.9rem; }

.panel-note { font-size: 0.84rem; }

.app-head .meta { font-size: 0.84rem; }

.skip { background: rgb(255, 255, 255); color: rgb(20, 32, 43); }

.about-p { margin-top: 16px; color: var(--text); max-width: 62ch; }

.about-sign { margin-top: 22px; padding: 14px 0px 0px; border-top: 2px solid var(--accent); font-family: var(--display); font-size: 1.18rem; color: var(--ink); max-width: 56ch; }

.readiness { max-width: 720px; }

.js .readiness-static { display: none; }

html:not(.js) .readiness-interactive { display: none; }

.readiness-static { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 26px; }

.readiness-static h3 { font-size: 1.2rem; margin-bottom: 10px; }

.readiness-static ul { margin: 0px 0px 14px; padding-left: 18px; color: var(--text); }

.readiness-static li { margin: 6px 0px; }

.rd-progress { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

.rd-q { border: 0px; margin: 0px; padding: 0px; }

.rd-q[hidden] { display: none; }

.rd-q fieldset { border: 0px; margin: 0px; padding: 0px; }

.rd-q legend { display: block; width: 100%; font-family: var(--display); font-weight: 600; font-size: 1.28rem; color: var(--ink); padding: 0px; margin-bottom: 4px; }

.rd-qtitle { font-family: var(--display); font-weight: 600; font-size: 1.28rem; color: var(--ink); margin: 0px 0px 18px; }

.rd-group { margin: 0px 0px 26px; }

.rd-group:last-of-type { margin-bottom: 0px; }

.rd-group legend { display: block; width: 100%; font-family: var(--display); font-weight: 600; font-size: 1.04rem; color: var(--ink); margin-bottom: 10px; }

.rd-help { color: var(--muted); font-size: 0.92rem; margin: 0px 0px 16px; }

.rd-q .opt { margin-top: 0px; }

.rd-nav { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; align-items: center; }

.rd-nav [hidden] { display: none; }

.rd-msg { margin-top: 14px; font-size: 0.92rem; padding: 10px 14px; border-radius: var(--r); background: var(--warn-soft); color: var(--warn); }

.rd-msg[hidden] { display: none; }

.rd-restart { background: transparent; border: 0px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-language-override: inherit; font-size: 0.9rem; padding: 6px 0px; min-height: 40px; margin-top: 18px; }

.rd-result { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: var(--surface); }

.rd-result[hidden] { display: none; } .rd-result:empty { display: none; }

.rd-result h3 { font-size: 1.35rem; margin-bottom: 14px; }

.rd-result > p { color: var(--text); margin-bottom: 16px; max-width: 62ch; }

.rd-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; margin-bottom: 16px; }

.rd-status svg { width: 18px; height: 18px; flex: 0 0 auto; }

.rd-status-verde { background: var(--accent-soft); color: var(--accent-dark); }

.rd-status-amarillo { background: var(--warn-soft); color: var(--warn); }

.rd-status-rojo { background: var(--danger-soft); color: var(--danger); }

.rd-criteria { font-size: 0.92rem; color: var(--muted); max-width: 62ch; margin-bottom: 18px; }

.rd-dims { list-style: none; margin: 0px 0px 18px; padding: 0px; border-top: 1px solid var(--line); }

.rd-dim { display: flex; gap: 12px; padding: 14px 0px; border-bottom: 1px solid var(--line); }

.rd-dim-icon { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }

.rd-dim-icon svg { width: 100%; height: 100%; display: block; }

.rd-dim-verde .rd-dim-icon { color: var(--accent-dark); }

.rd-dim-amarillo .rd-dim-icon { color: var(--warn); }

.rd-dim-rojo .rd-dim-icon { color: var(--danger); }

.rd-dim-body b { color: var(--ink); }

.rd-dim-body { color: var(--text); font-size: 0.96rem; }

.rd-sources { margin-bottom: 18px; }

.rd-list { list-style: none; margin: 0px 0px 18px; padding: 0px; }

.rd-list li { padding: 12px 0px; border-top: 1px solid var(--line); color: var(--text); }

.rd-list li:first-child { border-top: 0px; }

.rd-note { font-size: 0.84rem; color: var(--muted); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }

.rd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

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

.brand { font-family: var(--body); font-weight: 700; letter-spacing: 0.09em; font-size: 1.1rem; }

.brand span { font-weight: 600; letter-spacing: 0.04em; color: var(--accent); }

.hero { background: radial-gradient(ellipse at 85% 25%,var(--accent-soft),transparent 60%); }

.hero-subtitle { font-size: clamp(1.12rem, 2vw, 1.4rem); line-height: 1.45; color: var(--ink); margin-bottom: 22px; max-width: 35ch; }

.hero .hero-lema { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }

.inboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.inboard-grid .head { margin: 0px; }

.inboard-grid h2 em { font-style: normal; color: var(--accent-dark); }

.inboard-grid .lead { margin-bottom: 20px; }

.story-link { display: inline-flex; gap: 24px; align-items: center; min-height: 48px; margin-top: 22px; text-underline-offset: 5px; }

.btn, .contact-direct a { overflow-wrap: anywhere; }

.contact-direct a { display: inline-block; min-height: 44px; }

.field input, .field textarea { min-width: 0px; width: 100%; font-size: 16px; }

[hidden] { display: none !important; }

@media (max-width: 700px) {
  .inboard-grid { grid-template-columns: 1fr; gap: 26px; }
  section { padding: 64px 0px; }
  .hero { padding-top: 48px; }
  .hero .cta-row .btn { width: 100%; }
  .brand { font-size: 1rem; }
  form.contact { padding: 20px; }
  .hero-grid { gap: 36px; }
}

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

:root { --header: 84px; }

[data-estilo="mediterraneo"] { --accent: #76dfc1; --accent-dark: #a1ecda; --accent-soft: #123e48; --accent-ink: #06232c; --header-bg: rgba(10,37,50,.96); }

h1, h2, h3, h4, .hero-lema { font-weight: 650; letter-spacing: -0.035em; }

body { font-size: 16px; line-height: 1.75; }

.hero .hero-lema { font-weight: 800; letter-spacing: -0.055em; line-height: 1.1; }

.hero-subtitle { font-weight: 500; letter-spacing: -0.02em; }

.hero h1.hero-subtitle { font-family: var(--body); }

.eyebrow { font-weight: 800; letter-spacing: 0.12em; }

.brand { display: flex; align-items: center; flex: 0 0 auto; line-height: 1; }

.brand img { display: block; width: 156px; height: auto; max-height: 70px; object-fit: contain; }

[data-estilo="claro"] .brand img { filter: brightness(0.18); }

.btn { font-weight: 700; border-radius: 14px; }

.btn-primary { box-shadow: rgba(7, 31, 43, 0.094) 0px 4px 20px; }

.phone { box-shadow: rgba(3, 19, 28, 0.533) 0px 30px 80px -25px; }

.inboard-story { border-block: 1px solid var(--line); }

.about-sign { font-family: var(--body); font-weight: 600; }

@media (max-width: 700px) {
  :root { --header: 76px; }
  .brand img { width: 140px; max-height: 64px; }
  .hero .hero-lema { font-size: clamp(2.5rem, 10vw, 3.6rem); }
  .head h2 { line-height: 1.22; }
  .btn { padding-inline: 18px; }
}
/* resumen con gráficos */
.rs-kpis{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.kpi small.rs-up{color:#7fd8ad}
.kpi.rs-alert{border-color:var(--app-warn);background:rgba(232,167,124,.08)}
.rs-charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin-bottom:12px}
.rs-card{margin:0;padding:14px;border-radius:10px;background:var(--app-surface);border:1px solid var(--app-line);min-width:0}
.rs-card figcaption{font-size:.85rem;font-weight:600;color:#fff;margin-bottom:8px}
.rs-card figcaption small{font-weight:400;color:var(--app-muted);margin-left:4px}
.rs-card svg{display:block;width:100%;height:auto}
.rs-donut{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;align-items:center}
.rs-donut svg{width:110px}
.rs-leg{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:.82rem}
.rs-leg li{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:8px;align-items:center;color:var(--app-text)}
.rs-leg li::before{content:none!important;display:none!important}
.rs-leg i{width:10px;height:10px;border-radius:3px}
.rs-leg b{color:#fff}
.rs-attn{border:1px solid var(--app-warn);border-radius:10px;padding:12px 14px;background:rgba(232,167,124,.08);margin-bottom:6px}
.rs-attn b{color:#fff}
.rs-attn p{margin:4px 0 6px;font-size:.9rem}
/* escenarios */
.esc-opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin-bottom:14px}
.esc-opt{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--app-line);border-radius:12px;padding:10px 12px;cursor:pointer;min-height:44px}
.esc-opt:has(input:checked){border-color:var(--app-accent);background:rgba(92,187,146,.08)}
.esc-opt input{margin-top:3px;accent-color:var(--app-accent);width:18px;height:18px;flex:none}
.esc-opt b{display:block;color:#fff;font-size:.9rem}
.esc-opt small{display:block;color:var(--app-muted);font-size:.8rem}
.tbl td.esc-up{color:#7fd8ad!important}.tbl td.esc-down{color:var(--app-warn)!important}
/* método: pasos previos */
.pre-steps{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:32px}
.pre-step{display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:12px 16px;text-decoration:none;color:var(--ink);min-height:44px}
.pre-step:hover{border-color:var(--accent)}
.pre-step b{display:block;color:var(--ink)}
.pre-step small{display:block;color:var(--muted)}
.pre-n{width:32px;height:32px;border-radius:50%;border:2px solid var(--accent);color:var(--accent);display:grid;place-items:center;font-weight:700;flex:none}
.pre-arrow{width:34px;color:var(--accent);flex:none}
.ph-note{grid-column:1/-1;margin-top:22px;color:var(--muted);text-align:center}
@media (max-width:560px){.pre-arrow{transform:rotate(90deg);margin-left:14px}.pre-step{width:100%}}
/* método: dos fases */
.phases{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,2fr);gap:12px;align-items:stretch;margin-top:36px}
.phase{display:flex;flex-direction:column;gap:12px;min-width:0}
.phase-month{border:1.5px dashed var(--line);border-radius:22px;padding:14px}
.ph-tag{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);border:1px solid var(--accent);border-radius:999px;padding:4px 12px}
.ph-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:1}
.ph-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:22px 20px;display:flex;flex-direction:column;gap:6px;flex:1}
.ph-ic{color:var(--accent);margin-bottom:6px}
.ph-card h3{margin:0;font-size:1.2rem;color:var(--ink)}
.ph-card p{margin:0;color:var(--text)}
.ph-list{margin:10px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:6px}
.ph-list li{font-size:.82rem;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:3px 10px}
.ph-list li::before{content:none!important;display:none!important}
.ph-arrow{width:40px;align-self:center;color:var(--accent)}
@media (max-width:900px){.phases{grid-template-columns:1fr}.ph-arrow{transform:rotate(90deg);justify-self:center}}
@media (max-width:560px){.ph-pair{grid-template-columns:1fr}}
.about > div.reveal{max-width:none}.am-grid .about-p{max-width:none}.am-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:56px;align-items:center}.am-grid .about-sign{max-width:none}.am-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.am-stats>div{border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:6px}.am-stats b{font-size:1.7rem;color:var(--ink);letter-spacing:-.01em;line-height:1.1}.am-stats span{font-size:.92rem;color:var(--muted);line-height:1.4}@media(max-width:900px){.am-grid{grid-template-columns:1fr;gap:28px}}@media(max-width:520px){.am-stats b{font-size:1.3rem}.am-stats>div{padding:16px}}

.problem-more { margin-top: 12px; }

.problem-more a { display: inline-block; padding: 4px 0px; font-weight: 600; color: var(--accent); text-decoration: none; }

.problem-more a:hover { text-decoration: underline; }

footer .footer-servicios { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: baseline; }

footer .footer-servicios b { color: var(--ink); }

/* páginas de servicio y artículos */
.page-hero { padding: 56px 0px 40px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 24ch; margin-bottom: 20px; }
.page-hero .lead { max-width: 64ch; color: var(--text); }
.page-hero .lead strong { color: var(--ink); }
.page-hero .cta-row { margin-top: 28px; }
.cta-note { margin-top: 12px; }
.cta-note a { color: var(--accent); }
.crumbs ol { list-style: none; margin: 0px 0px 22px; padding: 0px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.byline { margin: 0px 0px 20px; font-size: 0.92rem; color: var(--muted); }
.byline a { color: var(--accent); }
.prose { max-width: 800px; padding-bottom: 72px; }
.tabla-aviso { display: none; margin: 4px 0px 0px !important; }
.tabla-ancha th:first-child, .tabla-ancha td:first-child { position: sticky; left: 0px; background: var(--bg); }
.tabla-ancha thead th:first-child { background: var(--bg-2); }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin: 56px 0px 16px; }
.prose p { margin: 14px 0px; }
.prose ul, .prose ol { margin: 14px 0px; padding-left: 1.3em; }
.prose li { margin: 6px 0px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.respuesta { border-left: 3px solid var(--accent); padding: 2px 0px 2px 18px; margin: 0px; max-width: 70ch; }
.respuesta ul { margin: 8px 0px 0px; padding-left: 1.2em; }
.respuesta li { margin: 6px 0px; }
.ejemplo { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-lg); padding: 20px 22px 6px; margin: 22px 0px; }
.ejemplo-etiqueta { display: inline-block; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; color: var(--warn); background: var(--warn-soft); border-radius: 999px; padding: 2px 10px; margin: 0px !important; }
.tabla { overflow-x: auto; margin: 14px 0px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.tabla table { border-collapse: collapse; width: 100%; font-size: 0.94rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.tabla th, .tabla td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabla thead th { color: var(--ink); font-weight: 700; background: var(--bg-2); }
.tabla tbody tr:last-child td { border-bottom: 0px; }
.tabla .n { text-align: right; white-space: nowrap; }
.tabla tr.total td { font-weight: 700; color: var(--ink); }
.faq-sec .head { margin-bottom: 24px; }
.cta-final .cta-card { max-width: 780px; }
.cta-final h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
.cta-final .cta-row { margin-top: 24px; }
.seguir { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.seguir ul { list-style: none; padding: 0px; margin: 8px 0px 0px; display: flex; flex-direction: column; gap: 4px; }
.seguir a { display: inline-block; padding: 4px 0px; color: var(--accent); font-weight: 600; }
@media (max-width: 700px) {
  .page-hero { padding: 36px 0px 28px; }
  .page-hero .cta-row .btn, .cta-final .cta-row .btn { width: 100%; }
  .prose h2 { margin-top: 44px; }
  .ejemplo { padding: 16px 14px 4px; }
  .tabla table { font-size: 0.88rem; }
  .tabla th, .tabla td { padding: 8px 9px; }
  .tabla-aviso { display: block; }
}
