/* ============================================================
   ARC–IELP · /benchmarking/style.css  (v2 — executive redesign)
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────────────── */
.bmx-hero {
  background: var(--grafito);
  padding: 130px 72px 72px;
  position: relative;
  overflow: hidden;
}
.bmx-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(6,57,39,0.35) 0%, transparent 60%);
  pointer-events: none;
}
.bmx-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.bmx-hero-tag {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ambar);
  border-left: 2px solid var(--ambar); padding-left: 12px;
  margin-bottom: 32px;
}
.bmx-hero h1 {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 600; color: var(--blanco);
  letter-spacing: -0.03em; line-height: 1.0;
  margin-bottom: 20px;
}
.bmx-hero-sub {
  font-size: 17px; font-weight: 400;
  color: rgba(191,229,216,0.6); line-height: 1.65;
  max-width: 520px;
}

/* ── MAIN SECTION ─────────────────────────────────────────────── */
.bmx-main {
  background: #ffffff;
  padding: 72px 72px 80px;
}
.bmx-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: start;
}

/* Left column */
.bmx-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gris-medio);
  margin-bottom: 14px;
}
.bmx-label::before {
  content: '';
  display: inline-block; width: 18px; height: 1px;
  background: var(--ambar); vertical-align: middle; margin-right: 8px;
}
.bmx-h2 {
  font-size: clamp(22px, 2.4vw, 32px); font-weight: 600;
  color: var(--grafito); letter-spacing: -0.02em;
  line-height: 1.1; margin-bottom: 14px;
}
.bmx-body {
  font-size: 15px; font-weight: 400; color: var(--texto-suave);
  line-height: 1.72; margin-bottom: 36px;
}

/* Table */
.bmx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.bmx-table thead tr {
  border-bottom: 1px solid rgba(6,57,39,0.1);
}
.bmx-table thead th {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gris-medio);
  padding: 0 10px 10px 0; text-align: left;
  white-space: nowrap;
}
.bmx-table thead th:last-child { text-align: right; }

.bmx-table tbody tr {
  border-bottom: 1px solid rgba(6,57,39,0.05);
  transition: background 0.15s;
}
.bmx-table tbody tr:hover { background: rgba(6,57,39,0.02); }
.bmx-table tbody td {
  padding: 11px 10px 11px 0;
  color: var(--texto-suave);
  vertical-align: middle;
}
.bmx-table tbody td:last-child { padding-right: 0; }

.bmx-td-name {
  font-size: 13.5px; font-weight: 500; color: var(--texto-cuerpo);
  white-space: nowrap;
}
.bmx-td-cost {
  text-align: right; font-variant-numeric: tabular-nums;
  font-size: 13px; white-space: nowrap; color: var(--texto-suave);
}

/* IELP row — highlighted */
.bmx-row-ielp {
  border-left: 2px solid var(--verde) !important;
  background: rgba(6,57,39,0.03);
}
.bmx-row-ielp .bmx-td-name {
  color: var(--verde); font-weight: 700;
  padding-left: 10px;
}
.bmx-row-ielp .bmx-td-cost { color: var(--verde); font-weight: 600; }
.bmx-row-ielp td { border-bottom-color: rgba(6,57,39,0.08); }

/* Right column — chart */
.bmx-right {
  position: sticky;
  top: 80px;
}
.bmx-chart-wrap {
  position: relative;
  background: linear-gradient(150deg, rgba(255,255,255,0.97) 0%, rgba(243,247,244,0.90) 100%);
  border: 1px solid rgba(6,57,39,0.10);
  box-shadow: 0 3px 16px rgba(6,57,39,0.07), inset 0 1px 0 rgba(255,255,255,1);
  border-radius: var(--r-card);
  overflow: hidden;
  width: 100%;
}
.bmx-chart-wrap canvas {
  display: block;
  width: 100%;
}
.bmx-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--grafito);
  border: 1px solid rgba(6,57,39,0.3);
  border-left: 2px solid var(--ambar);
  border-radius: var(--r-nav);
  padding: 10px 14px;
  font-size: 13px;
  font-family: 'Jost', system-ui, sans-serif;
  color: rgba(247,249,250,0.85);
  line-height: 1.55;
  min-width: 160px; max-width: 210px;
  opacity: 0; transition: opacity 0.15s;
  z-index: 20; white-space: nowrap;
  display: flex; flex-direction: column; gap: 2px;
}
.bmx-tooltip.visible { opacity: 1; }
.bmx-tooltip strong { color: var(--ambar); font-size: 14px; font-weight: 600; }
.bmx-tooltip em { color: rgba(191,229,216,0.9); font-style: normal; font-weight: 500; }

.bmx-legend {
  display: flex; align-items: center; gap: 7px;
  flex-wrap: wrap; padding: 10px 14px;
  border-top: 1px solid rgba(6,57,39,0.07);
  background: rgba(6,57,39,0.02);
}
.bmx-leg-dot {
  width: 9px; height: 9px;
  border-radius: 50%; flex-shrink: 0;
}
.bmx-leg-ielp {
  background: rgba(6,57,39,0.15);
  border: 1.5px solid #0B4D35;
}
.bmx-leg-other {
  background: rgba(107,119,128,0.12);
  border: 1.5px solid rgba(107,119,128,0.35);
}
.bmx-leg-size {
  width: 30px; height: 18px;
  color: rgba(107,119,128,0.45); flex-shrink: 0;
}
.bmx-leg-text {
  font-size: 11px; font-weight: 400;
  color: rgba(78,90,102,0.65); letter-spacing: 0.03em;
}
.bmx-leg-sep {
  color: rgba(78,90,102,0.25); font-size: 11px;
}

/* ── SECCIONES COMPARATIVAS ───────────────────────────────────── */
.bmx-compare {
  background: #f8f9f8;
  padding: 60px 72px;
  border-top: 1px solid rgba(6,57,39,0.07);
}
.bmx-compare.bmx-alt {
  background: #ffffff;
}
.bmx-compare-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
}
.bmx-compare-num {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ambar);
  margin-bottom: 10px;
}
.bmx-compare-h2 {
  font-size: clamp(18px, 1.8vw, 24px); font-weight: 600;
  color: var(--grafito); letter-spacing: -0.02em;
  line-height: 1.15; margin-bottom: 10px;
}
.bmx-compare-lead {
  font-size: 14px; font-weight: 400; color: var(--texto-suave);
  line-height: 1.65;
}

/* Rows */
.bmx-compare-right { display: flex; flex-direction: column; }

.bmx-cr {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid rgba(6,57,39,0.06);
}
.bmx-cr:last-child { border-bottom: 1px solid rgba(6,57,39,0.06); }

.bmx-cr-name {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gris-medio);
  padding-top: 1px; flex-shrink: 0;
}
.bmx-cr-text {
  font-size: 14px; font-weight: 400; color: var(--texto-suave);
  line-height: 1.6;
}

/* IELP accent row */
.bmx-cr-ielp {
  background: rgba(6,57,39,0.03);
  border-left: 2px solid var(--verde);
  padding-left: 12px;
  margin-left: -14px;
  border-top-color: transparent;
}
.bmx-cr-ielp + .bmx-cr { border-top-color: transparent; }
.bmx-cr-ielp .bmx-cr-name { color: var(--verde); }
.bmx-cr-ielp .bmx-cr-text { color: var(--texto-cuerpo); font-weight: 500; }

/* Responsive */
@media (max-width: 1024px) {
  .bmx-compare { padding: 52px 40px; }
  .bmx-compare-inner { gap: 40px; }
}
@media (max-width: 768px) {
  .bmx-compare { padding: 44px 24px; }
  .bmx-compare-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .bmx-cr { grid-template-columns: 120px 1fr; gap: 12px; }
  .bmx-cr-ielp { margin-left: -12px; }
}
@media (max-width: 480px) {
  .bmx-cr { grid-template-columns: 1fr; gap: 4px; }
  .bmx-cr-name { margin-bottom: 2px; }
  .bmx-cr-ielp { padding-left: 10px; margin-left: -10px; }
}

/* ── CTAs ─────────────────────────────────────────────────────── */
.bmx-cta {
  background: var(--verde);
  padding: 64px 72px 48px;
}
.bmx-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 40px;
}
.bmx-cta-card {
  display: flex; flex-direction: column;
  padding: 36px 32px 40px;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  position: relative;
  border-radius: var(--r-card);
}
.bmx-cta-primary {
  background: linear-gradient(150deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-top: 2px solid var(--ambar);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}
.bmx-cta-primary:hover { background: linear-gradient(150deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.07) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 4px 16px rgba(0,0,0,0.15); }
.bmx-cta-secondary {
  background: linear-gradient(150deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(247,249,250,0.08);
  border-top: 2px solid rgba(247,249,250,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.bmx-cta-secondary:hover { background: linear-gradient(150deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 100%); }
.bmx-cta-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ambar);
  margin-bottom: 12px;
}
.bmx-cta-secondary .bmx-cta-tag { color: rgba(191,229,216,0.45); }
.bmx-cta-h {
  font-size: 18px; font-weight: 600; color: var(--blanco);
  letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 8px;
}
.bmx-cta-sub {
  font-size: 13.5px; font-weight: 400;
  color: rgba(191,229,216,0.55); line-height: 1.6;
  flex: 1; margin-bottom: 20px;
}
.bmx-cta-arrow {
  font-size: 20px; color: var(--ambar);
  font-weight: 400; line-height: 1;
  transition: transform 0.2s;
}
.bmx-cta-card:hover .bmx-cta-arrow { transform: translateX(4px); }

.bmx-back {
  display: block; text-align: center; max-width: 1200px; margin: 0 auto;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.03em;
  color: rgba(191,229,216,0.3); text-decoration: none;
  transition: color 0.2s;
}
.bmx-back:hover { color: rgba(191,229,216,0.65); }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bmx-hero { padding: 120px 40px 60px; }
  .bmx-main { padding: 56px 40px 64px; }
  .bmx-main-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .bmx-right { position: static; }
  .bmx-cta { padding: 56px 40px 40px; }
}

@media (max-width: 768px) {
  .bmx-hero { padding: 96px 24px 48px; }
  .bmx-hero h1 { font-size: 34px; }
  .bmx-main { padding: 48px 24px 56px; }
  .bmx-cta { padding: 48px 24px 36px; }
  .bmx-cta-inner { grid-template-columns: 1fr; }

  .bmx-table { font-size: 12.5px; }
  .bmx-table thead th { font-size: 9.5px; }
  .bmx-td-cost { font-size: 12px; }
}

@media (max-width: 480px) {
  .bmx-hero h1 { font-size: 28px; }
  .bmx-table thead th:nth-child(4),
  .bmx-table tbody td:nth-child(4) { display: none; }
}
