/* ==========================================================================
   Transparencia — Patrón de diseño (Figma 23017:126821)
   ========================================================================== */

/* Full-width for this page */
.page-content-wrapper:has(.transparencia-page) .layout-container,
.page-content-wrapper:has(.transparencia-page) .page-content {
  max-width: 100%;
  padding: 0;
}

/* ===== Hero Section ===== */
.transparencia-hero {
  position: relative;
  width: 100%;
  height: 286px;
  background-color: #1e3a8a; /* Base blue fallback */
  background-image: url('../images/transparencia-hero-final.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.transparencia-hero__container {
  width: 100%;
  max-width: 1280px;
  padding: 106px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Breadcrumb */
.transparencia-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.transparencia-hero__breadcrumb-item {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #fafafa;
  white-space: nowrap;
}

.transparencia-hero__breadcrumb-item a {
  color: #fafafa;
  text-decoration: none;
}

.transparencia-hero__breadcrumb-item a:hover {
  text-decoration: underline;
}

.transparencia-hero__breadcrumb-item--active {
  color: #fafafa;
}

.transparencia-hero__breadcrumb-sep {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: #fafafa;
}

.transparencia-hero__breadcrumb-sep svg path {
  stroke: currentColor;
}

/* Title */
.transparencia-hero__title {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: #ffffff;
  margin: 0;
}

/* ===== Main Page container ===== */
.transparencia-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 0;
  width: 100%;
  background: #ffffff;
  z-index: 2;
  position: relative;
}

.transparencia-page__content-header {
  width: 100%;
  max-width: 1280px;
  padding: 0 32px;
  margin-bottom: 32px;
}

.transparencia-page__section-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -0.48px;
  color: #0a0a0a;
  margin: 0;
}

/* ===== Card Grid ===== */
.transparencia-page__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1280px;
  padding: 0 32px;
}

/* ===== Individual Card ===== */
.transparencia-card {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.transparencia-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.transparencia-card__icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
}

.transparencia-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #0a0a0a;
  margin: 0;
}

.transparencia-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #525252;
  margin: 0;
  flex-grow: 1; /* Pushes link to bottom */
}

/* Card link */
.transparencia-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 8px 12px;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #0a0a0a;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.05);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.transparencia-card__link:hover {
  background-color: #f5f5f5;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .transparencia-page__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .transparencia-hero {
    height: auto;
    padding-bottom: 40px;
  }
  .transparencia-hero__container {
    padding-top: 60px;
  }
  
  .transparencia-page {
    padding: 40px 0;
  }

  .transparencia-hero__container,
  .transparencia-page__content-header,
  .transparencia-page__grid {
    padding-left: 16px;
    padding-right: 16px;
  }
}
