/* =============================================
   INVESTIGACIONES — Estilos específicos
   ============================================= */

/* PAGE HERO */
.page-hero {
  padding-top: 60px;
  background: var(--black);
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero .container {
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 16px 0 24px;
}

.page-hero-sub {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  border-left: 4px solid var(--orange);
  padding-left: 16px;
  max-width: 500px;
}

/* ESTUDIOS DESTACADOS */
.study-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: var(--border);
  min-height: 600px;
}

.study-featured--black {
  background: var(--black);
}

.study-img-col {
  position: relative;
  overflow: hidden;
}

.study-duotone {
  position: relative;
  height: 100%;
}

.study-img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  object-position: center 25%;
  /* Consistente con el sistema global: contraste alto, brillo bajo */
  filter: grayscale(100%) contrast(1.4) brightness(0.6);
}

.study-overlay {
  position: absolute;
  inset: 0;
  background: var(--orange);
  mix-blend-mode: multiply;
  opacity: 0.55;  /* ← mismo tono sutil que el resto de la web */
  pointer-events: none;
}

.study-overlay--rust {
  background: var(--rust);
  opacity: 0.5;  /* ← ligeramente más oscuro para el dato más duro */
}

.study-num-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 5rem;
  line-height: 1;
  color: var(--white);
  background: var(--black);
  border: var(--border);
  border-color: var(--orange);
  padding: 12px 20px;
  z-index: 5;
}

.study-num-badge--rust {
  border-color: var(--rust);
  color: var(--rust);
}

.study-text-col {
  padding: 80px 64px;
  background: var(--white);
  border-left: var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.study-text-col--white {
  background: var(--black);
  border-left: none;
  border-right: var(--border);
  border-right-color: #333;
}

.study-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.study-title--white { color: var(--white); }

.study-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.study-meta--white .study-meta-item { color: rgba(255,255,255,0.6); }

.study-meta-item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #555;
  background: #f5f5f5;
  padding: 5px 10px;
  border: var(--border);
  border-width: 1px;
}

.study-meta--white .study-meta-item {
  background: #1a1a1a;
  border-color: #333;
}

.study-body {
  font-size: 1rem;
  color: #333;
  line-height: 1.75;
  max-width: 460px;
}

.study-body--white { color: rgba(255,255,255,0.75); }

.study-body strong { font-weight: 700; color: var(--black); }
.study-body--white strong { color: var(--orange); }

.study-finding {
  padding: 20px 24px;
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
}

.study-finding--orange {
  background: var(--orange);
  border-color: var(--black);
}

.study-finding-label {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.study-finding--orange .study-finding-label { color: var(--black); }

.study-finding-text {
  font-size: 0.9rem;
  color: var(--black);
  line-height: 1.6;
}

.study-finding-text strong { font-weight: 700; }

/* STUDIES GRID */
.studies-grid-section {
  padding: 100px 0;
  background: var(--white);
  border-bottom: var(--border);
}

.studies-filter {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  border: var(--border);
  width: fit-content;
}

.filter-btn {
  background: var(--white);
  border: none;
  border-right: var(--border);
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  color: var(--black);
}

.filter-btn:last-child { border-right: none; }

.filter-btn:hover { background: #f5f5f5; }

.filter-btn.active {
  background: var(--black);
  color: var(--orange);
}

.studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: var(--border);
}

.study-card {
  padding: 32px;
  border-right: var(--border);
  border-bottom: var(--border);
  transition: background 0.15s, transform 0.1s;
}

.study-card:hover {
  background: #fafafa;
}

.study-card:nth-child(3n) { border-right: none; }
.study-card:nth-last-child(-n+3) { border-bottom: none; }

.study-card-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.study-card-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
}

.study-card-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #999;
  text-transform: uppercase;
  line-height: 1.3;
}

.study-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}

.study-card-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.study-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: var(--border);
  border-width: 2px;
  color: var(--black);
}

/* PRÁCTICAS CTA */
.practicas-cta {
  padding: 100px 0;
  background: var(--black);
  border-bottom: var(--border);
}

.practicas-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.practicas-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--white);
  margin: 16px 0 24px;
  letter-spacing: -0.02em;
}

.practicas-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 420px;
}

.practicas-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: var(--border);
  border-color: #333;
}

.practicas-fact {
  padding: 24px 32px;
  border-bottom: 2px solid #333;
  display: flex;
  align-items: center;
  gap: 20px;
}

.practicas-fact:last-child { border-bottom: none; }

.practicas-fact--orange {
  background: var(--orange);
  border-color: var(--orange);
}

.practicas-fact-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 3rem;
  color: var(--orange);
  line-height: 1;
  min-width: 80px;
}

.practicas-fact--orange .practicas-fact-num { color: var(--black); }

.practicas-fact-label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.practicas-fact--orange .practicas-fact-label { color: var(--black); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .study-featured { grid-template-columns: 1fr; }
  .study-img-col { order: -1; }
  .study-text-col { padding: 48px 32px; border-left: none; border-top: var(--border); }
  .study-text-col--white { border-right: none; border-top: var(--border); border-top-color: #333; }
  .study-img { min-height: 400px; }
  .studies-grid { grid-template-columns: repeat(2, 1fr); }
  .study-card:nth-child(3n) { border-right: var(--border); }
  .study-card:nth-child(2n) { border-right: none; }
  .study-card:nth-last-child(-n+3) { border-bottom: var(--border); }
  .study-card:nth-last-child(-n+2) { border-bottom: none; }
  .practicas-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .studies-grid { grid-template-columns: 1fr; }
  .study-card { border-right: none; }
  .study-card:nth-child(3n) { border-right: none; }
  .study-card { border-bottom: var(--border); }
  .study-card:last-child { border-bottom: none; }
  .studies-filter { flex-direction: column; width: 100%; }
  .filter-btn { border-right: none; border-bottom: var(--border); }
  .filter-btn:last-child { border-bottom: none; }
}
