/* METODICAMENTE — landings tacticas de alta intencion. */
.niche-page {
  --niche-navy: #101d31;
  --niche-navy-soft: #172a45;
  --niche-paper: #f4f7fb;
  --niche-blue: #2f6fa6;
  --niche-red: #c04a50;
  background: var(--niche-paper) !important;
  color: var(--ink) !important;
}

.niche-page main { overflow: clip; }
.niche-shell { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
.niche-section { padding: clamp(72px, 8vw, 112px) 0; }
.niche-section--soft { background: #eaf1f7; border-block: 1px solid var(--line); }
.niche-section--dark { background: var(--niche-navy); color: #fff; }
.niche-section--compact { padding-block: clamp(52px, 6vw, 78px); }

.niche-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg,#fff 0%,#edf3f8 100%);
  border-bottom:1px solid var(--line);
  color: var(--ink);
}
.niche-hero::after {
  content: none;
}
.niche-hero__grid {
  min-height: 650px;
  padding-block: clamp(68px, 8vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: center;
}
.niche-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; color: var(--muted); font-size: 12px; }
.niche-breadcrumb a { color: inherit; text-decoration: none; }
.niche-breadcrumb a:hover { color: var(--blue-deep); }
.niche-kicker { margin-bottom: 20px; color: var(--red-deep); font-size: 11px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.niche-hero h1 { max-width: 12ch; margin: 0; font: 500 clamp(48px, 6.6vw, 82px)/.95 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.niche-hero__lead { max-width: 720px; margin: 28px 0 0; color: var(--ink-soft); font: 400 clamp(18px, 1.6vw, 22px)/1.55 var(--font-sans); }
.niche-rule { width: 76px; height: 2px; margin-top: 32px; border-radius:999px; background: linear-gradient(90deg,#315f84 0 68%,transparent 68% 77%,#a65a5f 77% 100%); }
.niche-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.niche-actions .btn-p,
.niche-actions .btn-o { margin: 0 !important; }
body.niche-page .niche-hero .btn-p { border-color: var(--blue-deep) !important; background: var(--blue-deep) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
body.niche-page .niche-hero .btn-o { border-color: var(--line-strong) !important; color: var(--blue-deep) !important; -webkit-text-fill-color: var(--blue-deep) !important; }
body.niche-page .niche-hero .btn-o:hover { background: var(--blue-pale) !important; }

.niche-proof {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.niche-proof__bar { display: flex; gap: 7px; padding: 0 0 15px; border-bottom: 1px solid var(--line); }
.niche-proof__bar i { width: 7px; height: 7px; border-radius: 50%; background: #315f84; }
.niche-proof__bar i:nth-child(2) { background: var(--line-strong); }
.niche-proof__bar i:nth-child(3) { background: #a65a5f; }
.niche-proof__body { display: grid; gap: 12px; padding-top: 18px; }
.niche-proof__line { height: 9px; border-radius: 99px; background: var(--line); }
.niche-proof__line--strong { width: 72%; height: 16px; background: var(--line-strong); }
.niche-proof__line--short { width: 54%; }
.niche-proof__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 8px; }
.niche-proof__card { min-height: 112px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); }
.niche-proof__card span { display: block; margin-bottom: 22px; color: var(--blue-deep); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.niche-proof__card strong { color: var(--ink); font: 500 21px/1.08 var(--display); }
.niche-proof__caption { margin: 14px 4px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.niche-heading { max-width: 790px; margin-bottom: 44px; }
.niche-heading__kicker { margin-bottom: 14px; color: var(--red-deep); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.niche-heading h2 { margin: 0; color: var(--ink); font: 500 clamp(36px, 4.6vw, 58px)/1 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.niche-heading p { max-width: 730px; margin: 20px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.niche-section--dark .niche-heading__kicker { color: #9cc4e5; }
.niche-section--dark .niche-heading h2 { color: #fff; }
.niche-section--dark .niche-heading p { color: #c8d3df; }

.niche-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.niche-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.niche-card { padding: clamp(25px, 3vw, 34px); border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-soft); }
.niche-card--link { color: inherit; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.niche-card--link:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow); }
.niche-card__n { display: block; margin-bottom: 22px; color: var(--red-deep); font-size: 11px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.niche-card h3 { margin: 0 0 12px; color: var(--ink); font: 500 clamp(24px, 2.4vw, 32px)/1.06 var(--display); }
.niche-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }
.niche-card ul { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.niche-card li { position: relative; padding-left: 18px; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.niche-card li::before { content: ''; position: absolute; top: .7em; left: 0; width: 8px; height: 2px; border-radius:999px; background: linear-gradient(90deg,#315f84 0 70%,#a65a5f 70% 100%); }
.niche-card__action { display: inline-flex; margin-top: 22px; color: var(--blue-deep); font-size: 13px; font-weight: 800; }

.niche-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); background: #fff; }
.niche-metric { padding: 27px 22px; text-align: center; }
.niche-metric + .niche-metric { border-left: 1px solid var(--line); }
.niche-metric strong { display: block; color: var(--blue-deep); font: 600 34px/1 var(--display); }
.niche-metric span { display: block; margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.4; }

.niche-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: steps; }
.niche-step { position: relative; min-height: 230px; padding: 28px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.045); counter-increment: steps; }
.niche-step::before { content: '0' counter(steps); display: block; margin-bottom: 42px; color: #8eb1cf; font: 750 12px/1 var(--font-sans); letter-spacing: .15em; }
.niche-step h3 { margin: 0 0 11px; color: #fff; font: 500 24px/1.05 var(--display); }
.niche-step p { margin: 0; color: #c8d3df; font-size: 13.5px; line-height: 1.65; }

.niche-band { padding: 30px 0; border-block: 1px solid var(--line); background: #fff; }
.niche-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.niche-band h2 { margin: 0; color: var(--ink); font: 500 clamp(27px, 3.4vw, 42px)/1.05 var(--display); }
.niche-band p { max-width: 620px; margin: 8px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

.niche-boundary { padding: 28px 30px; border-left: 4px solid var(--red); background: #fff; box-shadow: var(--shadow-soft); }
.niche-boundary strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 15px; }
.niche-boundary p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }

.niche-faq { display: grid; gap: 10px; }
.niche-faq details { border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.niche-faq summary { padding: 19px 22px; color: var(--ink); font-weight: 800; cursor: pointer; }
.niche-faq p { margin: 0; padding: 0 22px 21px; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }

.niche-final { padding: clamp(76px, 9vw, 120px) 0; text-align: center; background: linear-gradient(135deg, #fff, #edf3f8); }
.niche-final h2 { max-width: 820px; margin: 0 auto; color: var(--ink); font: 500 clamp(42px, 5.8vw, 70px)/.98 var(--display); letter-spacing: -.04em; }
.niche-final p { max-width: 680px; margin: 22px auto 0; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.niche-final .niche-actions { justify-content: center; }

.niche-footer { padding: 42px clamp(22px, 4vw, 48px) 34px; border-top: 1px solid var(--line); background: #fff; }
.niche-footer__inner { width: min(1180px, 100%); margin: 0 auto; }
.niche-footer__title { margin: 0 0 13px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.niche-footer__links { display: flex; flex-wrap: wrap; gap: 8px 0; margin-bottom: 22px; }
.niche-footer__links a { padding: 5px 13px; border-left: 1px solid var(--line); color: var(--ink-soft); font-size: 12.5px; text-decoration: none; }
.niche-footer__links a:first-child { padding-left: 0; border-left: 0; }
.niche-footer__links a:hover { color: var(--blue-deep); }
.niche-footer__legal { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.niche-footer__legal a { color: inherit; }

@media (max-width: 900px) {
  .niche-hero__grid { min-height: 0; grid-template-columns: 1fr; }
  .niche-proof { max-width: 620px; }
  .niche-grid--three { grid-template-columns: 1fr; }
  .niche-process { grid-template-columns: repeat(2, 1fr); }
  .niche-metrics { grid-template-columns: repeat(2, 1fr); }
  .niche-metric:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .niche-metric:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .niche-shell { width: min(calc(100% - 32px), 1180px); }
  .niche-hero__grid { padding-block: 54px 64px; }
  .niche-hero h1 { font-size: clamp(42px, 14vw, 62px); }
  .niche-grid,
  .niche-process { grid-template-columns: 1fr; }
  .niche-proof__cards { grid-template-columns: 1fr; }
  .niche-band__inner { align-items: flex-start; flex-direction: column; }
  .niche-metrics { grid-template-columns: 1fr; }
  .niche-metric + .niche-metric { border-top: 1px solid var(--line); border-left: 0; }
  .niche-actions { align-items: stretch; flex-direction: column; }
  .niche-actions a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .niche-card--link { transition: none; }
}
