@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* Variables de soporte (por si el template no las define) */
:root{
  --white: #ffffff;
  --yellow: #f3d231;
}

body {
  font-family: 'Montserrat', sans-serif;
}

/* introducción */
body.itemid-106 {
  background-color: #ffffff;
}
.catid-16 {
  background-color: #f9edf2;
  padding: 3rem;
}
body.itemid-106 h1 {
  color: #bf3163;
}
.catid-10 {
  background-color: #f0fcf3;
  padding: 3rem;
}
.catid-12 {
  background-color: #ffffff;
  padding: 3rem;
}

body.itemid-110 {
  background-color: #ffffff;
}
body.itemid-110 h1 {
  color: #229345;
}

body.itemid-112 {
  background-color: #ffffff;
}
body.itemid-112 h1 {
  color: #1d68a4;
}

/* Encabezados principales */
h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 0.5rem;
  color: #3FA680;
  font-weight: bolder;
}

/* Títulos de tarjeta */
.card-header {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: normal;
}

/* Menú principal */
.mod-menu,
.mod-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: normal;
}

.topbar-wrapper {
  background-color: var(--cassiopeia-color-primary);
  border-bottom: 1px solid #ccc;
  padding: 0.1rem 0;
}

.container-header {
  background-color: var(--white);
  box-shadow: 0px 2px 4px #00000014;
}

.container-header .mod-menu>li>a {
  color: var(--white);
  text-decoration: none;
  position: relative;
}

/* Hover o enfoque */
.container-header .mod-menu a:hover,
.container-header .mod-menu a:focus,
.container-header .mod-menu li.active > a,
.container-header .mod-menu li.current > a {
  color: #c6c6c6;
}

.container-header .mod-menu>li.active:after,
.container-header .mod-menu>li:hover:after {
  background: var(--cassiopeia-color-primary);
  left: 0;
  right: 2px;
}

.container-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.topbar-item {
  flex: 1;
  padding: 0 0.5rem;
  text-align: center;
}

.bottom-footer-wrapper {
  background-color: var(--yellow);
  border-top: 0px solid #ccc;
  padding: 0.5rem 0;
}

.container-bottom-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.bottom-footer-item {
  flex: 1;
  padding: 0 0.5rem;
  text-align: center;
}

.container-nav-with-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.container-logo {
  flex: 0 0 auto;
}

.navbar-brand img {
  max-width: 100%;
}

.container-menu {
  flex: 1;
  min-width: 200px;
}

.container-search {
  flex: 0 0 auto;
}

/* Footer */
.copyright-footer {
  background-color: var(--yellow);
  color: var(--cassiopeia-color-primary);
  text-align: center;
  padding: 0.2rem 0;
  font-size: 0.75rem;
}

.copyright-footer .grid-child{
  display:flex;
  justify-content: center;
}

.footer-logos {
  gap: 1rem;
  padding: 1rem;
}

.footer-logos img {
  max-width: 160px;
  height: auto;
  width: auto;
  display: inline-block;
}

.container-search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer {
  color: #43539f;
  background-color: #f3d231;
  background-image: linear-gradient(135deg, var(--yellow) 0%, var(--yellow) 100%);
  margin-top: 1em;
}

/* CORREGIDO: antes estaba como tag inexistente */
.categorias-intro{
  background-color: #f9edf2;
  padding: 2rem;
}

/* Full title image */
.fulltitle-image-flex {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 1.5rem;
  flex-wrap: nowrap;
  flex-direction: row;
}

.article-full-image {
  flex: 1 1 50%;
}

.article-full-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.article-title-full {
  flex: 1 1 50%;
  display: flex;
  align-items: flex-start;
  justify-content: left;
  text-align: left;
}

.article-title-full h2 {
  color: #44509d;
}

.footer-modules {
  border-top: 1px solid #ddd;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer-modules .row > div {
  padding: 0 15px;
}

@media (max-width: 768px) {
  .footer-modules .row > div {
    margin-bottom: 1.5rem;
  }
}

.mod-breadcrumbs__divider > span {
  margin-right: 0.5rem;
  display: inline-block;
  vertical-align: middle;
}

.mod-breadcrumbs{
  font-size: 0.9rem;
}

.page-header h2{
  font-size: 1rem;
}

.item-image{
  border: 1px solid #44509d;
  background-color: #ffffff;
}

.article-title .title-link {
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  color: inherit;
}

.article-item img{
  background-color: #ffffff;
}

img[typeof="foaf:Image"],
img.intro-image,
img.item-image {
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  display: block;
}

.com-content-article__body{
  padding-bottom: 3rem;
}

.container-header .container-nav {
  padding-bottom: 0.5em;
}

.container-header .grid-child {
  padding: 0em;
  padding-bottom: 0.5em;
}

.com-finder{
  margin-bottom: 5rem;
}

/* Bloques ESG */
.bloque-esg {
  background-color: #356874;
  color: #ffffff;
  padding: 20px 28px;
  border-radius: 22px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 780px;
}

.bloque-esg-gris {
  background-color: #f8fbfa;
  padding: 20px 28px;
  border-radius: 22px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 780px;
}

/* Lista amarilla */
.lista-amarilla {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  background-color: cadetblue;
  padding: 20px;
  border-radius: 10px;
  color: white;
}

.lista-amarilla li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0.4em;
}

.lista-amarilla li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #F4C542;
  transform: translateY(-50%);
}

/* Lista círculo numerada */
.lista-circulo {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  counter-reset: num-circle;
}

.lista-circulo li {
  counter-increment: num-circle;
  position: relative;
  padding-left: 2.4em;
  margin-bottom: 0.6em;
}

.lista-circulo li::before {
  content: counter(num-circle);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #F4C542;
  color: #265F6E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
}

/* Tabla ESG */
table.tabla-esg {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  border-radius: 24px;
  overflow: hidden;
}

table.tabla-esg thead th {
  background-color: #60BE78;
  color: #ffffff;
  padding: 16px 18px;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid #6EC487;
}

table.tabla-esg tbody td {
  padding: 16px 18px;
  color: #555555;
  border-top: 1px solid #6EC487;
  border-right: 1px solid #6EC487;
}

table.tabla-esg tbody td:first-child,
table.tabla-esg thead th:first-child {
  border-left: 1px solid #6EC487;
}

/* Esquinas redondeadas tabla */
table.tabla-esg thead tr:first-child th:first-child {
  border-top-left-radius: 24px;
}
table.tabla-esg thead tr:first-child th:last-child {
  border-top-right-radius: 24px;
}
table.tabla-esg tbody tr:last-child td:first-child {
  border-bottom-left-radius: 24px;
}
table.tabla-esg tbody tr:last-child td:last-child {
  border-bottom-right-radius: 24px;
}

/* ===== DESDEAQUÍ (tu bloque de checklist) ===== */

/* Estilos base para Joomla */
.checklist-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.header-section {
  background: linear-gradient(135deg, #5a9c8e 0%, #4a8c7e 100%);
  color: white;
  padding: 40px 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.header-section h1 {
  font-size: 2.5em;
  margin: 0 0 10px 0;
  font-weight: bold;
  border-left: 6px solid #f9b233;
  padding-left: 20px;
}

.header-section .subtitle {
  font-size: 1.4em;
  margin: 15px 0 0 26px;
  font-weight: 300;
}

.checklist-item {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease;
}

.checklist-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.item-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.item-icon {
  color: #3d6b7d;
  font-size: 3.5em;
  margin-right: 20px;
  flex-shrink: 0;
  width: 70px;
  text-align: center;
}

.item-number {
  background: #f9b233;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.item-title {
  color: #3d6b7d;
  font-size: 1.4em;
  font-weight: bold;
  margin: 0;
}

.checklist-content ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.checklist-content ul li {
  padding-left: 25px;
  margin-bottom: 12px;
  position: relative;
}

.checklist-content ul li:before {
  content: "•";
  color: #f9b233;
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: -3px;
}

.checklist-content ul ul {
  margin-top: 10px;
  margin-left: 20px;
}

.checklist-content ul ul li {
  font-size: 0.95em;
}

.checklist-content ul ul li:before {
  content: "◦";
  font-size: 1.3em;
}

.source-note {
  background: #f5f5f5;
  border-left: 4px solid #3d6b7d;
  padding: 15px 20px;
  margin-top: 30px;
  font-size: 0.9em;
  color: #666;
  border-radius: 4px;
}

.source-note strong {
  color: #3d6b7d;
}

/* Responsive */
@media (max-width: 768px) {
  .header-section h1 {
    font-size: 1.8em;
  }

  .header-section .subtitle {
    font-size: 1.1em;
  }

  .item-title {
    font-size: 1.2em;
  }

  .checklist-item {
    padding: 20px;
  }

  .item-icon {
    font-size: 2.5em;
    width: 50px;
    margin-right: 15px;
  }

  .item-number {
    width: 38px;
    height: 38px;
    font-size: 1.2em;
  }
}

/* estilos del menu de contenidos */
.menu-pagebreak {
  --menu-bg: #00000008;
  --menu-hover: #00000012;
  --menu-active-bg: #0056b315;
  --menu-border: #e0e0e0;
  --menu-text: #333;
  --menu-active: #0056b3;
  --menu-radius: 8px;
}

.menu-pagebreak {
  background: var(--menu-bg);
  border-radius: var(--menu-radius);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  overflow: hidden;
}

.menu-pagebreak ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-pagebreak .menu-header {
  background: linear-gradient(135deg, #0056b3 0%, #003d80 100%);
  color: #fff;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 15px;
}

.menu-pagebreak li {
  border-bottom: 1px solid var(--menu-border);
}

.menu-pagebreak li:last-child {
  border-bottom: none;
}

.menu-pagebreak a {
  display: block;
  padding: 12px 18px;
  color: var(--menu-text);
  text-decoration: none;
  transition: all 0.25s ease;
}

.menu-pagebreak a:hover {
  background: var(--menu-hover);
  padding-left: 22px;
}

.menu-pagebreak a.active {
  background: var(--menu-active-bg);
  color: var(--menu-active);
  font-weight: 600;
  border-left: 3px solid var(--menu-active);
}

.menu-pagebreak .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--menu-active);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  margin-right: 10px;
}

/* GUIA 2 */
.guia-esg-container {
  --color-primary: #2E7D6D;
  --color-primary-dark: #1A5A4C;
  --color-teal-dark: #2D5A56;
  --color-yellow: #F5A623;
  --color-yellow-light: #FFD54F;
  --color-green-light: #81C784;
  --color-green-pale: #E8F5E9;
  --color-green-bar: #4CAF50;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #FFFFFF;
  --color-gray-light: #F5F5F5;
  --color-cream: #FFF8E1;
  --color-border: #E0E0E0;
  font-family: 'Montserrat', sans-serif;
  color: var(--color-text);
  line-height: 1.7;
  max-width: 960px;
  margin: 0 auto;
}

/* HEADER PRINCIPAL */
.guia-esg-header {
  background: linear-gradient(135deg, #3D4852 0%, #5A6268 100%);
  padding: 60px 40px;
  position: relative;
  border-radius: 12px 12px 0 0;
  text-align: center;
}

.guia-esg-header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 30px;
}

.guia-esg-header-img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* SECCIONES */
.guia-esg-section {
  padding: 40px 30px;
}

.guia-esg-section-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal-dark) 100%);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.guia-esg-section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-white);
  margin: 0;
}

.guia-esg-section-header p {
  color: rgba(255,255,255,0.9);
  margin: 10px 0 0 0;
  font-size: 1.05rem;
}

/* TÍTULOS */
.guia-esg-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 30px 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--color-yellow);
  display: inline-block;
}

.guia-esg-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 25px 0 15px 0;
}

/* ÍNDICE */
.guia-esg-toc {
  background: var(--color-white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.guia-esg-toc-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 25px;
}

.guia-esg-toc-section {
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 15px 0 8px 0;
}

.guia-esg-toc-chapter {
  color: var(--color-primary);
  font-weight: 600;
  margin: 12px 0;
}

.guia-esg-toc ul {
  list-style: none;
  padding-left: 20px;
  margin: 5px 0;
}

.guia-esg-toc ul li {
  padding: 4px 0;
  color: var(--color-text);
  position: relative;
}

.guia-esg-toc ul li::before {
  content: '•';
  color: var(--color-yellow);
  position: absolute;
  left: -15px;
}

/* OBJETIVOS */
.guia-esg-objetivo {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.guia-esg-objetivo-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.guia-esg-objetivo-number {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--color-yellow) 0%, #E89A1D 100%);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.guia-esg-objetivo-text {
  flex: 1;
}

.guia-esg-objetivo-text p {
  margin: 0;
  text-align: justify;
}

/* CAJAS DE CONTENIDO */
.guia-esg-box {
  background: var(--color-white);
  border-radius: 10px;
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  border-left: 5px solid var(--color-primary);
}

.guia-esg-box.yellow {
  background: var(--color-cream);
  border-left-color: var(--color-yellow);
}

.guia-esg-box.green {
  background: var(--color-green-pale);
  border-left-color: var(--color-green-bar);
}

/* PASOS */
.guia-esg-paso {
  margin: 30px 0;
}

.guia-esg-paso-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.guia-esg-paso-number {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal-dark) 100%);
  color: var(--color-white);
  padding: 8px 20px;
  border-radius: 25px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

.guia-esg-paso-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0;
}

.guia-esg-paso-content {
  padding-left: 20px;
  border-left: 3px solid var(--color-green-light);
  margin-left: 10px;
}

/* ACCIONES */
.guia-esg-accion {
  background: var(--color-gray-light);
  padding: 12px 18px;
  border-radius: 8px;
  margin: 10px 0;
}

.guia-esg-accion strong {
  color: var(--color-primary-dark);
}

/* NIVELES DE SERVICIO */
.guia-esg-nivel {
  background: var(--color-white);
  border-radius: 12px;
  padding: 25px;
  margin: 25px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-top: 5px solid var(--color-primary);
}

.guia-esg-nivel.basico { border-top-color: #4CAF50; }
.guia-esg-nivel.estandar { border-top-color: var(--color-yellow); }
.guia-esg-nivel.premium { border-top-color: #7B1FA2; }

.guia-esg-nivel-header { margin-bottom: 15px; }

.guia-esg-nivel-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 5px 0;
}

.guia-esg-nivel-subtitle {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin: 0;
}

.guia-esg-nivel-publico {
  background: var(--color-cream);
  padding: 12px 18px;
  border-radius: 8px;
  margin: 15px 0;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.guia-esg-nivel-servicios {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.guia-esg-nivel-servicios li {
  padding: 8px 0 8px 30px;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.guia-esg-nivel-servicios li:last-child { border-bottom: none; }

.guia-esg-nivel-servicios li::before {
  content: '✓';
  color: var(--color-green-bar);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.guia-esg-nivel-precio {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal-dark) 100%);
  color: var(--color-white);
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 15px;
}

.guia-esg-nivel-precio strong { font-size: 1.2rem; }

/* ETAPAS */
.guia-esg-etapa-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-teal-dark) 100%);
  padding: 25px 30px;
  border-radius: 10px;
  margin: 30px 0 25px 0;
}

.guia-esg-etapa-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-yellow);
  margin: 0 0 5px 0;
}

.guia-esg-etapa-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin: 0;
}

/* LISTA CON BULLETS */
.guia-esg-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.guia-esg-list li {
  padding: 10px 0 10px 30px;
  position: relative;
}

.guia-esg-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 15px;
}

/* GRID DE BENEFICIOS */
.guia-esg-beneficios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 25px 0;
}

.guia-esg-beneficio-card {
  background: var(--color-white);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  border-left: 4px solid var(--color-primary);
}

.guia-esg-beneficio-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* DIAGRAMA ESTRATEGIA */
.guia-esg-estrategia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 25px 0;
}

.guia-esg-estrategia-item {
  background: var(--color-white);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  border-top: 4px solid var(--color-yellow);
}

.guia-esg-estrategia-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.guia-esg-estrategia-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text);
}

/* FODA */
.guia-esg-foda {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 25px 0;
}

.guia-esg-foda-item {
  text-align: center;
  padding: 20px 15px;
  border-radius: 10px;
  color: var(--color-white);
}

.guia-esg-foda-item.f { background: linear-gradient(135deg, #F5A623 0%, #E89A1D 100%); }
.guia-esg-foda-item.o { background: linear-gradient(135deg, #4FC3F7 0%, #29B6F6 100%); }
.guia-esg-foda-item.d { background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%); }
.guia-esg-foda-item.a { background: linear-gradient(135deg, #66BB6A 0%, #43A047 100%); }

.guia-esg-foda-item span {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 5px;
}

.guia-esg-foda-item p {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ESTÁNDARES */
.guia-esg-estandares-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 25px 0;
}

.guia-esg-estandar-card {
  background: var(--color-white);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.guia-esg-estandar-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

.guia-esg-estandar-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 10px 0;
}

.guia-esg-estandar-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-text-light);
}

/* IMAGEN CENTRADA */
.guia-esg-img-center {
  text-align: center;
  margin: 30px 0;
}

.guia-esg-img-center img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* REFERENCIA A PLANTILLA */
.guia-esg-ver-plantilla {
  background: linear-gradient(135deg, var(--color-green-pale) 0%, var(--color-white) 100%);
  border: 1px solid var(--color-green-light);
  border-radius: 8px;
  padding: 15px 20px;
  margin: 15px 0;
  font-style: italic;
  color: var(--color-primary-dark);
}

.guia-esg-ver-plantilla::before {
  content: '>';
  margin-right: 8px;
  font-weight: bold;
}

/* FUENTE */
.guia-esg-fuente {
  background: var(--color-gray-light);
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  border-left: 3px solid var(--color-primary);
}

/* RESUMEN FINAL */
.guia-esg-resumen {
  background: var(--color-white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.guia-esg-resumen p {
  margin: 15px 0;
  text-align: justify;
}

/* BARRA VERDE INFERIOR */
.guia-esg-green-bar {
  background: var(--color-green-bar);
  height: 8px;
  border-radius: 0 0 12px 12px;
  margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .guia-esg-header h1 { font-size: 1.8rem; }
  .guia-esg-section { padding: 30px 20px; }

  .guia-esg-objetivo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .guia-esg-beneficios-grid,
  .guia-esg-estrategia-grid,
  .guia-esg-estandares-grid {
    grid-template-columns: 1fr;
  }

  .guia-esg-foda {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================================
   ESG Honduras – user.css
   Sistema de diseño basado en documentos COHEP / OIT / ACT-EMP
   ============================================================= */

/* ── PALETA ─────────────────────────────────────────────────── */
:root {
  --esg-verde:      #3DB39E;   /* verde menta – encabezados, bordes */
  --esg-verde-osc:  #2C7F72;   /* verde oscuro – badges, intro-box  */
  --esg-amarillo:   #E8B62C;   /* amarillo/oro – barra portada, badges S */
  --esg-gris:       #58595B;   /* gris cuerpo – TODO el texto        */
  --esg-fondo:      #F7F7F7;   /* fondo página                       */
  --esg-crema:      #F5F0E8;   /* fondo cajas informativas           */
  --esg-blanco:     #FFFFFF;
  --esg-borde:      #D9D9D9;
}

/* ── BASE ────────────────────────────────────────────────────── */
.esg-seccion,
.esg-portada,
.esg-modulo-banner,
.esg-intro-box,
.esg-caja-info,
.esg-card,
.esg-tabla-wrap {
  color: var(--esg-gris);
  font-family: 'Muli', 'Open Sans', Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── PORTADA ─────────────────────────────────────────────────── */
.esg-portada {
  position: relative;
  margin-bottom: 2rem;
}

.esg-portada-foto {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.esg-portada-contenido {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 0;
}

.esg-portada-barra {
  display: inline-block;
  width: 6px;
  min-height: 80px;
  background-color: var(--esg-amarillo);
  border-radius: 3px;
  flex-shrink: 0;
}

.esg-portada-titulo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--esg-verde-osc);
  line-height: 1.2;
  margin: 0;
}

.esg-logos-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--esg-borde);
}

/* ── BANNER DE MÓDULO ────────────────────────────────────────── */
.esg-modulo-banner {
  background-color: var(--esg-verde-osc);
  color: var(--esg-blanco) !important;
  padding: 2rem 2.5rem;
  border-radius: 6px;
  margin: 2rem 0 1.5rem;
}

.esg-modulo-etiqueta {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--esg-amarillo);
  margin: 0 0 0.4rem;
}

.esg-modulo-titulo {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--esg-blanco) !important;
  margin: 0;
}

/* ── TÍTULO DE PÁGINA CON BARRA ──────────────────────────────── */
.esg-titulo-pagina {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.esg-barra-lateral {
  display: inline-block;
  width: 5px;
  min-height: 50px;
  background-color: var(--esg-verde);
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 4px;
}

.esg-titulo-pagina h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--esg-verde-osc) !important;
  margin: 0;
  line-height: 1.3;
}

/* ── LETRAS ESG COLOREADAS ────────────────────────────────────── */
.esg-letra-esg {
  font-size: 1.6rem;
  font-weight: 900;
}
.esg-verde  { color: var(--esg-verde); }
.esg-amarillo { color: var(--esg-amarillo); }

/* ── BADGE LETRA (E / S / G) ─────────────────────────────────── */
.esg-badge-letra {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--esg-verde);
  color: var(--esg-blanco);
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.esg-badge-s  { background-color: var(--esg-amarillo); color: var(--esg-verde-osc); }
.esg-badge-g  { background-color: var(--esg-verde-osc); }

/* ── CAJA INTRO (FONDO TEAL OSCURO) ─────────────────────────── */
.esg-intro-box {
  background-color: var(--esg-verde-osc);
  color: var(--esg-blanco) !important;
  padding: 1.25rem 1.5rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.esg-intro-box p,
.esg-intro-box li {
  color: var(--esg-blanco) !important;
}

/* ── CAJA INFORMATIVA (FONDO CREMA) ──────────────────────────── */
.esg-caja-info {
  background-color: var(--esg-crema);
  border-left: 4px solid var(--esg-verde);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 1rem;
}

/* ── ETIQUETA DE SECCIÓN ──────────────────────────────────────── */
.esg-etiqueta-seccion {
  display: inline-block;
  background-color: var(--esg-verde-osc);
  color: var(--esg-blanco);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.35rem 1rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

/* ── SECCIÓN GENÉRICA ────────────────────────────────────────── */
.esg-seccion {
  margin: 1.5rem 0 2.5rem;
  padding: 0;
}

/* ── COLUMNAS 2 ──────────────────────────────────────────────── */
.esg-columnas-2 {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.esg-col {
  flex: 1;
  min-width: 260px;
}

/* ── IMAGEN BLOQUE ────────────────────────────────────────────── */
.esg-img-bloque {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

/* ── GRID DE CARDS ────────────────────────────────────────────── */
.esg-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.esg-card {
  background-color: var(--esg-blanco);
  border: 1px solid var(--esg-borde);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.esg-card-titulo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--esg-verde) !important;
  border-bottom: 2px solid var(--esg-verde);
  padding-bottom: 0.5rem;
  margin: 0 0 0.85rem;
}

.esg-card-item {
  margin-bottom: 0.75rem;
}

.esg-card-item p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
}

/* ── LISTAS ──────────────────────────────────────────────────── */
.esg-lista {
  padding-left: 1.1rem;
  margin: 0.5rem 0;
}

.esg-lista li {
  margin-bottom: 0.5rem;
  color: var(--esg-gris);
}

.esg-lista-numerada {
  padding-left: 1.3rem;
  margin: 0.5rem 0;
}

.esg-lista-numerada li {
  margin-bottom: 0.5rem;
  color: var(--esg-gris);
}

.esg-lista-iconos {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}

.esg-lista-iconos li {
  padding: 0.35rem 0 0.35rem 1.4rem;
  position: relative;
  border-bottom: 1px solid var(--esg-borde);
  color: var(--esg-gris);
  font-size: 0.9rem;
}

.esg-lista-iconos li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--esg-verde);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* ── TABLA ────────────────────────────────────────────────────── */
.esg-tabla-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

.esg-tabla {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.9rem;
}

.esg-tabla thead tr {
  background-color: var(--esg-verde-osc);
  color: var(--esg-blanco);
}

.esg-tabla thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--esg-blanco) !important;
}

.esg-tabla tbody tr:nth-child(odd) {
  background-color: var(--esg-blanco);
}

.esg-tabla tbody tr:nth-child(even) {
  background-color: #EEF9F6;
}

.esg-tabla tbody td {
  padding: 0.65rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--esg-borde);
  color: var(--esg-gris);
}

.esg-tabla tbody td:first-child {
  font-weight: 600;
  color: var(--esg-verde-osc) !important;
  text-align: center;
}

/* ── BADGE NUMERADO (1, 2, 3…) ───────────────────────────────── */
.esg-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--esg-amarillo);
  color: var(--esg-verde-osc);
  font-weight: 900;
  font-size: 1rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* ── FILA PASO ────────────────────────────────────────────────── */
.esg-paso {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.esg-paso-contenido h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--esg-verde) !important;
  margin: 0 0 0.4rem;
}

.esg-paso-contenido p,
.esg-paso-contenido ul {
  margin: 0;
  font-size: 0.9rem;
  color: var(--esg-gris);
}

/* ── BLOQUE EJERCICIO ────────────────────────────────────────── */
.esg-ejercicio {
  background-color: var(--esg-crema);
  border: 2px dashed var(--esg-verde);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.esg-ejercicio h3 {
  color: var(--esg-verde-osc) !important;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

/* ── REFERENCIA DE VIDEO ──────────────────────────────────────── */
.esg-video-ref {
  background-color: #EEF9F6;
  border-left: 4px solid var(--esg-verde);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  margin-top: 1.5rem;
  font-size: 0.88rem;
}

.esg-nota-video {
  font-style: italic;
  color: #888;
  margin: 0.5rem 0 0;
}

/* ── CITA / FUENTE ────────────────────────────────────────────── */
.esg-fuente {
  font-size: 0.78rem;
  font-style: italic;
  color: #888;
  margin-top: 2rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--esg-borde);
}

/* ── MARK IMAGEN ──────────────────────────────────────────────── */
.esg-img-mark {
  display: block;
  background-color: #EEF9F6;
  border: 2px dashed var(--esg-verde);
  border-radius: 6px;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--esg-verde-osc);
  font-style: italic;
  font-size: 0.88rem;
  margin: 0.75rem 0;
}

/* ── SEPARADOR VISUAL ─────────────────────────────────────────── */
.esg-separador {
  border: none;
  border-top: 2px solid var(--esg-verde);
  opacity: 0.3;
  margin: 2rem 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .esg-columnas-2 {
    flex-direction: column;
  }
  .esg-cards-grid {
    grid-template-columns: 1fr;
  }
  .esg-portada-titulo {
    font-size: 1.4rem;
  }
  .esg-modulo-titulo {
    font-size: 1.3rem;
  }
}


<!-- ============================================================
     ESTILOS ADICIONALES PARA CASOS DE ESTUDIO
     (agregar al user.css)
     ============================================================

.esg-caso-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--esg-verde);
}

.esg-caso-numero {
  font-size: 3rem;
  font-weight: 900;
  color: var(--esg-verde);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
}

.esg-caso-titulo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--esg-verde-osc) !important;
  margin: 0 0 0.2rem;
}

.esg-caso-subtitulo {
  font-size: 0.9rem;
  color: var(--esg-gris);
  margin: 0;
}

.esg-card-beneficio {
  border-top: 4px solid var(--esg-verde);
}