/* Template Empresa Institucional */

/* Header */
.header {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: #1d4ed8;
}

/* Banner Superior */
.banner {
  height: 120px;
  background: linear-gradient(135deg, #1e3a5f 0%, #0d1b2a 100%);
}

/* Sections */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 2rem;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

/* Cards */
.card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.card-centered {
  max-width: 700px;
  margin: 0 auto;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.card-text {
  color: #4b5563;
  line-height: 1.6;
}

.card-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1.5rem 0;
}

.card-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.value {
  color: #111827;
  font-weight: 500;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: #4b5563;
}

.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1d4ed8;
}

.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Contact */
.contact-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-block {
  text-align: center;
}

.contact-block .label {
  margin-bottom: 0.5rem;
}

.link {
  color: #2563eb;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #1f2937;
  color: #d1d5db;
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-name {
  font-weight: 700;
  color: white;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.footer-title {
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
}

.footer-text {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-desc {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-style: italic;
}

.footer-link {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
}

.footer-link:hover {
  color: #60a5fa;
}

.footer-links {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  text-align: center;
}

.footer-legal {
  color: #60a5fa;
  text-decoration: none;
  font-size: 0.875rem;
  margin: 0 0.75rem;
}

.footer-legal:hover {
  text-decoration: underline;
}

.footer-copyright {
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #374151;
}

/* Responsive */
@media (max-width: 640px) {
  .nav {
    width: 100%;
    justify-content: center;
  }
  .card-footer-grid {
    grid-template-columns: 1fr;
  }
}
