/* ==========================================================================
   PÁGINA: CONTRAINFORME (contrainforme.html)
   ========================================================================== */

.ci-cases { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; align-items: stretch; }

.ci-case {
  background-color: var(--bg-card); border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent-gold); border-radius: 14px;
  padding: 28px 30px; box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
}

.ci-case:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-top-color: var(--accent-wine); }

.ci-case-num { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 700; color: var(--accent-wine); line-height: 1; }

.ci-case h3 { font-size: 1.25rem; color: var(--primary-dark); margin: 8px 0 10px; line-height: 1.3; }

.ci-case-desc { font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }

.ci-case h4 {
  margin: 18px 0 10px; padding-top: 16px; border-top: 1px dashed var(--border-light);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-wine);
}

.ci-objective {
  max-width: 920px; margin: 0 auto; display: flex; gap: 28px; align-items: flex-start;
  background-color: var(--bg-card); border: 1px solid var(--border-light);
  border-left: 5px solid var(--accent-wine); border-radius: 16px;
  padding: 36px 40px; box-shadow: var(--shadow-soft);
}

.ci-objective h2 { font-family: var(--font-heading); font-size: 2rem; line-height: 1.2; color: var(--primary-dark); margin-bottom: 14px; }

.ci-objective p { font-size: 1rem; line-height: 1.7; color: var(--text-dark); margin-bottom: 12px; }

.ci-objective p:last-child { margin-bottom: 0; color: var(--text-muted); }

.ci-compare { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative; }

.ci-compare-card {
  background-color: var(--bg-card); border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent-gold); border-radius: 14px;
  padding: 32px 30px; box-shadow: var(--shadow-soft);
}

.ci-compare-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--accent-gold);
  background-color: var(--bg-subtle); color: var(--accent-wine); font-size: 1.2rem; margin-bottom: 16px;
}

.ci-compare-card h3 { font-family: var(--font-heading); font-size: 1.7rem; color: var(--primary-dark); margin-bottom: 10px; }

.ci-compare-desc { font-size: 0.97rem; line-height: 1.6; color: var(--text-muted); padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px dashed var(--border-light); }

.ci-vs {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background-color: var(--accent-wine); color: var(--bg-warm);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1px;
  border: 4px solid var(--bg-main); z-index: 2;
}

.ci-both { max-width: 920px; margin: 50px auto 0; text-align: center; }

.ci-both h3 { font-family: var(--font-heading); font-size: 1.9rem; color: var(--primary-dark); margin-bottom: 12px; }

.ci-both > p { font-size: 1rem; line-height: 1.7; color: var(--text-dark); }

.ci-errors { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }

.ci-error {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 10px 40px;
  background-color: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 16px; padding: 34px 36px 0; box-shadow: var(--shadow-soft); overflow: hidden;
}

.ci-error-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background-color: var(--accent-wine); color: var(--bg-warm);
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
  border: 4px solid var(--bg-card); box-shadow: 0 0 0 1.5px var(--accent-gold); margin-bottom: 16px;
}

.ci-error-main h3 { font-family: var(--font-heading); font-size: 1.6rem; line-height: 1.2; color: var(--primary-dark); margin-bottom: 10px; }

.ci-error-main p { font-size: 0.95rem; line-height: 1.65; color: var(--text-muted); }

.ci-error-review h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent-wine); margin-bottom: 14px; }

.ci-why {
  grid-column: 1 / -1; margin: 14px -36px 0; padding: 18px 36px;
  background-color: var(--bg-subtle); border-top: 1px solid var(--border-light);
  font-size: 0.93rem; line-height: 1.6; color: var(--text-dark);
}

.ci-why strong { color: var(--accent-wine); }

@media (max-width: 900px) {
  .ci-cases, .ci-compare { grid-template-columns: 1fr; }
  .ci-vs { position: static; transform: none; margin: -6px auto; }
  .ci-error { grid-template-columns: 1fr; padding: 28px 24px 0; }
  .ci-why { margin: 10px -24px 0; padding: 16px 24px; }
}

@media (max-width: 600px) {
  .ci-objective { flex-direction: column; padding: 28px 24px; }
}
