/* CSS Document */

.titulo-h1-contenido {
  font-family: var(--fuente);
  color: var(--terciario);
  font-weight: 800;
  font-size: 32px;
}

.subtitulo-h2-contenido {
  color: var(--primario);
  font-family: var(--fuente);
  font-weight: 800;
  font-size: 25px;
  word-wrap: break-word; /* Permite que las palabras largas se rompan */
  overflow-wrap: break-word; /* Hace lo mismo, pero es más moderno */
  white-space: normal; /* Asegura que el texto no se mantenga en una sola línea */
  margin: 0;
}

.subtitulo-h3-contenido {
  color: var(--parrafo);
  font-family: var(--fuente);
  font-weight: 500;
  word-wrap: break-word; /* Permite que las palabras largas se rompan */
  overflow-wrap: break-word; /* Hace lo mismo, pero es más moderno */
  white-space: normal; /* Asegura que el texto no se mantenga en una sola línea */
  font-size: 18px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-content: stretch;
  align-items: stretch;
  width: 100%;
  text-align: center;
  margin: 0px auto 20px auto;
  padding-top: 10px;
  border-bottom: 1px solid #d5d4d3;
}
.cke_editable {
  margin: 10px 20px;
}
.cuerpo_contenido p,
.cke_editable p,
.cke_editable,
.cuerpo_contenido {
  color: var(--parrafo);
  font-weight: 500;
  font-size: 19px;
  font-family: var(--fuente);
  word-wrap: break-word; /* Permite que las palabras largas se rompan */
  overflow-wrap: break-word; /* Hace lo mismo, pero es más moderno */
  white-space: normal; /* Asegura que el texto no se mantenga en una sola línea */
}
.cuerpo_contenido,
.cke_editable {
  color: var(--parrafo);
}
li.cuerpo_contenido {
font-size: 1.5rem;
}
.contenedor_detalle p ul .cuerpo_contenido p,
.cke_editable p,
.cke_editable,
.cuerpo_contenido {
  color: var(--parrafo);
  font-weight: 500;
  font-size: 19px;
  font-family: var(--fuente);
  word-wrap: break-word; /* Permite que las palabras largas se rompan */
  overflow-wrap: break-word; /* Hace lo mismo, pero es más moderno */
  white-space: normal; /* Asegura que el texto no se mantenga en una sola línea */
}
.cuerpo_contenido,
.cke_editable {
  color: var(--parrafo);
} {
  color: var(--parrafo);
  font-weight: 500;
  font-size: 19px;
  font-family: var(--fuente);
}

.contenedor_detalle p a {
  color: var(--primario);
  text-decoration: underline;
}
.contenedor_detalle p a:hover,
.contenedor_detalle p a:link {
  color: var(--primario);
  text-decoration: underline;
  font-weight: 600;
}

.contenedor_detalle p img {
  display: block;
  margin: 15rem auto;
}

li.contenedor_detalle{
font-size: 1.5rem;

}

.modulo-plantilla-1 {
  background: var(--blanco);
  font-size: 16px;
  margin-bottom: 30px;
  border: var(--grisclaro) solid 0.1rem;
  border-radius: 0.5rem;
  padding: 25px 35px;
  -webkit-box-shadow: 0rem 0.2rem 2rem 0.2rem rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0rem 0.2rem 2rem 0.2rem rgba(0, 0, 0, 0.1);
  box-shadow: 0rem 0.2rem 2rem 0.2rem rgba(0, 0, 0, 0.1);
}
.modulo-plantilla-1 .nombre_principal {
  font-size: 25px;
  display: flex;
  font-weight: 800;
  color: var(--primario);
  align-items: center;
  justify-content: space-between;
}
.modulo-plantilla-1 .nombre_principal p {
  font-size: 15px;
  color: var(--negro);
  text-transform: uppercase;
  font-weight: 600;
}
.modulo-plantilla-1 .nombre_principal .boton_mas_servicios {
  font-size: 14px;
  padding: 5px 15px;
}

.boton_mas_servicios {
  background: transparent;
  border: 0.2rem solid var(--primario);
  padding: 0.8rem 2rem;
  color: var(--primario);
  font-weight: 600;
  display: inline-block;
  border-radius: 0.5rem;
  margin: 1rem 0;
  transition: all 0.5s ease-in-out;
}
.boton_mas_servicios:hover,
.boton_mas_servicios:focus,
.boton_mas_servicios:active {
  background: var(--primario);
  color: var(--blanco);
  transition: all 0.5s ease-in-out;
}
.boton_mas_servicios a {
  color: var(--primario);
}

@media (max-width: 992px) {
  .subtitulo_seccion .seccion {
    font-size: 1.8rem;
    text-align: center;
    line-height: 2.2rem;
  }
  .modulo-plantilla-1 .nombre_principal {
    font-size: 2rem;
    flex-direction: column;
    text-align: center;
  }
  .contenedor_detalle_plantilla {
    padding-left: 0;
  }
}

/*Reseña historica*/
.timeline-container:hover .content h2{
  color: var(--primario);
}
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px 0;
}
/* Línea central */
.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: var(--primario);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}
.timeline-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}
.timeline-container {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}
.timeline-container::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 4px solid var(--primario);
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}
.left {
  left: 0;
}
.right {
  left: 50%;
}
.left::after {
  right: -10px;
}
.right::after {
  left: -10px;
}
.content-timeline {
  padding: 20px;
  background-color: var(--blanco);
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 20px;
  }
  .timeline-container {
    width: 100%;
    padding-left: 50px;
    padding-right: 25px;
  }
  .timeline-container::after {
    left: 15px;
  }
  .left,
  .right {
    left: 0;
  }
}
@media (max-width: 768px) {
  .timeline::before {
    content-timeline: none !important;
    display: none !important;
  }
}
@media screen and (max-width: 768px) {
  .timeline-container {
    width: 100%;
    margin-left: 0;
  }
  .timeline-container::before {
    left: 15px;
    /* Ajusta la línea azul */
  }
  .timeline-container.left::after,
  .timeline-container.right::after {
    left: 10px;
  }
}
.content-timeline:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
}

.cke_combo_text {
  font-size: 12px !important;
  padding: 4px 8px;
}

.cke_combo_open {
  font-size: 12px !important;
  padding: 4px 8px;
}

.cke_combo_button {
  min-width: 100px; /* Ajusta el ancho del botón */
}

.cke_combo__styles .cke_combo_text {
  white-space: nowrap; /* Evitar salto de línea */
}

.cke_iframe {
  border: none;
  width: 100%;
  height: 300px;
}

.cuerpo_contenido img,
.contenedor_detalle img,
.cke_editable img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.cuerpo_contenido iframe,
.contenedor_detalle iframe,
.cke_editable iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  display: block;
}

.contenedor-botones {
  display: flex;
  min-width: 500px;
  gap: 5px;
  justify-content: center;
  align-items: center;
}
.icono-red-social {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain;
}
.areas-vinculadas {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--grisclaro);
}

.areas-vinculadas h4 {
  font-size: 16px;
  color: var(--primario);
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.areas-vinculadas ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.areas-vinculadas li {
  padding: 5px 0;
  color: var(--negro);
  font-size: 15px;
  position: relative;
  padding-left: 20px;
}

.areas-vinculadas li::before {
  content: "•";
  color: var(--primario);
  font-size: 18px;
  position: absolute;
  left: 0;
  top: 2px;
}


/*Telefonos utiles*/

/* Estilos para el bloque de Teléfonos Útiles */
.telefonos-utiles-section {
  background: linear-gradient(135deg, var(--gris) 0%, var(--blanco) 100%);
  border-top: 4px solid var(--primario);
}

.telefonos-utiles-card {
  background: var(--blanco);
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 106, 182, 0.1);
  border: 1px solid var(--grisclaro);
  position: relative;
  overflow: hidden;
}

.telefonos-utiles-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primario) 0%, var(--secundario) 50%, var(--terciario) 100%);
}

.phone-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primario) 0%, var(--secundario) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 25px rgba(0, 106, 182, 0.3);
}

.phone-icon i {
  font-size: 2.5rem;
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.section-title {
  font-family: var(--fuente);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--primario);
  margin-bottom: 0;
  letter-spacing: 1px;
}

.phone-item {
  background: var(--blanco);
  border: 2px solid var(--grisclaro);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.phone-item:hover {
  border-color: var(--primario);
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 106, 182, 0.15);
}

.phone-category {
  font-family: var(--fuente);
  font-weight: 600;
  color: var(--primario);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--grisclaro);
  padding-bottom: 0.5rem;
  transition: font-size 0.3s ease, transform 0.3s ease;
}



.phone-item > .phone-number {
  font-family: var(--fuente);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--negro);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.phone-number a {
  color: var(--negro);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.phone-number a:hover {
  color: var(--primario);
  transform: scale(1.05);
  text-decoration: none;
}

.phone-number a:active {
  transform: scale(0.98);
}

/* Estilos para botones de agendar contacto */
.contact-actions {
  text-align: center;
  padding-top: 0.75rem;
}

.btn-add-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--secundario) 0%, var(--terciario) 100%);
  color: var(--blanco);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-family: var(--fuente);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 173, 238, 0.3);
  border: none;
  cursor: pointer;
}

.btn-add-contact:hover {
  background: linear-gradient(135deg, var(--primario) 0%, var(--secundario) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 106, 182, 0.4);
  color: var(--blanco);
  text-decoration: none;
}

.btn-add-contact:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 106, 182, 0.3);
}

.btn-add-contact i {
  font-size: 1rem;
}

.phone-details {
  font-family: var(--fuente);
  font-size: 1.6rem;
  color: var(--parrafo);
  line-height: 1.4;
}

.detail-item {
  display: inline-block;
}

.detail-separator {
  margin: 0 0.5rem;
  color: var(--grisoscuro);
  font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .telefonos-utiles-card {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .phone-icon {
    width: 60px;
    height: 60px;
  }
  
  .phone-icon i {
    font-size: 1.5rem;
  }
  
  .phone-number {
    font-size: 1.2rem;
  }
  
  .detail-separator {
    display: none;
  }
  
  .detail-item {
    display: block;
    margin-bottom: 0.25rem;
  }
}

/* Estilos para los nuevos tipos de contacto */
.contact-types {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 1rem;
}

.contact-type {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  border-radius: 25px;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  width: 100%;
  text-decoration: none;
  color: var(--blanco);
  transition: all 0.3s ease;
  border-radius: 25px;
}

.contact-type.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #20B358 100%);
  border: none;
}

.contact-type.phone {
  background: linear-gradient(135deg, #00AEEF 0%, var(--primario) 100%);
  border: none;
}

/* Animaciones removidas para el nuevo diseño */

.contact-link:hover {
  text-decoration: none;
  color: var(--blanco);
}

.contact-type.whatsapp:hover {
  background: linear-gradient(135deg, #20B358 0%, #1A9B4A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.contact-type.phone:hover {
  background: linear-gradient(135deg, var(--primario) 0%, #005A9E 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 174, 239, 0.3);
}

.contact-type:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 2rem;
  color: var(--blanco);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.contact-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-type .phone-number {
  margin-bottom: 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.contact-type .phone-number {
  color: var(--blanco);
  font-weight: 800;
  font-size: 1.6rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-label {
  font-family: var(--fuente);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments para los nuevos estilos */
@media (max-width: 768px) {
  .contact-types {
    gap: 0.75rem;
  }
  
  .contact-link {
    padding: 0.6rem 1rem;
    gap: 0.5rem;
  }
  
  .contact-icon {
    width: 20px;
    height: 20px;
  }
  
  .contact-icon i {
    font-size: 1rem;
  }
  
  .contact-type .phone-number {
    font-size: 1rem;
  }
  
  .contact-label {
    font-size: 0.7rem;
  }
  
  .contact-type {
    border-radius: 20px;
  }
  
  .contact-link {
    border-radius: 20px;
  }
}

/* Estilos para la nueva estructura de tabla de contactos */
.help-title {
  font-family: var(--fuente);
  font-weight: 700;
  color: var(--negro);
  margin-bottom: 0.5rem;
}

.help-subtitle {
  font-family: var(--fuente);
  font-size: 1.6rem;
  color: var(--parrafo);
  margin-bottom: 0;
}

.contacts-table {
  background: var(--blanco);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s ease;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row:hover {
  background: rgba(0, 106, 182, 0.02);
}

.department-info {
  flex: 1;
  padding-right: 2rem;
}

.department-name {
  font-family: var(--fuente);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--negro);
  margin: 0;
  line-height: 1.3;
}

.contact-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  text-decoration: none;
  font-family: var(--fuente);
  font-weight: 600;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.phone-btn {
  background: var(--blanco);
  color: var(--negro);
  border: 2px solid var(--grisclaro);
}

.phone-btn:hover {
  background: var(--primario);
  color: var(--blanco);
  border-color: var(--primario);
}

.whatsapp-btn {
  background: #25D366;
  color: var(--blanco);
  border: 2px solid #25D366;
}

.whatsapp-btn:hover {
  background: #20B358;
  color: var(--blanco);
  border-color: #20B358;
}

.whatsapp-btn i {
  font-size: 1.1rem;
}

/* Responsive para la nueva estructura */
@media (max-width: 768px) {
  .contact-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
  }
  
  .department-info {
    padding-right: 0;
    width: 100%;
  }
  
  .department-name {
    font-size: 1.5rem;
  }
  
  .contact-buttons {
    width: 100%;
    justify-content: flex-start;
    gap: 0.5rem;
  }
  
  .contact-btn {
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    flex: 1;
    justify-content: center;
    min-width: auto;
  }
  
  .help-title {
    font-size: 1.8rem;
  }
  
  .help-subtitle {
    font-size: 1.3rem;
  }
  
  .contacts-table {
    margin: 0 1rem;
  }
}


/*Fin telefonos utilies*/
.contact-icon img.icon-svg {
  width: 1.5em;
  height: 1.5em;
  display: block;
}


.boton_mas_servicios a {
    color: var(--primario);
    text-decoration: none;
}

.boton_mas_servicios:hover a {
    color: var(--blanco); /* 👈 ESTE ES EL CAMBIO CLAVE */
}
