/* Comparativos — extends subpages.css */

/* Hero adjustments for comparativo pages */
.cmp-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 28px 40px;
}
.cmp-hero .vs-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-3);
}
.cmp-hero .vs-row .chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.005em;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-sans);
}
.cmp-hero .vs-row .chip.us .dot { background: var(--accent); }
.cmp-hero .vs-row .chip .dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--ink-3);
}
.cmp-hero .vs-row .vs { font-weight: 600; letter-spacing: .04em; }
.cmp-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 16px;
  font-weight: 600;
  text-wrap: balance;
  max-width: 920px;
}
.cmp-hero .tagline {
  font-size: 19px;
  color: var(--ink-2);
  margin: 0 0 12px;
  max-width: 760px;
  font-weight: 500;
  text-wrap: pretty;
}
.cmp-hero .intro {
  font-size: 15.5px;
  color: var(--ink-3);
  max-width: 760px;
  margin: 0 0 28px;
  text-wrap: pretty;
}
.cmp-hero .cta-row {
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* PRICING SNAPSHOT */
.cmp-section {
  max-width: 1200px; margin: 0 auto; padding: 48px 28px;
}
.cmp-section h2 {
  font-size: 30px;
  letter-spacing: -.02em;
  font-weight: 600;
  margin: 0 0 28px;
}
.price-snap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.price-card-cmp {
  border-radius: 18px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.price-card-cmp.us {
  background: var(--ink);
  color: white;
  border-color: transparent;
}
.price-card-cmp .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.price-card-cmp.us .label { color: oklch(85% 0.01 260); }
.price-card-cmp h3 {
  font-size: 22px;
  letter-spacing: -.015em;
  font-weight: 600;
  margin: 0 0 18px;
}
.price-card-cmp .row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.price-card-cmp.us .row { border-color: oklch(40% 0.02 260); }
.price-card-cmp .row:first-of-type { border-top: 0; }
.price-card-cmp .row .k {
  color: var(--ink-3);
}
.price-card-cmp.us .row .k { color: oklch(80% 0.01 260); }
.price-card-cmp .row .v {
  font-weight: 600;
  letter-spacing: -.01em;
  font-size: 16px;
}

/* FEATURES TABLE */
.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.cmp-table thead th {
  background: var(--bg-soft);
  text-align: left;
  padding: 16px 22px;
  font-size: 12.5px;
  font-family: var(--font-mono);
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.cmp-table thead th.us {
  background: var(--ink);
  color: white;
}
.cmp-table thead th.them {
  background: var(--surface);
}
.cmp-table tbody td {
  padding: 14px 22px;
  font-size: 14.5px;
  color: var(--ink-2);
  border-top: 1px solid var(--line-2);
  vertical-align: middle;
}
.cmp-table tbody tr:first-child td { border-top: 0; }
.cmp-table tbody td.feat {
  color: var(--ink);
  font-weight: 500;
  width: 50%;
}
.cmp-table tbody td.us, .cmp-table tbody td.them {
  text-align: center;
  width: 25%;
  font-size: 14px;
}
.cmp-table tbody td.us {
  background: oklch(98% 0.005 260);
}
.cmp-mark {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.cmp-mark.yes {
  color: oklch(45% 0.15 145);
  font-weight: 600;
}
.cmp-mark.no { color: oklch(55% 0.18 25); }
.cmp-mark.partial { color: oklch(55% 0.13 65); font-size: 12.5px; font-style: italic; }
.cmp-mark.yes::before {
  content: ""; width: 16px; height: 16px;
  background: oklch(45% 0.15 145);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='currentColor' d='M6.5 11.5 3 8l1.4-1.4L6.5 8.7l5.1-5.1L13 5z'/></svg>") center/contain no-repeat;
}
.cmp-mark.no::before {
  content: "×"; font-size: 18px; line-height: 1; font-weight: 600;
}

/* WHY CHOOSE LIST */
.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.why-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 22px 56px;
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  text-wrap: pretty;
  line-height: 1.5;
}
.why-item::before {
  content: "";
  position: absolute;
  top: 22px; left: 20px;
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--accent);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='currentColor' d='M6.5 11.5 3 8l1.4-1.4L6.5 8.7l5.1-5.1L13 5z'/></svg>") center/16px no-repeat;
  background-color: oklch(96% 0.04 260);
}
.why-item b {
  color: var(--ink);
  font-weight: 600;
}

/* CTA BANNER */
.cmp-cta {
  background: var(--ink);
  color: white;
  border-radius: var(--r-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
  margin: 48px 0 0;
}
.cmp-cta h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0 0 12px;
  font-weight: 600;
  text-wrap: balance;
}
.cmp-cta p {
  font-size: 15.5px;
  color: oklch(80% 0.01 260);
  margin: 0 0 24px;
}
.cmp-cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cmp-cta .btn--primary { background: var(--accent); color: white; }
.cmp-cta .btn--outline { background: transparent; border-color: oklch(40% 0.02 260); color: white; }
.cmp-cta .stat-card {
  background: oklch(28% 0.02 260);
  border-radius: 16px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.cmp-cta .stat-card .num {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -.025em;
}
.cmp-cta .stat-card .lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  color: oklch(80% 0.01 260);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* INDEX PAGE GRID */
.cmp-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cmp-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.cmp-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 10px 24px -10px rgba(15,23,42,.12);
}
.cmp-card .vs-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.cmp-card h3 {
  font-size: 22px;
  letter-spacing: -.015em;
  margin: 0;
  font-weight: 600;
}
.cmp-card p {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.45;
  text-wrap: pretty;
  flex: 1;
}
.cmp-card .arrow-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

/* NEXT COMPARATIVOS */
.next-cmps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.next-cmps a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.next-cmps a:hover {
  text-decoration: none;
  border-color: var(--accent);
}
.next-cmps a span.vs {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-right: 6px;
}

@media (max-width: 800px) {
  .price-snap { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .cmp-cta { grid-template-columns: 1fr; padding: 32px; }
  .cmp-index-grid { grid-template-columns: 1fr; }
  .next-cmps { grid-template-columns: 1fr 1fr; }
  .cmp-table thead th, .cmp-table tbody td { padding: 10px 12px; font-size: 13px; }
}
