/* Política Ambiental Styles */
:root {
  --primary-red: #e62d36;
  --primary-blue: #00549d;
  --text-dark: #333;
  --text-light: #fff;
  --border-color: #ddd;
  --bg-light: #f8f8f8;
  --container-max-width: 1400px;
  --footer-bg: #0b1c2b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hero Section */
.gobernanza-hero {
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-red) 100%);
  color: var(--text-light);
  padding: 80px 20px 60px 20px;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-container {
  text-align: center;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

/* Código flotante */
.policy-code {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
  transition: all 0.3s ease;
  display: inline-block;
  margin-bottom: -10px;
}

.policy-code:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Animación flotante suave */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.hero-label {
  display: none;
}

.hero-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 auto;
  max-width: 900px;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  color: var(--text-light);
  text-align: center;
}

/* Sections - Contenido principal */
.content-section {
  padding: 40px 40px 60px 40px;
  text-align: center;
  margin-top: 0;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

/* Sección específica para compromisos con más padding superior */
.content-section.compromisos-section {
  padding-top: 50px;
}

/* Primer párrafo con tamaño aumentado */
.content-section p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 50px;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  padding: 0;
  margin-top: 0;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
  border-radius: 2px;
}

/* Lista mejorada con espaciado y diseño moderno */
ul.policies-items {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}

ul.policies-items li {
  position: relative;
  padding: 25px 25px 25px 60px;
  margin-bottom: 20px;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-dark);
  background: #ffffff;
  border-left: 4px solid var(--primary-blue);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

ul.policies-items li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary-red);
}

ul.policies-items li::before {
  content: '✓';
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

/* Tablas */
table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
}

table th, table td {
  padding: 10px;
  text-align: left;
  border: 1px solid var(--border-color);
}

table th {
  background-color: var(--primary-blue);
  color: var(--text-light);
}

table tr:nth-child(even) {
  background-color: #f2f2f2;
}

table tr:hover {
  background-color: var(--primary-red);
  color: var(--text-light);
}

/* Body */
body {
  margin: 0;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
}

/* Header y Footer (sin márgenes) */
header, footer {
  margin: 0;
  padding: 0;
  width: 100%;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .policy-code {
    font-size: 0.7rem;
    padding: 6px 15px;
    margin-bottom: -5px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-container {
    gap: 18px;
  }

  .gobernanza-hero {
    padding: 60px 20px 50px 20px;
  }

  ul.policies-items li {
    padding: 20px 20px 20px 55px;
    font-size: 1rem;
  }

  .content-section {
    padding: 30px 20px 40px 20px;
  }

  .content-section.compromisos-section {
    padding-top: 35px;
  }

  /* Sección de descarga PDF */
.pdf-download-section {
  padding: 60px 40px;
  background: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.pdf-download-card {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border: 2px solid #e8e8e8;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.pdf-download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-blue);
}

.pdf-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 15px rgba(230, 45, 54, 0.3);
}

.pdf-content {
  flex: 1;
  text-align: left;
}

.pdf-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0 0 8px 0;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
}

.pdf-content p {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

.pdf-download-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
  padding: 14px 28px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 93, 157, 0.3);
}

.pdf-download-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 93, 157, 0.4);
  color: white;
}

.pdf-download-btn svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .pdf-download-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 20px;
  }

  .pdf-icon {
    width: 70px;
    height: 70px;
  }

  .pdf-content {
    text-align: center;
  }

  .pdf-content h3 {
    font-size: 1.25rem;
  }

  .pdf-content p {
    font-size: 0.9rem;
  }

  .pdf-download-btn {
    width: 100%;
    justify-content: center;
  }

  .pdf-download-section {
    padding: 40px 20px;
  }
}

}
