.ch-feedback {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(16, 32, 47, .13);
  border-radius: 14px;
  background: #fff;
  color: #10202f;
}

.ch-feedback-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ch-feedback-question span {
  display: block;
  margin-bottom: 4px;
  color: #667681;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ch-feedback-question strong { line-height: 1.4; }

.ch-feedback-actions,
.ch-feedback-reasons div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ch-feedback button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #9eabb3;
  border-radius: 999px;
  background: #fff;
  color: #10202f;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.ch-feedback button:hover,
.ch-feedback button:focus-visible {
  border-color: #26745d;
  background: #eef7f3;
  outline: 3px solid rgba(38, 116, 93, .18);
  outline-offset: 2px;
}

.ch-feedback-reasons {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #dce3e6;
}

.ch-feedback-reasons p {
  margin: 0 0 10px;
  font-weight: 750;
}

.ch-feedback-thanks {
  margin: 0;
  color: #155c48;
  font-weight: 750;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .ch-feedback-question { align-items: stretch; flex-direction: column; }
  .ch-feedback-actions button { flex: 1; }
}

/* P13 — Sistema visual financiero: sobrio, técnico y consistente. */
:root {
  --ch-ink: #152433;
  --ch-navy: #0b2239;
  --ch-navy-2: #15344f;
  --ch-accent: #176b73;
  --ch-accent-soft: #e7f0f1;
  --ch-brass: #a77b32;
  --ch-paper: #f3f5f7;
  --ch-surface: #ffffff;
  --ch-line: #d7dde2;
  --ch-muted: #5a6875;
  --ch-success: #176348;
  --ch-danger: #9b3030;
}

html { background: var(--ch-paper); }

body,
.hub-main,
.rent-main {
  background: var(--ch-paper) !important;
  color: var(--ch-ink) !important;
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif !important;
}

body { line-height: 1.55; }

h1, h2, h3, h4,
.hub-hero h1,
.hub-section-heading h2,
.hub-card h2,
.hub-card h3,
.guide-group h2,
.decision-step h2,
.decision-step h3,
.calculator-card h2,
.section-intro h2,
.guide-grid h3,
.tool-grid h3,
.feature-card h3,
.article-hero h1,
.guide-article h2,
.guide-article h3 {
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif !important;
  letter-spacing: -0.025em;
}

h1 em, h2 em, h3 em,
.hub-hero h1 em,
.article-hero h1 em,
.section-intro h2 em {
  color: var(--ch-accent) !important;
  font-style: normal !important;
  font-weight: inherit !important;
}

p, li,
.hero-lead,
.hub-hero > p,
.hub-section-heading p,
.hub-card p,
.guide-grid p,
.tool-grid p,
.feature-card p { color: var(--ch-muted); }

.site-header {
  max-width: none !important;
  min-height: 72px;
  padding: 0 4vw !important;
  border-bottom: 1px solid var(--ch-line) !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 1px 0 rgba(11,34,57,.02);
  backdrop-filter: blur(10px);
}

.brand { color: var(--ch-navy) !important; letter-spacing: -.02em; }
.brand-mark {
  border-radius: 4px !important;
  background: var(--ch-navy) !important;
  color: #fff !important;
  box-shadow: inset 0 -3px 0 var(--ch-accent);
  font-family: "Segoe UI", Arial, sans-serif !important;
  font-weight: 800 !important;
}

.site-header nav { gap: 1.65rem !important; }
.site-header nav a {
  color: #445463 !important;
  font-size: .85rem !important;
  font-weight: 650 !important;
}
.site-header nav a:hover { color: var(--ch-accent) !important; }

.header-cta,
.primary-button,
.hub-card a,
.hub-action,
.detail-button,
.inline-cta,
.ch-next-step > a,
.rent-actions a {
  border: 1px solid var(--ch-navy) !important;
  border-radius: 5px !important;
  background: var(--ch-navy) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

.header-cta:hover,
.primary-button:hover,
.hub-card a:hover,
.hub-action:hover,
.detail-button:hover,
.inline-cta:hover,
.ch-next-step > a:hover,
.rent-actions a:hover {
  border-color: var(--ch-accent) !important;
  background: var(--ch-accent) !important;
  transform: none !important;
}

.hero,
.hub-hero,
.article-hero,
.rent-hero {
  background: linear-gradient(180deg, #fff 0%, var(--ch-paper) 100%) !important;
}

.hero { border-bottom: 1px solid var(--ch-line); }
.hero h1,
.hub-hero h1,
.article-hero h1,
.rent-hero h1 {
  color: var(--ch-navy) !important;
  font-weight: 760 !important;
  letter-spacing: -.045em !important;
}

.eyebrow,
.mini-label,
.guide-category,
.hub-kicker,
.doc-number,
.tool-state,
.article-meta,
.status-dot {
  color: var(--ch-accent) !important;
  font-weight: 750 !important;
  letter-spacing: .075em !important;
}

.eyebrow span,
.status-dot::before { background: var(--ch-accent) !important; }

.calculator-card,
.hub-card,
.feature-card,
.guide-grid article,
.tool-grid article,
.guide-group,
.guide-link-list a,
.dedicated-calculator-form,
.dedicated-calculator-results,
.embedded-calculator,
.answer-formula,
.source-box,
.next-step-card,
.rent-card,
.rent-copy article,
.ch-feedback,
.ch-next-step {
  border: 1px solid var(--ch-line) !important;
  border-radius: 7px !important;
  background: var(--ch-surface) !important;
  box-shadow: 0 8px 24px rgba(11,34,57,.055) !important;
}

.calculator-card { box-shadow: 0 18px 44px rgba(11,34,57,.10) !important; }
.hub-card.primary,
.feature-card.featured { border-top: 3px solid var(--ch-accent) !important; }

.guide-grid article:first-child,
.tool-grid article:first-child { background: #fff !important; }

.feature-icon,
.tool-symbol,
.card-number,
.doc-number { color: var(--ch-accent) !important; }

.tool-symbol,
.feature-icon {
  border-radius: 4px !important;
  background: var(--ch-accent-soft) !important;
}

.proof-strip,
.final-cta,
.hub-final-cta,
.next-step-band,
.rent-primary {
  background: var(--ch-navy) !important;
  color: #fff !important;
}

.proof-strip p,
.proof-strip span,
.final-cta p,
.hub-final-cta p,
.next-step-band p { color: #d7e0e6 !important; }

.final-cta .primary-button,
.hub-final-cta a,
.next-step-band .primary-button {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--ch-navy) !important;
}

input,
select,
textarea,
.input-wrap,
.rent-input {
  border-color: #bfc8cf !important;
  border-radius: 5px !important;
  background: #fff !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ch-accent) !important;
  box-shadow: 0 0 0 3px rgba(23,107,115,.12) !important;
}

.result-box,
.dedicated-main-result,
.guide-result,
.comparison-verdict,
.answer-formula {
  border-radius: 5px !important;
}

.result-box,
.dedicated-main-result {
  border-color: #cbd7da !important;
  background: #f1f6f6 !important;
}

.good,
.positive,
.ch-feedback-thanks { color: var(--ch-success) !important; }

.pulse-home-banner {
  border: 1px solid #bed0d3 !important;
  border-radius: 6px !important;
  background: #edf4f5 !important;
  color: var(--ch-navy) !important;
  box-shadow: none !important;
}

.pulse-data-strip article {
  border-color: var(--ch-line) !important;
  background: #fff !important;
}

.guide-toc {
  border: 1px solid var(--ch-line) !important;
  border-radius: 5px !important;
  background: #fff !important;
}

.source-box,
.formula,
.method-note {
  border-left-color: var(--ch-accent) !important;
  background: #eef4f5 !important;
}

.ch-consent {
  border-radius: 6px !important;
  background: var(--ch-navy) !important;
  box-shadow: 0 18px 50px rgba(3,16,28,.28) !important;
}

.ch-consent-actions button,
.ch-feedback button {
  border-radius: 5px !important;
}

footer {
  border-top-color: #2c4256 !important;
  background: #091a2b !important;
  color: #fff !important;
}

footer p, footer a { color: #c5d0d8 !important; }
footer strong { color: #fff !important; }

@media (max-width: 1020px) {
  .site-header.mobile-nav-ready.mobile-menu-open nav {
    border-color: var(--ch-line) !important;
    background: #fff !important;
    box-shadow: 0 16px 32px rgba(11,34,57,.12) !important;
  }
}

/* P16 — Ajustes visuales detectados tras la revisión publicada. */
footer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 3.6rem max(1.5rem, calc((100vw - 1184px) / 2)) 1.9rem !important;
}

.footer-brand,
footer > div,
.footer-bottom {
  min-width: 0;
}

.footer-brand p {
  max-width: 18rem !important;
}

.guide-grid {
  gap: 2rem 1.5rem !important;
}

.guide-grid article {
  padding: 1.65rem 1.5rem 1.75rem !important;
}

.guide-grid .guide-category {
  margin-bottom: 2rem !important;
}

.guide-grid h3 {
  margin-bottom: 1rem !important;
}

.guide-grid p {
  margin-bottom: 1.5rem !important;
}

@media (max-width: 720px) {
  footer {
    padding: 3rem 1rem 1.5rem !important;
  }

  .guide-grid {
    gap: 1.4rem !important;
  }

  .guide-grid article {
    padding: 1.4rem 1.1rem 1.5rem !important;
  }
}

/* P15 — Dirección editorial inspirada en medios digitales de lectura larga. */
:root {
  --ch-ink: #172026;
  --ch-navy: #172026;
  --ch-navy-2: #24343d;
  --ch-accent: #008f95;
  --ch-accent-soft: #e5f4f4;
  --ch-paper: #f5f7f8;
  --ch-surface: #ffffff;
  --ch-line: #dce2e5;
  --ch-muted: #52616a;
}

.site-header {
  border-bottom-color: #26363f !important;
  background: rgba(23, 32, 38, .98) !important;
}

.brand,
.site-header nav a {
  color: #f4f7f8 !important;
}

.site-header nav a:hover {
  color: #65d1d0 !important;
}

.brand-mark {
  background: var(--ch-accent) !important;
  box-shadow: none !important;
}

.site-header .header-cta {
  border-color: var(--ch-accent) !important;
  background: var(--ch-accent) !important;
}

/* Cabecera de artículo: gran jerarquía, pero sin aspecto publicitario. */
.article-hero {
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: 4.5rem 1.5rem 2.5rem !important;
  background: #fff !important;
}

.article-hero h1 {
  max-width: 900px;
  margin: 1rem 0 1.35rem !important;
  color: #172026 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(3rem, 5vw, 4.25rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.045em !important;
  line-height: 1.03 !important;
}

.article-hero > p,
.article-hero .hero-lead {
  max-width: 800px !important;
  margin-bottom: 1.4rem !important;
  color: #43525a !important;
  font-size: 1.3rem !important;
  line-height: 1.52 !important;
}

.article-meta {
  padding-top: 1rem;
  border-top: 1px solid var(--ch-line);
  color: #65727a !important;
  font-size: .78rem !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}

/* Columna de lectura similar a una revista digital: 700–760 px útiles. */
.guide-layout {
  grid-template-columns: 210px minmax(0, 760px) !important;
  justify-content: center !important;
  gap: 4.5rem !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding-top: 2.75rem !important;
  background: #fff;
}

.guide-article {
  max-width: 760px !important;
  color: #27343b !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.guide-article p,
.guide-article li {
  color: #27343b !important;
  font-size: 1.125rem !important;
  line-height: 1.72 !important;
}

.guide-article p {
  margin-bottom: 1.5rem !important;
}

.guide-article h2 {
  margin: 3.4rem 0 1.15rem !important;
  color: #172026 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(1.85rem, 3vw, 2.3rem) !important;
  font-weight: 800 !important;
  letter-spacing: -.035em !important;
  line-height: 1.12 !important;
}

.guide-article h3 {
  margin: 2.4rem 0 .9rem !important;
  color: #172026 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 1.55rem !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
}

.guide-article a:not(.primary-button):not(.inline-cta) {
  color: #007b80 !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.guide-article img,
.guide-article figure {
  width: 100%;
  margin: 2rem 0 !important;
}

.guide-article figcaption {
  margin-top: .6rem;
  color: #68767e !important;
  font-size: .8rem !important;
  line-height: 1.45 !important;
}

.guide-toc {
  border: 0 !important;
  border-top: 4px solid var(--ch-accent) !important;
  border-radius: 0 !important;
  padding: 1rem 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.guide-toc a {
  color: #425159 !important;
  font-size: .82rem !important;
  line-height: 1.45 !important;
}

.source-box,
.formula,
.method-note,
.answer-formula {
  border-left: 4px solid var(--ch-accent) !important;
}

/* Los listados también adoptan una estética editorial más limpia. */
.guide-grid article,
.guide-link-list a {
  border-radius: 0 !important;
  box-shadow: none !important;
}

.guide-grid article {
  border: 0 !important;
  border-top: 4px solid var(--ch-accent) !important;
  padding: 1.4rem 0 !important;
}

@media (max-width: 1020px) {
  .site-header.mobile-nav-ready.mobile-menu-open nav {
    background: #172026 !important;
  }

  .guide-layout {
    grid-template-columns: 180px minmax(0, 720px) !important;
    gap: 2.5rem !important;
    margin-inline: 1.5rem !important;
  }
}

@media (max-width: 720px) {
  .article-hero {
    padding: 3.25rem 1rem 1.75rem !important;
  }

  .article-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.15rem) !important;
  }

  .article-hero > p,
  .article-hero .hero-lead {
    font-size: 1.12rem !important;
  }

  .guide-layout {
    display: block !important;
    margin-inline: 1rem !important;
    padding-top: 1.5rem !important;
  }

  .guide-toc {
    margin-bottom: 2.5rem !important;
  }

  .guide-article p,
  .guide-article li {
    font-size: 1.05rem !important;
    line-height: 1.68 !important;
  }

  .guide-article h2 {
    margin-top: 2.75rem !important;
    font-size: 1.85rem !important;
  }
}

@media (max-width: 720px) {
  .site-header { min-height: 64px; padding: 0 1rem !important; }
  .hero, .hub-hero, .article-hero, .rent-hero { padding-top: 3.5rem !important; }
  .calculator-card, .hub-card, .guide-grid article, .rent-card { border-radius: 5px !important; }
}

/* P14 — Correcciones de composición, contraste y densidad visual. */
.brand-mark::after {
  display: none !important;
}

.brand-mark {
  width: 32px !important;
  height: 32px !important;
  font-size: 1rem !important;
}

.hero {
  align-items: start !important;
  gap: 4rem !important;
  padding-top: 4.25rem !important;
  padding-bottom: 4.75rem !important;
}

.hero-copy {
  padding-top: 2.75rem !important;
}

.hero h1 {
  max-width: 38rem;
  margin: 1.35rem 0 1.5rem !important;
  font-size: clamp(3.25rem, 4.7vw, 4.35rem) !important;
  line-height: 1.01 !important;
}

/* Estos dos módulos se inyectan dentro de la cuadrícula de portada y creaban
   una segunda fila de casi 350 px que parecía un fallo de maquetación. */
.hero > .ch-next-step,
.hero > .ch-feedback {
  display: none !important;
}

.calculator-card {
  padding: 1.6rem !important;
}

/* Los resultados originales fueron diseñados para fondo oscuro. Mantenerlos
   oscuros evita texto gris claro sobre una superficie casi blanca. */
.result-box,
.dedicated-main-result,
.guide-result,
.comparison-verdict,
.answer-formula {
  border-color: #263f55 !important;
  background: var(--ch-navy) !important;
  color: #fff !important;
}

.result-box p,
.result-box span,
.result-box small,
.dedicated-main-result p,
.dedicated-main-result span,
.dedicated-main-result small,
.guide-result p,
.guide-result span,
.comparison-verdict p,
.comparison-verdict span,
.answer-formula p,
.answer-formula span {
  color: #c8d4dc !important;
}

.main-result strong,
.dedicated-main-result strong,
.guide-result > strong,
.answer-formula strong {
  color: #fff !important;
}

.result-metrics {
  border-top-color: #385168 !important;
}

.result-metrics > div + div {
  border-left-color: #385168 !important;
}

.result-metrics b.good,
.good,
.positive {
  color: #79d5b6 !important;
}

.feature-card.featured p,
.hub-card.primary p,
.rent-primary p,
.proof-strip p,
.proof-strip span,
.final-cta p,
.hub-final-cta p,
.next-step-band p {
  color: #d5dfe6 !important;
}

.ch-consent {
  right: auto !important;
  bottom: 1rem !important;
  left: 50% !important;
  width: min(60rem, calc(100% - 2rem)) !important;
  padding: .9rem 1rem !important;
  transform: translateX(-50%);
}

.ch-consent-copy strong {
  font-size: .95rem !important;
}

.ch-consent-copy p {
  font-size: .78rem !important;
  line-height: 1.45 !important;
}

.ch-consent-copy a {
  margin-top: .2rem !important;
  font-size: .75rem !important;
}

.ch-consent-actions button {
  min-width: 6.5rem !important;
  min-height: 2.65rem !important;
  padding: .65rem .9rem !important;
  font-size: .78rem !important;
}

@media (max-width: 1020px) {
  .hero {
    gap: 2rem !important;
  }

  .hero-copy {
    padding-top: 0 !important;
  }
}

@media (max-width: 720px) {
  .hero {
    gap: 1.5rem !important;
    padding: 2.75rem 1rem 3.5rem !important;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.35rem) !important;
  }

  .calculator-card {
    padding: 1.1rem !important;
  }

  .ch-consent {
    bottom: .5rem !important;
    width: calc(100% - 1rem) !important;
  }

  .ch-consent-actions {
    grid-template-columns: 1fr 1fr !important;
  }

  .result-metrics > div + div {
    border-top-color: #385168 !important;
    border-left: 0 !important;
  }
}

/* P17 — Espaciado definitivo de las tarjetas editoriales. Debe permanecer
   al final para no ser anulado por las reglas generales anteriores. */
.guide-grid {
  gap: 2rem 1.75rem !important;
}

.guide-grid article {
  padding: 2.25rem 2.15rem 2.35rem !important;
}

.guide-grid article .guide-category {
  margin-bottom: 2.25rem !important;
}

.guide-grid article h3 {
  min-height: 0 !important;
  margin: 0 0 1.35rem !important;
  line-height: 1.28 !important;
}

.guide-grid article p {
  min-height: 0 !important;
  margin: 0 0 2rem !important;
  line-height: 1.7 !important;
}

.guide-grid article > a:last-child,
.guide-grid article > span:last-child {
  display: inline-block;
  margin-top: .35rem;
}

@media (max-width: 720px) {
  .guide-grid article {
    padding: 1.75rem 1.4rem 1.9rem !important;
  }

  .guide-grid article .guide-category {
    margin-bottom: 1.65rem !important;
  }
}

/* P18 — Bloque de herramientas: tarjetas editoriales, no tabla. */
.roadmap-section {
  border-top: 1px solid var(--ch-line) !important;
  background: #f5f7f8 !important;
}

.roadmap-section .section-intro.compact {
  align-items: end !important;
  gap: 2rem !important;
  margin-bottom: 2.75rem !important;
}

.roadmap-section .section-intro h2 {
  color: #172026 !important;
  font-size: clamp(2.6rem, 4vw, 3.75rem) !important;
  line-height: 1.04 !important;
}

.roadmap-section .section-intro p {
  color: #52616a !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
}

.tool-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.25rem !important;
  border: 0 !important;
  background: transparent !important;
}

.tool-grid article,
.tool-grid article + article {
  min-height: 22rem !important;
  padding: 1.7rem 1.5rem 1.6rem !important;
  border: 1px solid var(--ch-line) !important;
  border-top: 4px solid var(--ch-accent) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.tool-grid .tool-state {
  padding: .35rem .55rem !important;
  border-color: #b8d9d7 !important;
  background: #e8f5f4 !important;
  color: #007b80 !important;
  font-size: .65rem !important;
}

.tool-grid .tool-symbol {
  display: grid !important;
  width: 3rem !important;
  height: 3rem !important;
  place-items: center !important;
  margin: 2rem 0 1.7rem !important;
  border-radius: 3px !important;
  background: var(--ch-accent-soft) !important;
  color: var(--ch-accent) !important;
  font-size: 1.65rem !important;
  line-height: 1 !important;
}

.tool-grid h3 {
  margin: 0 0 .85rem !important;
  color: #172026 !important;
  font-size: 1.35rem !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
}

.tool-grid p {
  margin-bottom: 1.4rem !important;
  color: #52616a !important;
  font-size: .85rem !important;
  line-height: 1.6 !important;
}

.tool-grid a {
  color: #007b80 !important;
  font-size: .72rem !important;
}

@media (max-width: 1020px) {
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .tool-grid article,
  .tool-grid article + article {
    border: 1px solid var(--ch-line) !important;
    border-top: 4px solid var(--ch-accent) !important;
  }
}

@media (max-width: 720px) {
  .roadmap-section .section-intro.compact {
    display: block !important;
  }

  .roadmap-section .section-intro p {
    margin-top: 1.25rem !important;
  }

  .tool-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .tool-grid article {
    min-height: 0 !important;
  }
}

/* P19 — Calculadora hipotecaria: proporciones y módulos auxiliares. */
.dedicated-calculator-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr) !important;
  gap: 1.5rem !important;
}

.dedicated-calculator-form,
.dedicated-calculator-results {
  padding: 2rem !important;
}

.dedicated-calculator-results > .ch-next-step,
.dedicated-calculator-results > .ch-feedback {
  width: 100% !important;
  margin-top: 1rem !important;
  padding: 1.15rem !important;
}

.dedicated-calculator-results > .ch-next-step {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: .75rem !important;
}

.dedicated-calculator-results > .ch-next-step > div,
.dedicated-calculator-results > .ch-next-step > a {
  width: 100% !important;
  min-width: 0 !important;
}

.dedicated-calculator-results > .ch-next-step > a {
  justify-content: space-between !important;
  padding: .85rem 1rem !important;
  white-space: normal !important;
  line-height: 1.35 !important;
}

.dedicated-calculator-results > .ch-feedback .ch-feedback-question {
  align-items: center !important;
}

.dedicated-calculator-results > .ch-feedback .ch-feedback-actions {
  flex: 0 0 auto !important;
}

.scenario-actions {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: .65rem !important;
}

.scenario-actions button {
  width: 100% !important;
  min-width: 0 !important;
  padding-inline: .6rem !important;
}

@media (max-width: 1050px) {
  .dedicated-calculator-layout {
    grid-template-columns: 1fr !important;
    max-width: 760px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 560px) {
  .dedicated-calculator-form,
  .dedicated-calculator-results {
    padding: 1.2rem !important;
  }

  .scenario-actions {
    grid-template-columns: 1fr !important;
  }

  .dedicated-calculator-results > .ch-feedback .ch-feedback-question {
    align-items: stretch !important;
  }
}

/* P20 — Paleta definitiva: carbón, blanco y turquesa. */
:root {
  --ch-ink: #172026;
  --ch-navy: #172026;
  --ch-navy-2: #172026;
  --ch-accent: #008f95;
  --ch-accent-soft: rgba(0, 143, 149, .10);
  --ch-paper: #ffffff;
  --ch-surface: #ffffff;
  --ch-line: rgba(23, 32, 38, .16);
  --ch-muted: rgba(23, 32, 38, .72);
  --ch-success: #008f95;
  --ch-danger: #172026;
  --ink: #172026;
  --ink-soft: rgba(23, 32, 38, .72);
  --paper: #ffffff;
  --card: #ffffff;
  --line: rgba(23, 32, 38, .16);
  --yellow: #008f95;
  --yellow-soft: rgba(0, 143, 149, .10);
  --green: #008f95;
  --green-soft: rgba(0, 143, 149, .10);
  --orange: #172026;
  --red: #172026;
}

html,
body,
.hub-main,
.rent-main,
.hero,
.hub-hero,
.article-hero,
.rent-hero,
.roadmap-section,
.feature-section,
.guides-section,
.hub-section,
.guide-layout,
.document-layout,
.explain-section,
.rent-copy {
  background: #ffffff !important;
}

body,
h1, h2, h3, h4,
p, li,
.hero-lead,
.hub-hero > p,
.guide-article p,
.guide-article li,
.tool-grid p,
.guide-grid p {
  color: #172026 !important;
}

.site-header,
footer,
.proof-strip,
.final-cta,
.hub-final-cta,
.next-step-band,
.rent-primary,
.result-box,
.dedicated-main-result,
.guide-result,
.comparison-verdict,
.answer-formula {
  background: #172026 !important;
  color: #ffffff !important;
}

.site-header,
footer,
.site-header a,
footer a,
footer p,
footer strong,
.proof-strip p,
.proof-strip span,
.final-cta p,
.hub-final-cta p,
.next-step-band p,
.result-box p,
.result-box span,
.result-box small,
.dedicated-main-result p,
.dedicated-main-result span,
.dedicated-main-result small,
.guide-result p,
.guide-result span,
.comparison-verdict p,
.comparison-verdict span,
.answer-formula p,
.answer-formula span {
  color: #ffffff !important;
}

a,
h1 em, h2 em, h3 em,
.eyebrow,
.mini-label,
.guide-category,
.hub-kicker,
.doc-number,
.tool-state,
.article-meta,
.status-dot,
.feature-icon,
.tool-symbol,
.card-number,
.good,
.positive {
  color: #008f95 !important;
}

.brand-mark,
.header-cta,
.site-header .header-cta,
.eyebrow span,
.status-dot::before {
  background: #008f95 !important;
  color: #ffffff !important;
}

.calculator-card,
.hub-card,
.feature-card,
.guide-grid article,
.tool-grid article,
.guide-group,
.guide-link-list a,
.dedicated-calculator-form,
.dedicated-calculator-results,
.embedded-calculator,
.source-box,
.next-step-card,
.rent-card,
.rent-copy article,
.ch-feedback,
.ch-next-step,
input,
select,
textarea,
.input-wrap,
.rent-input {
  border-color: rgba(23, 32, 38, .16) !important;
  background: #ffffff !important;
  color: #172026 !important;
}

.tool-symbol,
.feature-icon,
.tool-state,
.status-dot,
.source-box,
.formula,
.method-note,
.pulse-home-banner,
.details-panel {
  background: rgba(0, 143, 149, .10) !important;
}

.primary-button,
.hub-card a,
.hub-action,
.detail-button,
.inline-cta,
.ch-next-step > a,
.rent-actions a {
  border-color: #172026 !important;
  background: #172026 !important;
  color: #ffffff !important;
}

.primary-button:hover,
.hub-card a:hover,
.hub-action:hover,
.detail-button:hover,
.inline-cta:hover,
.ch-next-step > a:hover,
.rent-actions a:hover {
  border-color: #008f95 !important;
  background: #008f95 !important;
  color: #ffffff !important;
}

.dedicated-metric,
.pulse-data-strip article,
.pulse-payment-results article,
.ltv-cash-strip > div,
.financing-tests-grid article,
.ico-facts-grid > div {
  background: rgba(23, 32, 38, .035) !important;
}

/* P21 — Tres colores planos, sin tonos intermedios visibles. */
body,
p, li,
.hero-lead,
.hub-hero > p,
.section-intro p,
.feature-card p,
.tool-grid p,
.guide-grid p,
.guide-article p,
.guide-article li,
.calculator-note,
.footer-brand p {
  color: #172026 !important;
}

.feature-card,
.feature-card.featured,
.tool-grid article,
.tool-grid article:first-child,
.guide-grid article,
.guide-grid article:first-child,
.hub-card,
.calculator-card,
.dedicated-calculator-form,
.dedicated-calculator-results,
.rent-card {
  border-color: #172026 !important;
  background: #ffffff !important;
  color: #172026 !important;
}

.tool-grid article,
.tool-grid article:first-child,
.guide-grid article,
.guide-grid article:first-child,
.feature-card.featured {
  border-top: 4px solid #008f95 !important;
}

.tool-symbol,
.feature-icon,
.tool-state,
.status-dot {
  border-color: #008f95 !important;
  background: #008f95 !important;
  color: #ffffff !important;
}

.tool-state.live,
.status-dot {
  border-color: #008f95 !important;
  background: #008f95 !important;
  color: #ffffff !important;
}

.method-note,
.source-box,
.formula,
.pulse-home-banner,
.details-panel {
  border-color: #172026 !important;
  border-left: 4px solid #008f95 !important;
  background: #ffffff !important;
  color: #172026 !important;
}

.method-note > span,
.verdict span {
  background: #008f95 !important;
  color: #ffffff !important;
}

.dedicated-metric,
.pulse-data-strip article,
.pulse-payment-results article,
.ltv-cash-strip > div,
.financing-tests-grid article,
.ico-facts-grid > div,
.next-step-card,
.ch-feedback,
.ch-next-step {
  border-color: #172026 !important;
  background: #ffffff !important;
  color: #172026 !important;
}

input,
select,
textarea,
.input-wrap,
.rent-input {
  border-color: #172026 !important;
  background: #ffffff !important;
  color: #172026 !important;
}

.ch-consent,
.result-box,
.dedicated-main-result,
footer,
.site-header {
  background: #172026 !important;
  color: #ffffff !important;
}

.ch-consent button,
.scenario-actions button,
.ch-feedback button {
  border-color: #172026 !important;
  background: #ffffff !important;
  color: #172026 !important;
}

/* P22 — Todas las tarjetas de portada comparten el mismo contorno. */
.feature-grid > .feature-card,
.feature-grid > .feature-card.featured,
.tool-grid > article,
.tool-grid > article:first-child,
.tool-grid > article + article {
  border: 1px solid rgba(23, 32, 38, .16) !important;
  border-top: 4px solid #008f95 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.feature-grid > .feature-card:hover,
.tool-grid > article:hover {
  border-right-color: rgba(23, 32, 38, .16) !important;
  border-bottom-color: rgba(23, 32, 38, .16) !important;
  border-left-color: rgba(23, 32, 38, .16) !important;
}


/* prelaunch-checklist-v1: mobile CTA and contact response promise */
.mobile-fixed-cta {
  display: none;
}

.contact-response-promise {
  margin: .75rem 0 1.25rem;
  color: #344b57;
  font-size: .95rem;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 5.5rem;
  }

  .mobile-fixed-cta {
    position: fixed;
    z-index: 1000;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    left: 1rem;
    display: flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: #008f95;
    box-shadow: 0 12px 28px rgba(16, 32, 47, .28);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
  }

  .mobile-fixed-cta:focus-visible {
    outline: 3px solid #f7c873;
    outline-offset: 3px;
  }
}


/* ga4-consent-v1 */
.analytics-consent {
  position: fixed;
  z-index: 1200;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  max-width: 70rem;
  margin: 0 auto;
  padding: 1rem 1.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 1rem;
  background: #10202f;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
  color: #fff;
}

.analytics-consent p {
  max-width: 48rem;
  margin: .35rem 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
  line-height: 1.45;
}

.analytics-consent a {
  color: #8ee5e8;
}

.analytics-consent-actions {
  display: flex;
  flex-shrink: 0;
  gap: .65rem;
}

.analytics-consent button,
.analytics-reset {
  min-height: 2.75rem;
  padding: .65rem 1rem;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.analytics-consent .consent-primary {
  border-color: #008f95;
  background: #008f95;
  color: #fff;
}

.analytics-consent button:focus-visible,
.analytics-reset:focus-visible {
  outline: 3px solid #f7c873;
  outline-offset: 3px;
}

.analytics-reset {
  margin: 1rem 0;
  border-color: #008f95;
  color: #10202f;
}

@media (max-width: 768px) {
  .analytics-consent {
    bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: stretch;
  }

  .analytics-consent-actions {
    flex-direction: column-reverse;
  }
}
