body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #1e1e1e;
  line-height: 1.6;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #133352; /* Azul institucional */
}

.logo {
  height: 60px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #E24415; /* Naranja institucional al hacer hover */
}

.service-card {
  background: #fefefe;
  padding: 1.5rem;
  border-left: 5px solid #133352; /* Azul institucional */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card h3 {
  cursor: pointer;
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: #133352; /* Azul institucional */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.accordion p {
  margin-bottom: 1rem;
}

.arrow {
  font-size: 1rem;
  transform: rotate(0deg);
  transition: transform 0.2s ease-in-out;
}

.service-card.open .arrow {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  background: linear-gradient(135deg, #133352, #E24415); /* Degradado azul-naranja institucional */
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}

.btn {
  background: #E24415; /* Naranja institucional */
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #c53a12; /* Naranja más oscuro para hover */
}

.section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: auto;
}

.section h2 {
  color: #133352; /* Azul institucional */
  margin-bottom: 1.5rem;
  position: relative;
}

.section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #E24415; /* Naranja institucional */
  margin-top: 0.5rem;
}

.dark {
  background-color: #f5f5f5;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.card {
  flex: 1 1 300px;
  background: #fefefe;
  padding: 1.5rem;
  border-left: 5px solid #E24415; /* Naranja institucional */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.75rem;
}

.contact-list a {
  color: #133352; /* Azul institucional */
  text-decoration: none;
  transition: color 0.3s;
}

.contact-list a:hover {
  color: #E24415; /* Naranja institucional */
}

footer {
  background-color: #133352; /* Azul institucional */
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #E24415; /* Naranja institucional */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin-top: 2rem;
}

.contact-form label {
  font-weight: bold;
  color: #133352; /* Azul institucional */
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  background-color: #E24415; /* Naranja institucional */
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #c53a12; /* Naranja más oscuro */
}

/* Modal: Fondo */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

/* Modal: Contenido */
.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
  position: relative;
}

/* Botón de cerrar */
.close {
  color: #888;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #E24415; /* Naranja institucional */
}