/* ==========================================================================
   Página Sostenibilidad Repositorio Normativa — Figma 22928:81088
   ========================================================================== */

.normativa-page-wrapper {
  background-color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
}

.normativa-main-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Hero Section (Figma: Pro Blocks / Hero Section / 9) ── */
.normativa-hero-section {
  padding: 64px 0 32px;
  background-color: #ffffff;
}

.normativa-hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.normativa-hero-left {
  flex: 1 1 0;
  max-width: 608px;
  display: flex;
  flex-direction: column;
}

.normativa-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #525252;
  margin-bottom: 20px;
}

.normativa-breadcrumb a {
  color: #525252;
  text-decoration: none;
  transition: color 0.15s ease;
}

.normativa-breadcrumb a:hover {
  color: #0a0a0a;
  text-decoration: underline;
}

.normativa-breadcrumb-sep {
  display: inline-flex;
  align-items: center;
  color: #737373;
}

.normativa-breadcrumb-current {
  color: #0a0a0a;
  font-weight: 500;
}

.normativa-hero-title {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0;
  color: #0a0a0a;
  margin: 0 0 24px 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.normativa-hero-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #525252;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.normativa-hero-desc p {
  margin: 0;
  color: #525252;
  line-height: 24px;
}

.normativa-hero-right {
  flex: 1 1 0;
  max-width: 608px;
}

.normativa-hero-img-wrap {
  width: 100%;
  aspect-ratio: 608 / 380;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  background-color: #f1f5f9;
}

.normativa-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── FINRESP Section (Figma: Pro Blocks / Blog Section / 4) ── */
.normativa-finresp-section {
  padding: 32px 0 96px;
  background-color: #ffffff;
}

.normativa-finresp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 32px;
}

.normativa-finresp-header-text {
  max-width: 642px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.normativa-finresp-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: #0a0a0a;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.normativa-finresp-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #525252;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.normativa-finresp-logo-wrap {
  width: 267px;
  height: 167px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.normativa-finresp-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.normativa-finresp-intro-line {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #525252;
  margin: 0 0 24px 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ── 4 Thematic Cards Grid (Figma: Pro Blocks / Person Card / 3) ── */
.normativa-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: start;
}

.normativa-thematic-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  box-sizing: border-box;
}

.normativa-card-img-wrap {
  width: 100%;
  aspect-ratio: 240 / 180;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.normativa-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.normativa-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #0a0a0a;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  min-width: 0;
}

/* ── Responsive Breakpoints ── */
@media (max-width: 1024px) {
  .normativa-hero-flex {
    flex-direction: column;
    gap: 40px;
  }

  .normativa-hero-left,
  .normativa-hero-right {
    max-width: 100%;
  }

  .normativa-finresp-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .normativa-finresp-logo-wrap {
    align-self: center;
  }

  .normativa-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .normativa-main-container {
    padding: 0 16px;
  }

  .normativa-hero-section {
    padding: 40px 0 24px;
  }

  .normativa-hero-title {
    font-size: 28px;
    line-height: 34px;
  }

  .normativa-finresp-section {
    padding: 24px 0 64px;
  }

  .normativa-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
